]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/Makefile.sol2
add tty.o to OBJS, fix from James Carlson
[ppp.git] / pppd / Makefile.sol2
index f5799c7c54dfc4e7c2423450eb9befde7d1ecd62..f1f08a8b18a8ddc257a77ee5ecffc30a5f95f9f3 100644 (file)
@@ -1,21 +1,36 @@
 #
 # Makefile for pppd under Solaris 2.
-# $Id: Makefile.sol2,v 1.13 1999/09/16 01:16:59 masputra Exp $
+# $Id: Makefile.sol2,v 1.20 2001/03/08 05:01:03 paulus Exp $
 #
 
-include ../svr4/Makedefs
+include ../solaris/Makedefs
 
-CFLAGS = -DSVR4 -DSOL2 -I../include $(COPTS)
+COPTS  += -xO2 -xspace -W0,-Lt
+CFLAGS =  -I../include -DSVR4 -DSOL2 $(COPTS)
 LIBS   = -lsocket -lnsl
 
-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
+OBJS   =  main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o tty.o \
+       ccp.o auth.o options.o demand.o utils.o sys-solaris.o tdb.o
 
 #
 # uncomment the following to enable plugins
 #
-CFLAGS += -DPLUGIN
-LIBS += -ldl
+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/"'
+
+#
+# uncomment the following to enable IPv6
+#
+# Solaris 8 and on includes support for IPv6
+#
+#CFLAGS        += -DINET6
+#OBJS  += ipv6cp.o eui64.o
 
 #
 # Make targets