2 # pppd makefile for Ultrix
3 # $Id: Makefile.ultrix,v 1.13 2002/11/02 19:48:12 carlsonj Exp $
6 BINDIR = /usr/local/etc
7 MANDIR = /usr/local/man
9 PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c ccp.c ecp.c \
10 auth.c options.c demand.c utils.c sys-ultrix.c eap.c tty.c
12 PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o ecp.o \
13 auth.o options.o demand.o utils.o sys-ultrix.o eap.o tty.o
17 COMPILE_FLAGS = -DNO_DRAND48 -DGIDSET_TYPE=int -DULTRIX \
18 -DLOCK_BINARY -DLOCK_DIR=\"/usr/spool/uucp\"
22 CFLAGS = -I../include $(COPTS) $(DEBUG_FLAGS) $(COMPILE_FLAGS)
27 install -c -m 4555 -o root -g daemon pppd $(BINDIR)/pppd
28 install -c -m 555 -o root pppd.8 $(MANDIR)/man8
31 $(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
34 rm -f $(PPPDOBJS) pppd *~ #* core
37 cpp -M $(CFLAGS) $(PPPDSRCS) >.depend
38 # makedepend $(CFLAGS) $(PPPDSRCS)