file reorg, pathnames.h, paths.h
[unix-history] / usr / src / usr.bin / f77 / f77.tahoe / Makefile
index 38182e4..f586cef 100644 (file)
@@ -9,7 +9,7 @@
 # software without specific prior written permission. This software
 # is provided ``as is'' without express or implied warranty.
 #
 # software without specific prior written permission. This software
 # is provided ``as is'' without express or implied warranty.
 #
-#      @(#)Makefile    5.1 (Berkeley) %G%
+#      @(#)Makefile    5.2 (Berkeley) %G%
 #
 CFLAGS=        -DHERE=TAHOE -DTARGET=TAHOE -DFAMILY=PCC -DUCBVAXASM \
        -DUCBPASS2 -O -I$(INCLDIR)/usr/include -I../include
 #
 CFLAGS=        -DHERE=TAHOE -DTARGET=TAHOE -DFAMILY=PCC -DUCBVAXASM \
        -DUCBPASS2 -O -I$(INCLDIR)/usr/include -I../include
@@ -22,32 +22,20 @@ all: f77
 f77: ${SRCS} ${LIBC}
        ${CC} -o $@ ${CFLAGS} ${SRCS}
 
 f77: ${SRCS} ${LIBC}
        ${CC} -o $@ ${CFLAGS} ${SRCS}
 
-clean: FRC
+clean:
        rm -f ${OBJS} core f77
 
        rm -f ${OBJS} core f77
 
-depend: FRC
+cleandir: clean
+       rm -f ${MAN} tags .depend
+
+depend: ${SRCS}
        mkdep -p ${CFLAGS} ${SRCS}
 
        mkdep -p ${CFLAGS} ${SRCS}
 
-install: FRC
-       install -s -o bin -g bin -m 755 f77 ${DESTDIR}/usr/bin/f77
+install: ${MAN}
+       install -s -o bin -g bin -m 755 f77 ${DESTDIR}/usr/bin
 
 
-lint: FRC
+lint: ${SRCS}
        lint ${CFLAGS} ${SRCS}
 
        lint ${CFLAGS} ${SRCS}
 
-tags: FRC
+tags: ${SRCS}
        ctags ${SRCS}
        ctags ${SRCS}
-
-FRC:
-
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-f77: f77.c /usr/include/stdio.h /usr/include/sys/types.h
-f77: /usr/include/sys/stat.h /usr/include/ctype.h /usr/include/signal.h
-f77: /usr/include/machine/trap.h /usr/include/sys/time.h /usr/include/time.h
-f77: /usr/include/sys/resource.h /usr/include/sys/wait.h
-f77: /usr/include/machine/machparam.h ../include/defines.h
-f77: ../include/machdefs.h drivedefs.h ../include/version.h
-f77: /usr/include/errno.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY