X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2FMakefile.sol2;h=d75cb686c770e9ef4475f5147088e6429075d978;hp=943fd7bf3d8aa56608437dc7159d39872a910a0a;hb=dd98145afae71e5b436fdf8a989651d727d8cf31;hpb=0c338335ba5cab3c1880f922a889eb9691b5a34b diff --git a/pppd/Makefile.sol2 b/pppd/Makefile.sol2 index 943fd7b..d75cb68 100644 --- a/pppd/Makefile.sol2 +++ b/pppd/Makefile.sol2 @@ -1,17 +1,41 @@ # # Makefile for pppd under Solaris 2. -# $Id: Makefile.sol2,v 1.12 1999/09/08 01:13:45 masputra Exp $ +# $Id: Makefile.sol2,v 1.16 2000/01/24 20:42:18 masputra Exp $ # include ../svr4/Makedefs -CFLAGS = -DSVR4 -DSOL2 -I../include $(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 + +# +# 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 utils.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)