mirror of
https://github.com/paulusmack/ppp.git
synced 2024-11-30 23:13:35 +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
535 B
Makefile
25 lines
535 B
Makefile
#
|
|
# Makefile for pppd under Solaris 2.
|
|
# $Id: Makefile.svr4,v 1.14 1999/04/12 06:24:44 paulus Exp $
|
|
#
|
|
|
|
include ../svr4/Makedefs
|
|
|
|
CFLAGS = -DSVR4 -DHAS_SHADOW -I../include $(COPTS)
|
|
LIBS = -lsocket -lnsl -lc -L/usr/ucblib -lucb
|
|
|
|
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
|