2 # Makefile for pppd under Solaris 2.
3 # $Id: Makefile.sol2,v 1.1.1.4 2003/10/14 08:09:53 sparq Exp $
6 include ../solaris/Makedefs
8 COPTS += -xO2 -xspace -W0,-Lt
9 CFLAGS = -I../include -DSVR4 -DSOL2 $(COPTS)
12 OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o tty.o \
13 ccp.o auth.o options.o demand.o utils.o sys-solaris.o tdb.o
16 # uncomment the following to enable plugins
22 # Solaris 8 and above accomodates /var/run, so uncomment the
23 # following to place pppd process IDs on that location
25 #CFLAGS += -D_PATH_VARRUN='"/var/run/"'
28 # uncomment the following to enable IPv6
30 # Solaris 8 and on includes support for IPv6
33 #OBJS += ipv6cp.o eui64.o
41 $(CC) -o pppd $(OBJS) $(LIBS)
44 $(INSTALL) -f $(BINDIR) -m 4755 -u root pppd
45 $(INSTALL) -f $(MANDIR)/man8 -m 444 pppd.8
48 rm -f $(OBJS) pppd *~ core y.tab.c y.tab.h