2 # Makefile for pppd under Solaris 2.
3 # $Id: Makefile.sol2,v 1.23 2002/11/02 19:48:12 carlsonj Exp $
6 include ../Makedefs.com
8 CFLAGS = -I../include -DSVR4 -DSOL2 $(COPTS)
11 OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o eap.o md5.o tty.o \
12 ccp.o ecp.o auth.o options.o demand.o utils.o sys-solaris.o
15 # uncomment the following to enable plugins
21 # Solaris 8 and above accomodates /var/run, so uncomment the
22 # following to place pppd process IDs on that location
24 #CFLAGS += -D_PATH_VARRUN='"/var/run/"'
27 # uncomment the following to enable IPv6
29 # Solaris 8 and on includes support for IPv6
32 #OBJS += ipv6cp.o eui64.o
40 $(CC) -o pppd $(OBJS) $(LIBS)
43 $(INSTALL) -f $(BINDIR) -m 4755 -u root pppd
44 $(INSTALL) -f $(MANDIR)/man8 -m 444 pppd.8
47 rm -f $(OBJS) pppd *~ core y.tab.c y.tab.h