1# 2# Makefile for pppd under SunOS 4. 3# $Id: Makefile.sunos4 241182 2011-02-17 21:50:03Z $ 4# 5 6include ../sunos4/Makedefs 7 8LIBS = 9 10CFLAGS = $(COPTS) -I../include -DSUNOS4 -DGIDSET_TYPE=int \ 11 -DLOCK_DIR=\"/usr/spool/locks\" 12 13all: pppd 14 15OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \ 16 auth.o options.o demand.o utils.o sys-sunos4.o tty.o 17 18pppd: $(OBJS) 19 $(CC) -o pppd $(OBJS) $(LIBS) 20 21install: 22 $(INSTALL) -c -m 4555 pppd $(BINDIR)/pppd 23 $(INSTALL) -c -m 444 pppd.8 $(MANDIR)/man8/pppd.8 24 25clean: 26 rm -f $(OBJS) pppd *~ core 27