]> git.ozlabs.org Git - ppp.git/blob - pppd/Makefile.sol2
Added IPv6 compilation flag and object files - these things are disabled
[ppp.git] / pppd / Makefile.sol2
1 #
2 # Makefile for pppd under Solaris 2.
3 # $Id: Makefile.sol2,v 1.15 1999/09/30 19:55:52 masputra Exp $
4 #
5
6 include ../svr4/Makedefs
7
8 COPTS   += -xO2 -xspace -W0,-Lt
9 CFLAGS  =  -I../include -DSVR4 -DSOL2 $(COPTS)
10 LIBS    = -lsocket -lnsl
11
12 OBJS    =  main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o \
13         ccp.o auth.o options.o demand.o utils.o sys-svr4.o
14
15 #
16 # uncomment the following to enable plugins
17 #
18 CFLAGS  += -DPLUGIN
19 LIBS    += -ldl
20
21 #
22 # uncomment the following to enable IPv6
23 #
24 # Solaris 8 and on includes support for IPv6
25 #
26 #CFLAGS += -DINET6
27 #OBJS   += ipv6cp.o eui64.o
28
29 #
30 # Make targets
31 #
32 all: pppd
33
34 pppd:   $(OBJS)
35         $(CC) -o pppd $(OBJS) $(LIBS)
36
37 install:
38         $(INSTALL) -f $(BINDIR) -m 4755 -u root pppd
39         $(INSTALL) -f $(MANDIR)/man8 -m 444 pppd.8
40
41 clean:
42         rm -f $(OBJS) pppd *~ core y.tab.c y.tab.h