bsd.test.mk (273810) | bsd.test.mk (284345) |
---|---|
1# $FreeBSD: head/share/mk/bsd.test.mk 273810 2014-10-29 04:32:46Z ngie $ | 1# $FreeBSD: head/share/mk/bsd.test.mk 284345 2015-06-13 19:20:56Z sjg $ |
2# 3# Generic build infrastructure for test programs. 4# 5# This is the only public file that should be included by Makefiles when 6# tests are to be built. All other *.test.mk files are internal and not 7# to be included directly. 8 9.include <bsd.init.mk> --- 76 unchanged lines hidden (view full) --- 86.ORDER: realtest aftertest 87test: aftertest 88.endif 89 90.if !empty(SUBDIR) 91.include <bsd.subdir.mk> 92.endif 93 | 2# 3# Generic build infrastructure for test programs. 4# 5# This is the only public file that should be included by Makefiles when 6# tests are to be built. All other *.test.mk files are internal and not 7# to be included directly. 8 9.include <bsd.init.mk> --- 76 unchanged lines hidden (view full) --- 86.ORDER: realtest aftertest 87test: aftertest 88.endif 89 90.if !empty(SUBDIR) 91.include <bsd.subdir.mk> 92.endif 93 |
94.ifdef PROG 95# we came here via bsd.progs.mk below 96# parent will do staging. 97MK_STAGING= no 98.endif 99 |
|
94.if !empty(PROGS) || !empty(PROGS_CXX) || !empty(SCRIPTS) 95.include <bsd.progs.mk> 96.endif 97.include <bsd.files.mk> 98 | 100.if !empty(PROGS) || !empty(PROGS_CXX) || !empty(SCRIPTS) 101.include <bsd.progs.mk> 102.endif 103.include <bsd.files.mk> 104 |
105.if !defined(PROG) && ${MK_STAGING} != "no" 106.if !defined(_SKIP_BUILD) 107# this will handle staging if needed 108_SKIP_STAGING= no 109# but we don't want it to build anything 110_SKIP_BUILD= 111.endif 112.if !empty(PROGS) 113stage_files.prog: ${PROGS} 114.endif 115.include <bsd.prog.mk> 116.endif 117 118.if !target(objwarn) |
|
99.include <bsd.obj.mk> | 119.include <bsd.obj.mk> |
120.endif |
|