NetBSD/x11/tools/pswrap/Makefile

28 lines
621 B
Makefile

# $NetBSD: Makefile,v 1.5 2003/09/30 06:41:31 lukem Exp $
NOMAN= 1
.include <bsd.own.mk>
HOSTPROG= pswrap
.PATH: ${X11SRCDIR.xc}/config/${HOSTPROG}
SRCS= main.c pswparser.y lexer.l pswdict.c pswfile.c \
systemnames.c psw.c pswstring.c pswsemantics.c
HOST_CPPFLAGS+= -DXENVIRONMENT -DFRIENDSFILE='"<DPS/dpsfriends.h>"' -I.
HOST_CPPFLAGS+= -I${X11SRCDIR.xc}/config/${HOSTPROG}
YHEADER= 1
pswpriv.h: pswparser.h
# Can't use -I${DESTDIR}${X11INCDIR} since pswrap is needed
# to create some header files.
#
BUILDSYMLINKS= ${X11SRCDIR.xc}/include X11
DPSRCS+= X11
.include <bsd.x11.mk>
.include <bsd.hostprog.mk>