X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2FMakefile.sol2;h=25f5772c4fcb011f782372e6d14dafdde1fd3127;hp=fa52c8ec2507be09ed4bd3b2c45dd15d33cbd2c9;hb=7292aba5fee34d251b7caa488e02db1c48e75b2d;hpb=18384c57ab1e2e704ba9c66feeaf1746e2bbe5dc diff --git a/pppd/Makefile.sol2 b/pppd/Makefile.sol2 index fa52c8e..25f5772 100644 --- a/pppd/Makefile.sol2 +++ b/pppd/Makefile.sol2 @@ -1,26 +1,40 @@ # # Makefile for pppd under Solaris 2. -# $Id: Makefile.sol2,v 1.6 1996/05/28 00:54:22 paulus Exp $ +# $Id: Makefile.sol2,v 1.24 2003/11/27 21:25:25 paulus Exp $ # -BINDIR = /usr/local/bin -MANDIR = /usr/local/man +include ../Makedefs.com -CC = gcc -COPTS = -g -O2 -LIBS = -lsocket -lnsl +CFLAGS = -I../include -DSVR4 -DSOL2 $(COPTS) +LIBS = -lsocket -lnsl -# For Sun cc -#COPTS = -g -O -Xa -w +OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o eap.o md5.o \ + tty.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-solaris.o -CFLAGS = $(COPTS) -I.. -DSVR4 +# +# uncomment the following to enable plugins +# +CFLAGS += -DPLUGIN +LIBS += -ldl -INSTALL = /usr/sbin/install +# +# Solaris 8 and above accomodates /var/run, so uncomment the +# following to place pppd process IDs on that location +# +#CFLAGS += -D_PATH_VARRUN='"/var/run/"' -all: pppd +# +# uncomment the following to enable IPv6 +# +# Solaris 8 and on includes support for IPv6 +# +#CFLAGS += -DINET6 +#OBJS += ipv6cp.o eui64.o -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 +# +# Make targets +# +all: pppd pppd: $(OBJS) $(CC) -o pppd $(OBJS) $(LIBS)