2 # pppd makefile for AIX 4.1
3 # $Id: Makefile.aix4,v 1.4 1999/04/12 06:24:44 paulus Exp $
12 PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c ccp.c \
13 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 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)