X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=svr4%2FMakefile.sol2;h=b67ea69085a5ecf4fc301abbe8aec1e3529f36dd;hp=b4d341489eceb3063bfc241fe58581c639299e4e;hb=a00baab063b349591289cbde22ab40cf80b8f0af;hpb=855ab535dd82d408e7acfd32c264d84d570bdf4c diff --git a/svr4/Makefile.sol2 b/svr4/Makefile.sol2 index b4d3414..b67ea69 100644 --- a/svr4/Makefile.sol2 +++ b/svr4/Makefile.sol2 @@ -1,10 +1,12 @@ # # Makefile for STREAMS modules for Solaris 2. # -# $Id: Makefile.sol2,v 1.6 1996/05/28 00:51:44 paulus Exp $ +# $Id: Makefile.sol2,v 1.13 1999/02/26 10:53:28 paulus Exp $ # -CFLAGS= -D_KERNEL -DSVR4 -DSOL2 -I.. -O -Xa -w -DDEBUG +include Makedefs + +CFLAGS= -D_KERNEL -DSVR4 -DSOL2 -I../include $(COPTS) -DPRIOQ -DDEBUG all: ppp ppp_ahdl ppp_comp @@ -39,8 +41,7 @@ install: all cp ppp_comp ppp_ahdl /kernel/strmod if grep clone:ppp /etc/minor_perm; then :; else \ echo clone:ppp 0644 root sys >>/etc/minor_perm; fi - if ls -L /dev/ppp; then \ - /usr/sbin/rem_drv ppp; fi + /usr/sbin/rem_drv ppp 2>/dev/null || true /usr/sbin/add_drv ppp clean: