summaryrefslogtreecommitdiff
path: root/pkgtools/bootstrap-mk-files
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-04-15 16:49:56 +0000
committerjoerg <joerg@pkgsrc.org>2008-04-15 16:49:56 +0000
commit22f59d01592271a701546e89457d62e906753f16 (patch)
tree8f047d559d90440da9c5615f2bb192401040f879 /pkgtools/bootstrap-mk-files
parent0d9001f250cdcc00ef2e51b71377c7e43dbe04ce (diff)
downloadpkgsrc-22f59d01592271a701546e89457d62e906753f16.tar.gz
bootstrap-mk-files-20080415:
Don't bother with real dependency tracking, just touch .depend.
Diffstat (limited to 'pkgtools/bootstrap-mk-files')
-rw-r--r--pkgtools/bootstrap-mk-files/Makefile4
-rw-r--r--pkgtools/bootstrap-mk-files/files/bsd.dep.mk34
2 files changed, 4 insertions, 34 deletions
diff --git a/pkgtools/bootstrap-mk-files/Makefile b/pkgtools/bootstrap-mk-files/Makefile
index 1a8d79cf30a..db63bdc72c1 100644
--- a/pkgtools/bootstrap-mk-files/Makefile
+++ b/pkgtools/bootstrap-mk-files/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2008/03/13 17:28:23 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2008/04/15 16:49:56 joerg Exp $
-DISTNAME= bootstrap-mk-files-20080310
+DISTNAME= bootstrap-mk-files-20080415
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/bootstrap-mk-files/files/bsd.dep.mk b/pkgtools/bootstrap-mk-files/files/bsd.dep.mk
index a42a2420349..995c7c5fe43 100644
--- a/pkgtools/bootstrap-mk-files/files/bsd.dep.mk
+++ b/pkgtools/bootstrap-mk-files/files/bsd.dep.mk
@@ -1,10 +1,8 @@
-# $NetBSD: bsd.dep.mk,v 1.1.1.1 2006/07/14 23:13:00 jlam Exp $
+# $NetBSD: bsd.dep.mk,v 1.2 2008/04/15 16:49:56 joerg Exp $
.PHONY: cleandepend
cleandir: cleandepend
-MKDEP?= mkdep
-
# some of the rules involve .h sources, so remove them from mkdep line
realdepend: beforedepend
.if defined(SRCS)
@@ -12,35 +10,7 @@ realdepend: .depend
.NOPATH: .depend
.depend: ${SRCS} ${DPSRCS}
@rm -f .depend
- @files="${.ALLSRC:M*.s} ${.ALLSRC:M*.S}"; \
- if [ "$$files" != " " ]; then \
- echo ${MKDEP} -a ${MKDEPFLAGS} \
- ${AFLAGS:M-[ID]*:Q} ${CPPFLAGS:Q} -traditional-cpp ${AINC:Q} \
- $$files; \
- ${MKDEP} -a ${MKDEPFLAGS} \
- ${AFLAGS:M-[ID]*} ${CPPFLAGS} -traditional-cpp ${AINC} $$files; \
- fi
- @files="${.ALLSRC:M*.c}"; \
- if [ "$$files" != "" ]; then \
- echo ${MKDEP} -a ${MKDEPFLAGS} \
- ${CFLAGS:M-[ID]*:Q} ${CPPFLAGS:Q} $$files; \
- ${MKDEP} -a ${MKDEPFLAGS} \
- ${CFLAGS:M-[ID]*} ${CPPFLAGS} $$files; \
- fi
- @files="${.ALLSRC:M*.m}"; \
- if [ "$$files" != "" ]; then \
- echo ${MKDEP} -a ${MKDEPFLAGS} \
- ${OBJCFLAGS:M-[ID]*:Q} ${CPPFLAGS:Q} $$files; \
- ${MKDEP} -a ${MKDEPFLAGS} \
- ${OBJCFLAGS:M-[ID]*} ${CPPFLAGS} $$files; \
- fi
- @files="${.ALLSRC:M*.cc} ${.ALLSRC:M*.C} ${.ALLSRC:M*.cxx}"; \
- if [ "$$files" != " " ]; then \
- echo ${MKDEP} -a ${MKDEPFLAGS} \
- ${CXXFLAGS:M-[ID]*:Q} ${CPPFLAGS:Q} $$files; \
- ${MKDEP} -a ${MKDEPFLAGS} \
- ${CXXFLAGS:M-[ID]*} ${CPPFLAGS} $$files; \
- fi
+ @touch .depend
cleandepend:
rm -f .depend ${.CURDIR}/tags ${CLEANDEPEND}
.else