2 # pppd makefile for AIX 4.1
3 # $Id: Makefile.aix4,v 1.5 2002/05/21 17:26:48 dfs Exp $
12 PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c ccp.c \
13 ecp.c auth.c options.c demand.c utils.c sys-aix4.c \
14 gencode.c grammar.c scanner.c nametoaddr.c optimize.c
16 PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
17 ecp.o auth.o options.o demand.o utils.o sys-aix4.o \
18 gencode.o grammar.o scanner.o nametoaddr.o optimize.o
21 DEBUG_FLAGS = -DDEBUGALL
22 # SECURE_FLAGS = -DREQ_SYSOPTIONS=1
23 COMPILE_FLAGS = -DSTREAMS
25 LIBS= -bI:/lib/pse.exp
26 LOCK_PREFIX=\"/var/locks/LCK..\"
28 CFLAGS = -I ../include $(COPTS) $(DEBUG_FLAGS) $(COMPILE_FLAGS) $(SECURE_FLAGS)
33 $(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
36 install -M 4555 -O root -G system -f $(BINDIR) pppd
37 install -M 555 -O root -f $(MANDIR)/man8 pppd.8
40 $(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
43 rm -f $(PPPDOBJS) pppd *~ #* core
46 cpp -M $(CFLAGS) $(PPPDSRCS) >.depend
47 # makedepend $(CFLAGS) $(PPPDSRCS)