1995-04-24 10:45:30 +08:00
|
|
|
#
|
|
|
|
# pppd makefile for OSF/1 on DEC Alpha
|
1998-03-25 09:27:09 +08:00
|
|
|
# $Id: Makefile.osf,v 1.8 1998/03/25 01:27:04 paulus Exp $
|
1995-04-24 10:45:30 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
BINDIR = /usr/local/etc
|
|
|
|
MANDIR = /usr/local/man
|
|
|
|
|
|
|
|
PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c ccp.c \
|
1997-05-22 14:45:44 +08:00
|
|
|
auth.c options.c demand.c sys-osf.c md4.c chap_ms.c
|
1995-04-24 10:45:30 +08:00
|
|
|
|
|
|
|
PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
|
1997-05-22 14:45:44 +08:00
|
|
|
auth.o options.o demand.o sys-osf.o md4.o chap_ms.o
|
1995-04-24 10:45:30 +08:00
|
|
|
|
|
|
|
CC = cc
|
|
|
|
DEBUG_FLAGS = -DDEBUGALL
|
1997-04-30 13:49:05 +08:00
|
|
|
COMPILE_FLAGS = -DSTREAMS -DGIDSET_TYPE=int -D_SOCKADDR_LEN -DCHAPMS -DUSE_CRYPT $(DEBUG_FLAGS)
|
1996-07-01 09:05:41 +08:00
|
|
|
#COPTS = -O2
|
|
|
|
COPTS = -g
|
1995-04-24 10:45:30 +08:00
|
|
|
LIBS =
|
|
|
|
|
1998-03-25 09:27:09 +08:00
|
|
|
CFLAGS = -I../include $(COPTS) $(COMPILE_FLAGS)
|
1995-04-24 10:45:30 +08:00
|
|
|
|
|
|
|
all: pppd
|
|
|
|
|
1995-04-28 12:33:10 +08:00
|
|
|
install: pppd
|
1995-04-24 10:45:30 +08:00
|
|
|
installbsd -c -m 4555 -o root -g daemon pppd $(BINDIR)/pppd
|
1995-06-01 09:30:14 +08:00
|
|
|
installbsd -c -m 444 -o root pppd.8 $(MANDIR)/man8/pppd.8
|
1995-04-24 10:45:30 +08:00
|
|
|
|
|
|
|
pppd: $(PPPDOBJS)
|
|
|
|
$(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(PPPDOBJS) pppd *~ #* core
|
|
|
|
|
|
|
|
depend:
|
|
|
|
cpp -M $(CFLAGS) $(PPPDSRCS) >.depend
|
|
|
|
# makedepend $(CFLAGS) $(PPPDSRCS)
|