summaryrefslogtreecommitdiff
path: root/xc/config/pswrap/Imakefile
blob: 8e997ab16275a1961d968e2660c4fefe2870b044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
XCOMM $XFree86: xc/config/pswrap/Imakefile,v 1.7 2001/03/01 01:23:55 dawes Exp $

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

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

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

LexFile(lexer)

YaccFile(pswparser,$(YFLAGS))

#ifdef OS2Architecture
all::
	$(CP) ProgramTargetName(pswrap) /
#endif