]> git.ozlabs.org Git - ppp.git/blob - pppd/Makefile.NeXT
print name of peer in messages
[ppp.git] / pppd / Makefile.NeXT
1 #
2 # pppd makefile for NeXT
3 #
4 # $Orignial: Makefile.ultrix,v 1.4 1994/09/01 00:40:40 paulus Exp $
5 # $Id: Makefile.NeXT,v 1.4 1997/03/04 03:34:48 paulus Exp $
6 #
7
8 ARCHFLAGS = 
9
10 BINDIR = /usr/local/ppp/bin
11 MANDIR = /usr/local/ppp/man
12
13 OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
14         auth.o options.o demand.o sys-NeXT.o
15
16 #
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).
20 #
21 # Defining -DHAS_BROKEN_IOCTL fixes problems with the old
22 # NeXT supplied serial drivers.
23 #
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.
27 #
28
29 COMPILE_FLAGS = -DNO_DRAND48 \
30         -DFIXSIGS -DHAS_BROKEN_IOCTL \
31         -DDEBUGUPAP -DDEBUGCHAP -DDEBUGLCP -DDEBUGIPCP
32
33 #
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.
37
38 #LIBS = -ldes
39
40 COPTS = $(ARCHFLAGS) -O -posix
41
42 CFLAGS = $(COPTS) $(COMPILE_FLAGS) -I..
43
44
45 all: pppd
46
47 pppd: $(OBJS) 
48         $(CC) $(CFLAGS) -o pppd $(OBJS) $(LIBS)
49
50 install:
51         /bin/mkdirs $(MANDIR)/man8 $(BINDIR) 
52         install -c -s -m 4511 -o root -g daemon pppd $(BINDIR)/pppd
53         install -c -m  444 -o root -g wheel pppd.8 $(MANDIR)/man8
54
55
56 clean:
57         rm -f $(OBJS) pppd *.o *~ 
58