]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/Makefile.sol2
A couple of fixes:
[ppp.git] / pppd / Makefile.sol2
index 3802760ed57be9998eb92ac9a1c19b5ebed0bec0..8bb0925edc8827a779f0aa08c101ccfc33aebebc 100644 (file)
@@ -1,17 +1,27 @@
 #
 # Makefile for pppd under Solaris 2.
-# $Id: Makefile.sol2,v 1.10 1998/03/25 01:27:05 paulus Exp $
+# $Id: Makefile.sol2,v 1.14 1999/09/21 20:37:20 masputra Exp $
 #
 
 include ../svr4/Makedefs
 
-CFLAGS = -DSVR4 -I../include $(COPTS)
-LIBS = -lsocket -lnsl
+COPTS  += -xO2 -xspace -W0,-Lt
+CFLAGS =  -I../include -DSVR4 -DSOL2 $(COPTS)
+LIBS   = -lsocket -lnsl
 
-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 utils.o sys-svr4.o
+
+#
+# uncomment the following to enable plugins
+#
+CFLAGS += -DPLUGIN
+LIBS   += -ldl
 
-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)