X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2FMakefile.sol2;h=835acc215091394d65e1b3bba544b7f248c7f2b7;hp=85ea3af97dd133197d5204653039fddd0435e9d0;hb=3f2fe49d822135c209e9896f666b748cf2234f2e;hpb=695c9ae009c4ca596fc0b8c8c9111d819542db51 diff --git a/pppd/Makefile.sol2 b/pppd/Makefile.sol2 index 85ea3af..835acc2 100644 --- a/pppd/Makefile.sol2 +++ b/pppd/Makefile.sol2 @@ -1,17 +1,41 @@ # # Makefile for pppd under Solaris 2. -# $Id: Makefile.sol2,v 1.9 1998/02/04 01:39:48 paulus Exp $ +# $Id: Makefile.sol2,v 1.18 2000/04/13 12:05:57 paulus Exp $ # include ../svr4/Makedefs -CFLAGS = -DSVR4 -I.. $(COPTS) -LIBS = -lsocket -lnsl +COPTS += -xO2 -xspace -W0,-Lt +CFLAGS = -I../include -DSVR4 -DSOL2 $(COPTS) +LIBS = -lsocket -lnsl -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 utils.o sys-svr4.o tdb.o + +# +# uncomment the following to enable plugins +# +CFLAGS += -DPLUGIN +LIBS += -ldl + +# +# 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/"' -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 +# +# uncomment the following to enable IPv6 +# +# Solaris 8 and on includes support for IPv6 +# +#CFLAGS += -DINET6 +#OBJS += ipv6cp.o eui64.o + +# +# Make targets +# +all: pppd pppd: $(OBJS) $(CC) -o pppd $(OBJS) $(LIBS)