mirror of
https://github.com/paulusmack/ppp.git
synced 2024-12-12 04:43:56 +08:00
e8be982dbc
Unified the locking code, added relock(). Revert strlcpy to strncpy when filling in utmp structs. Fixed some bugs in DNS addr option handling. Set PPPLOGNAME with login name of user. Moved daemon() logic into detach(). Fix bug where errno was clobbered by seteuid(). Use pty in sys-linux.c when making a ppp unit.
25 lines
514 B
Makefile
25 lines
514 B
Makefile
#
|
|
# Makefile for pppd under Solaris 2.
|
|
# $Id: Makefile.sol2,v 1.11 1999/04/12 06:24:44 paulus Exp $
|
|
#
|
|
|
|
include ../svr4/Makedefs
|
|
|
|
CFLAGS = -DSVR4 -I../include $(COPTS)
|
|
LIBS = -lsocket -lnsl
|
|
|
|
all: pppd
|
|
|
|
OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
|
|
auth.o options.o demand.o utils.o sys-svr4.o
|
|
|
|
pppd: $(OBJS)
|
|
$(CC) -o pppd $(OBJS) $(LIBS)
|
|
|
|
install:
|
|
$(INSTALL) -f $(BINDIR) -m 4755 -u root pppd
|
|
$(INSTALL) -f $(MANDIR)/man8 -m 444 pppd.8
|
|
|
|
clean:
|
|
rm -f $(OBJS) pppd *~ core y.tab.c y.tab.h
|