1995-10-27 11:58:40 +08:00
|
|
|
#
|
|
|
|
# Makefile for pppd under Solaris 2.
|
1998-03-25 09:27:09 +08:00
|
|
|
# $Id: Makefile.sol2,v 1.10 1998/03/25 01:27:05 paulus Exp $
|
1995-10-27 11:58:40 +08:00
|
|
|
#
|
|
|
|
|
1998-02-04 09:39:49 +08:00
|
|
|
include ../svr4/Makedefs
|
1995-10-27 11:58:40 +08:00
|
|
|
|
1998-03-25 09:27:09 +08:00
|
|
|
CFLAGS = -DSVR4 -I../include $(COPTS)
|
1996-08-28 14:38:18 +08:00
|
|
|
LIBS = -lsocket -lnsl
|
1995-10-27 11:58:40 +08:00
|
|
|
|
|
|
|
all: pppd
|
|
|
|
|
|
|
|
OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
|
1996-05-28 08:56:18 +08:00
|
|
|
auth.o options.o demand.o sys-svr4.o
|
1995-10-27 11:58:40 +08:00
|
|
|
|
|
|
|
pppd: $(OBJS)
|
1996-05-28 08:56:18 +08:00
|
|
|
$(CC) -o pppd $(OBJS) $(LIBS)
|
1995-10-27 11:58:40 +08:00
|
|
|
|
|
|
|
install:
|
|
|
|
$(INSTALL) -f $(BINDIR) -m 4755 -u root pppd
|
|
|
|
$(INSTALL) -f $(MANDIR)/man8 -m 444 pppd.8
|
|
|
|
|
|
|
|
clean:
|
1996-04-04 11:26:02 +08:00
|
|
|
rm -f $(OBJS) pppd *~ core y.tab.c y.tab.h
|