Imakefile   [plain text]


XCOMM $XFree86: xc/config/pswrap/Imakefile,v 1.9 2003/10/21 17:41:44 tsi Exp $

     FRIENDSDEF = -DFRIENDSFILE='"<DPS/dpsfriends.h>"'
        DEFINES = -DXENVIRONMENT
        DEPLIBS =
         YFLAGS = -d
EXTRA_LIBRARIES = LexLib

SRCS = main.c pswdict.c pswfile.c \
	systemnames.c psw.c pswstring.c pswsemantics.c

OBJS = main.o pswparser.o lexer.o pswdict.o pswfile.o \
	systemnames.o psw.o pswstring.o pswsemantics.o

#if CrossCompiling
ComplexHostProgramTarget(pswrap)
#else
ComplexProgramTarget(pswrap)
#endif

pswraponly:: $(PROGRAM)

SpecialObjectRule(pswfile.o,pswfile.c,$(FRIENDSDEF))

LexFile(lexer)

YaccFile(pswparser,$(YFLAGS))