2 # Makefile for pppd under Solaris 2.
3 # $Id: Makefile.sol2,v 1.27 2005/08/28 06:49:12 paulus Exp $
6 include ../Makedefs.com
8 CFLAGS = -I../include -DSVR4 -DSOL2 $(COPTS) '-DDESTDIR="@DESTDIR@"'
11 OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o eap.o md5.o \
12 tty.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-solaris.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
35 # Uncomment to enable MS-CHAP
36 #CFLAGS += -DUSE_CRYPT -DCHAPMS -DHAVE_CRYPT_H
37 #OBJS += chap_ms.o pppcrypt.o md4.o sha1.o
40 #CFLAGS += -DCBCP_SUPPORT
49 $(CC) -o pppd $(OBJS) $(LIBS)
52 $(INSTALL) -f $(BINDIR) -m 4755 -u root pppd
53 $(INSTALL) -f $(MANDIR)/man8 -m 444 pppd.8
56 rm -f $(OBJS) pppd *~ core y.tab.c y.tab.h