2 # pppd makefile for NeXT
4 # $Orignial: Makefile.ultrix,v 1.4 1994/09/01 00:40:40 paulus Exp $
5 # $Id: Makefile.NeXT,v 1.7 2002/05/21 17:26:48 dfs Exp $
10 BINDIR = /usr/local/ppp/bin
11 MANDIR = /usr/local/ppp/man
13 OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
14 ecp.o auth.o options.o demand.o utils.o sys-NeXT.o
17 # For HPPA and SPARC, define FIXSIGS to get around posix bugs in
18 # OS release 3.2. Problems are supposed to be fixed
19 # in release 3.3 (but at least for Sparc don't appear to be).
21 # Defining -DHAS_BROKEN_IOCTL fixes problems with the old
22 # NeXT supplied serial drivers.
24 # Defining -DCHAPMS will enable Eric Rosenquist's extensions for
25 # Microsoft's propritary CHAP scheme. For all the details,
26 # see the README.MSCHAP80 file at the top level.
29 COMPILE_FLAGS = -DNO_DRAND48 \
30 -DFIXSIGS -DHAS_BROKEN_IOCTL -DLOCK_BINARY \
31 -DLOCK_DIR=\"/usr/spool/uucp/LCK\"
34 # If you want to use MSCHAP, see the README.MSCHAP80 file.
35 # Use required you get a separate DES library. If this
36 # library is installed, uncomment the following.
39 LIBS = ../NeXT/libposix/libposix.o
42 COPTS = $(ARCHFLAGS) -O -D_POSIX_SOURCE
44 CFLAGS = $(COPTS) $(COMPILE_FLAGS) -I../include
50 $(CC) $(CFLAGS) -o pppd $(OBJS) $(LIBS)
53 /bin/mkdirs $(MANDIR)/man8 $(BINDIR)
54 install -c -s -m 4511 -o root -g daemon pppd $(BINDIR)/pppd
55 install -c -m 444 -o root -g wheel pppd.8 $(MANDIR)/man8
59 rm -f $(OBJS) pppd *.o *~