2 # pppd makefile for OSF/1 on DEC Alpha
3 # $Id: Makefile.osf,v 1.12 2002/05/21 17:26:48 dfs 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-osf.c md4.c chap_ms.c sha1.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-osf.o md4.o chap_ms.o sha1.o
16 #DEBUG_FLAGS = -DDEBUGALL
17 COMPILE_FLAGS = -DSTREAMS -DGIDSET_TYPE=int -D_SOCKADDR_LEN -DCHAPMS \
18 -DUSE_CRYPT $(DEBUG_FLAGS) -DLOCK_DIR=\"/usr/spool/locks\"
23 CFLAGS = -I. -I../include $(COPTS) $(COMPILE_FLAGS)
28 installbsd -c -m 4555 -o root -g daemon pppd $(BINDIR)/pppd
29 installbsd -c -m 444 -o root pppd.8 $(MANDIR)/man8/pppd.8
32 $(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
35 rm -f $(PPPDOBJS) pppd *~ #* core
38 cpp -M $(CFLAGS) $(PPPDSRCS) >.depend
39 # makedepend $(CFLAGS) $(PPPDSRCS)