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.
21 lines
576 B
Makefile
21 lines
576 B
Makefile
# $Id: Makefile.bsd,v 1.15 1999/04/12 06:24:44 paulus Exp $
|
|
|
|
BINDIR?= /usr/sbin
|
|
# -D_BITYPES is for FreeBSD, which doesn't define anything to
|
|
# tell us that u_int32_t gets defined if <sys/types.h> is included.
|
|
# Remove for older *BSD systems for which this isn't true.
|
|
CFLAGS+= -g -I../include -DHAVE_PATHS_H -D_BITYPES
|
|
|
|
PROG= pppd
|
|
SRCS= main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c ccp.c \
|
|
demand.c auth.c options.c utils.c sys-bsd.c
|
|
MAN= pppd.cat8
|
|
MAN8= pppd.8
|
|
BINMODE=4555
|
|
BINOWN= root
|
|
|
|
LDADD= -lcrypt -lutil
|
|
DPADD= ${LIBCRYPT} ${LIBUTIL}
|
|
|
|
.include <bsd.prog.mk>
|