hacks for gcc pre-processor
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 20 Feb 1991 06:25:50 +0000 (22:25 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 20 Feb 1991 06:25:50 +0000 (22:25 -0800)
SCCS-vsn: usr.bin/mkdep/Makefile 5.4

usr/src/usr.bin/mkdep/Makefile

index a70e183..fcfe15f 100644 (file)
@@ -1,9 +1,15 @@
-#      @(#)Makefile    5.3 (Berkeley) %G%
+#      @(#)Makefile    5.4 (Berkeley) %G%
 
 MAN1=  mkdep.0
 
 
 MAN1=  mkdep.0
 
+.if (${MACHINE} == "hp300" || ${MACHINE} == "i386")
+beforeinstall:
+       install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+           ${.CURDIR}/mkdep.gcc.sh ${DESTDIR}/usr/bin/mkdep
+.else
 beforeinstall:
        install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
            ${.CURDIR}/mkdep.sh ${DESTDIR}/usr/bin/mkdep
 beforeinstall:
        install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
            ${.CURDIR}/mkdep.sh ${DESTDIR}/usr/bin/mkdep
+.endif
 
 .include <bsd.prog.mk>
 
 .include <bsd.prog.mk>