ppp/pppd/Makefile.osf
1998-03-25 01:27:09 +00:00

39 lines
952 B
Makefile

#
# pppd makefile for OSF/1 on DEC Alpha
# $Id: Makefile.osf,v 1.8 1998/03/25 01:27:04 paulus 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 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 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)
#COPTS = -O2
COPTS = -g
LIBS =
CFLAGS = -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)