]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/Makefile.sol2
Added IPv6 compilation flag and object files - these things are disabled
[ppp.git] / pppd / Makefile.sol2
index 85ab42aab50c24957dec70146c0c2e21f5e7ce9f..2504f29341ca88fa4a2bac8e86aad6f68de8947d 100644 (file)
@@ -1,27 +1,36 @@
 #
 # Makefile for pppd under Solaris 2.
-# $Id: Makefile.sol2,v 1.8 1996/09/26 06:16:15 paulus Exp $
+# $Id: Makefile.sol2,v 1.15 1999/09/30 19:55:52 masputra Exp $
 #
 
-BINDIR = /usr/local/bin
-MANDIR = /usr/local/man
+include ../svr4/Makedefs
 
-COPTS = -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 = -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 = -DSVR4 -I.. $(COPTS)
-LIBS = -lsocket -lnsl
+#
+# uncomment the following to enable plugins
+#
+CFLAGS += -DPLUGIN
+LIBS   += -ldl
 
-INSTALL = /usr/sbin/install
+#
+# 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
 
-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)