]> git.ozlabs.org Git - ppp.git/blob - pppd/Makefile.NeXT
Fix up ms-wins codes
[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.5 1998/03/25 01:26:57 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 LIBS = ../NeXT/libposix/libposix.o
40  
41
42 COPTS = $(ARCHFLAGS) -O -D_POSIX_SOURCE
43
44 CFLAGS = $(COPTS) $(COMPILE_FLAGS) -I../include
45
46
47 all: pppd
48
49 pppd: $(OBJS) 
50         $(CC) $(CFLAGS) -o pppd $(OBJS) $(LIBS)
51
52 install:
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
56
57
58 clean:
59         rm -f $(OBJS) pppd *.o *~ 
60