summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-08-04 21:10:08 +0000
committerwollman <wollman@FreeBSD.org>1994-08-04 21:10:08 +0000
commitd0e08020fbfcb0f571ddbf2768d3dad9c953d017 (patch)
treeaee709d01e23ceea41b4e67831f3edcef170dba6 /share
parent5a93a2fdb90e2b13fedd3c7d32d219deffe615e8 (diff)
downloadFreeBSD-src-d0e08020fbfcb0f571ddbf2768d3dad9c953d017.zip
FreeBSD-src-d0e08020fbfcb0f571ddbf2768d3dad9c953d017.tar.gz
Add a couple of files we created in 1.x.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.dep.mk47
-rw-r--r--share/mk/bsd.own.mk14
2 files changed, 61 insertions, 0 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
new file mode 100644
index 0000000..b75b946
--- /dev/null
+++ b/share/mk/bsd.dep.mk
@@ -0,0 +1,47 @@
+# $Id: bsd.dep.mk,v 1.4 1994/02/27 19:28:44 nate Exp $
+
+# some of the rules involve .h sources, so remove them from mkdep line
+.if !target(depend)
+depend: beforedepend .depend afterdepend
+.if defined(SRCS)
+.depend: ${SRCS}
+ rm -f .depend
+ files="${.ALLSRC:M*.[sS]}"; \
+ if [ "$$files" != "" ]; then \
+ mkdep -a ${MKDEP} ${CFLAGS:M-[ID]*} ${AINC} $$files; \
+ fi
+ files="${.ALLSRC:M*.c}"; \
+ if [ "$$files" != "" ]; then \
+ mkdep -a ${MKDEP} ${CFLAGS:M-[ID]*} $$files; \
+ fi
+ files="${.ALLSRC:M*.cc} ${.ALLSRC:M*.C} ${.ALLSRC:M*.cxx}"; \
+ if [ "$$files" != " " ]; then \
+ mkdep -a ${MKDEP} ${CXXFLAGS:M-nostd*} ${CXXFLAGS:M-[ID]*} $$files; \
+ fi
+.else
+.depend:
+.endif
+.if !target(beforedepend)
+beforedepend:
+.endif
+.if !target(afterdepend)
+afterdepend:
+.endif
+.endif
+
+.if !target(tags)
+.if defined(SRCS)
+tags: ${SRCS}
+ -cd ${.CURDIR}; ctags -f /dev/stdout ${.ALLSRC:N*.h} | \
+ sed "s;\${.CURDIR}/;;" > tags
+.else
+tags:
+.endif
+.endif
+
+.if defined(SRCS)
+clean:
+cleandir: cleandepend
+cleandepend:
+ rm -f .depend ${.CURDIR}/tags
+.endif
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
new file mode 100644
index 0000000..dc17f18
--- /dev/null
+++ b/share/mk/bsd.own.mk
@@ -0,0 +1,14 @@
+# $Id: bsd.own.mk,v 1.5 1994/03/19 22:02:35 jkh Exp $
+
+BINGRP?= bin
+BINOWN?= bin
+BINMODE?= 555
+
+STRIP?= -s
+
+COPY?= -c
+
+MANDIR?= /usr/share/man/man
+MANGRP?= bin
+MANOWN?= bin
+MANMODE?= 444
OpenPOWER on IntegriCloud