]> git.ozlabs.org Git - ppp.git/blob - pppd/Makefile.sol2
A couple of fixes:
[ppp.git] / pppd / Makefile.sol2
1 #
2 # Makefile for pppd under Solaris 2.
3 # $Id: Makefile.sol2,v 1.14 1999/09/21 20:37:20 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 # Make targets
23 #
24 all: pppd
25
26 pppd:   $(OBJS)
27         $(CC) -o pppd $(OBJS) $(LIBS)
28
29 install:
30         $(INSTALL) -f $(BINDIR) -m 4755 -u root pppd
31         $(INSTALL) -f $(MANDIR)/man8 -m 444 pppd.8
32
33 clean:
34         rm -f $(OBJS) pppd *~ core y.tab.c y.tab.h