# # Makefile for pppd under Solaris 2. # $Id: Makefile.svr4,v 1.10 1996/09/26 06:16:16 paulus Exp $ # BINDIR = /usr/local/bin MANDIR = /usr/local/man COPTS = -O -Xa -w # If you want to use gcc... #CC = gcc #COPTS = -O2 CFLAGS = -DSVR4 -I.. $(COPTS) LIBS = -lsocket -lnsl -lc -L/usr/ucblib -lucb INSTALL = /usr/sbin/install all: pppd OBJS = 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-svr4.o pppd: $(OBJS) $(CC) -o pppd $(OBJS) $(LIBS) install: $(INSTALL) -f $(BINDIR) -m 4755 -u root pppd $(INSTALL) -f $(MANDIR)/man8 -m 444 pppd.8 clean: rm -f $(OBJS) pppd *~ core