]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/Makefile.sol2
1) Created a subdirectory called 'solaris'. Currently it contains a replica
[ppp.git] / pppd / Makefile.sol2
index 85ab42aab50c24957dec70146c0c2e21f5e7ce9f..2f28fa4c1980965a58e415f5740c54a41a4016fa 100644 (file)
@@ -1,26 +1,41 @@
 #
 # 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.19 2000/04/18 23:51:26 masputra Exp $
 #
 
-BINDIR = /usr/local/bin
-MANDIR = /usr/local/man
+include ../solaris/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-solaris.o tdb.o
 
-CFLAGS = -DSVR4 -I.. $(COPTS)
-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)