2 # Makefile for STREAMS modules for SVR4.
4 # $Id: Makefile.svr4,v 1.5 1998/03/25 03:09:58 paulus Exp $
9 CFLAGS= -D_KERNEL -DSVR4 -DLACHTCP -I../include $(COPTS)
11 all: ppp ppp_ahdl ppp_comp
17 ld -r -o $@ ppp_ahdlc.o
19 ppp_comp: ppp_comp.o bsd-comp.o vjcompress.o deflate.o zlib.o
20 ld -r -o $@ ppp_comp.o bsd-comp.o vjcompress.o deflate.o zlib.o
22 bsd-comp.o: ../modules/bsd-comp.c
24 deflate.o: ../modules/deflate.c
26 ppp.o: ../modules/ppp.c
28 ppp_ahdlc.o: ../modules/ppp_ahdlc.c
30 ppp_comp.o: ../modules/ppp_comp.c
32 vjcompress.o: ../modules/vjcompress.c
34 zlib.o: ../common/zlib.c
42 /etc/conf/bin/idinstall -d ppp
43 /etc/conf/bin/idinstall -a ppp
45 cp ppp_comp.Master Master
46 cp ppp_comp.System System
47 /etc/conf/bin/idinstall -d ppp_comp
48 /etc/conf/bin/idinstall -a ppp_comp
50 cp ppp_ahdl.Master Master
51 cp ppp_ahdl.System System
52 /etc/conf/bin/idinstall -d ppp_ahdl
53 /etc/conf/bin/idinstall -a ppp_ahdl
55 @echo 'NOTE: You must rebuild your kernel to incorporate the driver.'
56 @echo '(use /etc/conf/bin/idbuild)'
60 rm -f ppp ppp_comp ppp_ahdl *.o *~ core