update from Sowmini
authorPaul Mackerras <paulus@samba.org>
Thu, 23 Dec 1999 01:40:51 +0000 (01:40 +0000)
committerPaul Mackerras <paulus@samba.org>
Thu, 23 Dec 1999 01:40:51 +0000 (01:40 +0000)
osf1/Makefile.top

index 6de114396a1ea14a275b4dcfdcba888c5bb8910e..90f73db763afe8e258b1eeb7bbd6d0e4a1d52afa 100644 (file)
@@ -14,7 +14,16 @@ install:
        cd chat; $(MAKE) BINDIR=$(BINDIR) MANDIR=$(MANDIR) install
        cd pppd; $(MAKE) BINDIR=$(BINDIR) MANDIR=$(MANDIR) install
        cd pppstats; $(MAKE) BINDIR=$(BINDIR) MANDIR=$(MANDIR) install
-       cd osf1; $(MAKE) install
+       @( release=`uname -r` ;\
+         case $${release} in \
+               V[123].*) sdir="/sys/streamsm"; \
+                         idir="/sys/include/net";; \
+               V[4-9]*)  sdir="/usr/sys/BINARY/streamsm"; \
+                         idir="/usr/sys/include/net";; \
+         esac; \
+         mkdir -p $${sdir}; \
+         mkdir -p $${idir}; \
+         cd osf1; $(MAKE) STREAMSDIR=$${sdir} INCLNETDIR=$${idir} install ;)
 
 clean:
        rm -f *~