diff options
author | sjg <sjg@FreeBSD.org> | 2015-06-13 19:20:56 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2015-06-13 19:20:56 +0000 |
commit | 008d7c831feeec7a3430b92f009e28762c6740f1 (patch) | |
tree | 224d8be23eae518123c5b6db18c9819fe6ac6c62 /gnu/lib/csu | |
parent | 9c7d3132bfe16d56cf42cff4126ecc32c4dbc2a9 (diff) | |
parent | a4e18934b74c201653c0142376816d9d840a5ced (diff) | |
download | FreeBSD-src-008d7c831feeec7a3430b92f009e28762c6740f1.zip FreeBSD-src-008d7c831feeec7a3430b92f009e28762c6740f1.tar.gz |
Add META_MODE support.
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
Diffstat (limited to 'gnu/lib/csu')
-rw-r--r-- | gnu/lib/csu/Makefile | 9 | ||||
-rw-r--r-- | gnu/lib/csu/Makefile.depend | 43 |
2 files changed, 52 insertions, 0 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile index e1224ca..1231443 100644 --- a/gnu/lib/csu/Makefile +++ b/gnu/lib/csu/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.MAIN: all + .include <src.opts.mk> MK_SSP= no @@ -74,4 +76,11 @@ realinstall: ${file} ${DESTDIR}${LIBDIR}/${file} .endfor +.if ${MK_STAGING} == "yes" +STAGE_DIR= ${STAGE_LIBDIR} +STAGE_FILES= ${OBJS} ${SOBJS} ${TGTOBJS} +staging: stage_files +.endif +.NOPATH: ${CLEANFILES} + .include <bsd.lib.mk> diff --git a/gnu/lib/csu/Makefile.depend b/gnu/lib/csu/Makefile.depend new file mode 100644 index 0000000..e5634d5 --- /dev/null +++ b/gnu/lib/csu/Makefile.depend @@ -0,0 +1,43 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + include \ + include/xlocale \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +crtbegin.o: options.h +crtbegin.o: tconfig.h +crtbegin.o: tm.h +crtbegin.po: options.h +crtbegin.po: tconfig.h +crtbegin.po: tm.h +crtbeginS.o: options.h +crtbeginS.o: tconfig.h +crtbeginS.o: tm.h +crtbeginS.po: options.h +crtbeginS.po: tconfig.h +crtbeginS.po: tm.h +crtbeginT.o: options.h +crtbeginT.o: tconfig.h +crtbeginT.o: tm.h +crtbeginT.po: options.h +crtbeginT.po: tconfig.h +crtbeginT.po: tm.h +crtend.o: options.h +crtend.o: tconfig.h +crtend.o: tm.h +crtend.po: options.h +crtend.po: tconfig.h +crtend.po: tm.h +crtendS.o: options.h +crtendS.o: tconfig.h +crtendS.o: tm.h +crtendS.po: options.h +crtendS.po: tconfig.h +crtendS.po: tm.h +.endif |