ppp/pppd/Makefile.osf
1999-04-27 22:31:18 +00:00

40 lines
1011 B
Makefile

#
# pppd makefile for OSF/1 on DEC Alpha
# $Id: Makefile.osf,v 1.10 1999/04/27 22:31:18 varadhan Exp $
#
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 \
auth.c options.c demand.c utils.c sys-osf.c md4.c chap_ms.c
PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
auth.o options.o demand.o utils.o sys-osf.o md4.o chap_ms.o
CC = cc
#DEBUG_FLAGS = -DDEBUGALL
COMPILE_FLAGS = -DSTREAMS -DGIDSET_TYPE=int -D_SOCKADDR_LEN -DCHAPMS \
-DUSE_CRYPT $(DEBUG_FLAGS) -DLOCK_DIR=\"/usr/spool/locks\"
#COPTS = -O2
COPTS = -g
LIBS =
CFLAGS = -I. -I../include $(COPTS) $(COMPILE_FLAGS)
all: pppd
install: pppd
installbsd -c -m 4555 -o root -g daemon pppd $(BINDIR)/pppd
installbsd -c -m 444 -o root pppd.8 $(MANDIR)/man8/pppd.8
pppd: $(PPPDOBJS)
$(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
clean:
rm -f $(PPPDOBJS) pppd *~ #* core
depend:
cpp -M $(CFLAGS) $(PPPDSRCS) >.depend
# makedepend $(CFLAGS) $(PPPDSRCS)