X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2FMakefile.sol2;h=d75cb686c770e9ef4475f5147088e6429075d978;hp=7d7cafa8a3092a3eb4b3e00f08b11fa52018b6a8;hb=dd98145afae71e5b436fdf8a989651d727d8cf31;hpb=79bc484a4590d573073c7a6f9e23c2f737f3da48 diff --git a/pppd/Makefile.sol2 b/pppd/Makefile.sol2 index 7d7cafa..d75cb68 100644 --- a/pppd/Makefile.sol2 +++ b/pppd/Makefile.sol2 @@ -1,26 +1,41 @@ # # Makefile for pppd under Solaris 2. -# $Id: Makefile.sol2,v 1.7 1996/08/28 06:38:17 paulus Exp $ +# $Id: Makefile.sol2,v 1.16 2000/01/24 20:42:18 masputra Exp $ # -BINDIR = /usr/local/bin -MANDIR = /usr/local/man +include ../svr4/Makedefs -COPTS = -g -O -Xa -w +COPTS += -xO2 -xspace -W0,-Lt +CFLAGS = -I../include -DSVR4 -DSOL2 $(COPTS) +LIBS = -lsocket -lnsl -# If you want to use gcc... -#CC = gcc -#COPTS = -g -O2 +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 -CFLAGS = $(COPTS) -I.. -DSVR4 -LIBS = -lsocket -lnsl +# +# 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)