aboutsummaryrefslogtreecommitdiff
path: root/share/mk/Makefile
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:21:29 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:21:29 +0000
commit218515c5f87bb92f680fdf3324356f598d9eb69c (patch)
treee8cb3e73b2a24a9dcb34f4f730f6f04f48aaea65 /share/mk/Makefile
parentb18735cb01d54add175ac83c2f2392a5b0fc227d (diff)
downloadsrc-218515c5f87bb92f680fdf3324356f598d9eb69c.tar.gz
src-218515c5f87bb92f680fdf3324356f598d9eb69c.zip
Make bsd.port.mk includable in two phases. bsd.port.pre.mk defines only
a few variables that could be used in the port Makefile for ".if exists()" tests. bsd.port.post.mk defines the rest. Note: if you define USE_X_PREFIX or USE_IMAKE, put it before including bsd.port.pre.mk. These are the only two variables used in the first part. In reality, bsd.port.pre.mk and bsd.port.post.mk just include bsd.port.mk with special variables to turn part of it off.
Notes
Notes: svn path=/head/; revision=41073
Diffstat (limited to 'share/mk/Makefile')
-rw-r--r--share/mk/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/mk/Makefile b/share/mk/Makefile
index 0170c3682d06..80d331122d51 100644
--- a/share/mk/Makefile
+++ b/share/mk/Makefile
@@ -1,10 +1,11 @@
-# $Id: Makefile,v 1.19 1998/08/29 11:01:22 wosch Exp $
+# $Id: Makefile,v 1.20 1998/09/09 10:17:34 bde Exp $
# @(#)Makefile 8.1 (Berkeley) 6/8/93
FILES= bsd.README
FILES+= bsd.dep.mk bsd.doc.mk bsd.docb.mk bsd.info.mk bsd.kern.mk bsd.kmod.mk
FILES+= bsd.lib.mk bsd.libnames.mk bsd.man.mk bsd.obj.mk bsd.own.mk
-FILES+= bsd.port.mk bsd.port.subdir.mk bsd.prog.mk bsd.sgml.mk bsd.subdir.mk
+FILES+= bsd.port.mk bsd.port.post.mk bsd.port.pre.mk bsd.port.subdir.mk
+FILES+= bsd.prog.mk bsd.sgml.mk bsd.subdir.mk
FILES+= sys.mk
NOOBJ= noobj