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.
27 lines
547 B
Makefile
27 lines
547 B
Makefile
#
|
|
# Makefile for pppd under SunOS 4.
|
|
# $Id: Makefile.sunos4,v 1.10 1999/04/12 06:24:44 paulus Exp $
|
|
#
|
|
|
|
include ../sunos4/Makedefs
|
|
|
|
LIBS =
|
|
|
|
CFLAGS = $(COPTS) -I../include -DSUNOS4 -DGIDSET_TYPE=int \
|
|
-DLOCK_DIR=\"/usr/spool/locks\"
|
|
|
|
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-sunos4.o
|
|
|
|
pppd: $(OBJS)
|
|
$(CC) -o pppd $(OBJS) $(LIBS)
|
|
|
|
install:
|
|
$(INSTALL) -c -m 4555 pppd $(BINDIR)/pppd
|
|
$(INSTALL) -c -m 444 pppd.8 $(MANDIR)/man8/pppd.8
|
|
|
|
clean:
|
|
rm -f $(OBJS) pppd *~ core
|