]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/Makefile.sol2
A couple of fixes:
[ppp.git] / pppd / Makefile.sol2
index 7d7cafa8a3092a3eb4b3e00f08b11fa52018b6a8..8bb0925edc8827a779f0aa08c101ccfc33aebebc 100644 (file)
@@ -1,27 +1,28 @@
 #
 # 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.14 1999/09/21 20:37:20 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
-
-INSTALL = /usr/sbin/install
+#
+# uncomment the following to enable plugins
+#
+CFLAGS += -DPLUGIN
+LIBS   += -ldl
 
+#
+# 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)