2 # pppd makefile for AIX 4.1
3 # $Id: Makefile.aix4,v 1.6 2002/11/02 19:48:12 carlsonj 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 eap.c tty.c
15 PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
16 ecp.o auth.o options.o demand.o utils.o sys-aix4.o eap.o tty.o
18 # xxx what are these? They're not here.
19 # gencode.c grammar.c scanner.c nametoaddr.c optimize.c
20 # gencode.o grammar.o scanner.o nametoaddr.o optimize.o
23 DEBUG_FLAGS = -DDEBUGALL
24 # SECURE_FLAGS = -DREQ_SYSOPTIONS=1
25 COMPILE_FLAGS = -DSTREAMS
27 LIBS= -bI:/lib/pse.exp
28 LOCK_PREFIX=\"/var/locks/LCK..\"
30 CFLAGS = -I ../include $(COPTS) $(DEBUG_FLAGS) $(COMPILE_FLAGS) $(SECURE_FLAGS)
35 $(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
38 install -M 4555 -O root -G system -f $(BINDIR) pppd
39 install -M 555 -O root -f $(MANDIR)/man8 pppd.8
42 $(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
45 rm -f $(PPPDOBJS) pppd *~ #* core
48 cpp -M $(CFLAGS) $(PPPDSRCS) >.depend
49 # makedepend $(CFLAGS) $(PPPDSRCS)