added install and clean targets
authorPaul Mackerras <paulus@samba.org>
Fri, 19 May 1995 03:27:52 +0000 (03:27 +0000)
committerPaul Mackerras <paulus@samba.org>
Fri, 19 May 1995 03:27:52 +0000 (03:27 +0000)
svr4/Makefile

index 20ac15133116e602e337f24b00d35d66eb40e240..cccd1d8830aed39f473e648748c92667b03ba86c 100644 (file)
@@ -1,13 +1,27 @@
-CFLAGS= -D_KERNEL -I../current
+#
+# Makefile for STREAMS modules for Solaris 2.
+#
+# $Id: Makefile,v 1.2 1995/05/19 03:27:52 paulus Exp $
+#
+
+CFLAGS= -D_KERNEL -I..
 CC=    gcc
 
-all:   ppp x ppp_ahdlc
+all:   ppp ppp_ahdl ppp_comp
 
 ppp:   ppp.o
        ld -r -o ppp ppp.o
 
-ppp_ahdlc: ppp_ahdlc.o
-       ld -r -o ppp_ahdlc ppp_ahdlc.o
+ppp_ahdl: ppp_ahdlc.o
+       ld -r -o ppp_ahdl ppp_ahdlc.o
+
+ppp_comp: ppp_comp.o bsd-comp.o vjcompress.o
+       ld -r -o ppp_comp ppp_comp.o bsd-comp.o vjcompress.o
+
+install: all
+       cp ppp ppp.conf /kernel/drv
+       cp ppp_comp ppp_ahdl /kernel/strmod
+       /usr/sbin/add_drv ppp
 
-x:     x.c
-       $(CC) -I../current -g -o x x.c
+clean:
+       rm -f ppp ppp_comp ppp_ahdl *.o *~ core