do chmod last in install
[unix-history] / usr / src / usr.bin / gprof / Makefile
index 66e618a..cac7f01 100644 (file)
@@ -1,9 +1,10 @@
-SCCSID = @(#)Makefile  1.10 (Berkeley) %G%
+SCCSID = @(#)Makefile  1.12 (Berkeley) %G%
 
 DFLAGS = 
 CFLAGS = -O ${DFLAGS}
 LINTFLAGS = -x -a -n
 
 
 DFLAGS = 
 CFLAGS = -O ${DFLAGS}
 LINTFLAGS = -x -a -n
 
+RM=    /bin/rm -f
 INSTALL=cp
 
 GPROFHDRS =    gprof.h
 INSTALL=cp
 
 GPROFHDRS =    gprof.h
@@ -18,6 +19,12 @@ install: gprof flat.blurb callg.blurb
        cp flat.blurb ${DESTDIR}/usr/lib/flat.blurb
        cp callg.blurb ${DESTDIR}/usr/lib/callg.blurb
 
        cp flat.blurb ${DESTDIR}/usr/lib/flat.blurb
        cp callg.blurb ${DESTDIR}/usr/lib/callg.blurb
 
+clean:
+       ${RM} ${GPROFOBJS} errs gprof
+
+gcrt0.h:
+       cp /usr/src/libc/csu/gcrt0.h gcrt0.h
+
 lint:
        lint ${CFLAGS} ${LINTFLAGS} ${GPROFSRCS}
 
 lint:
        lint ${CFLAGS} ${LINTFLAGS} ${GPROFSRCS}