13585b293SGarrett Wollman# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 27f3dea24SPeter Wemm# $FreeBSD$ 3afe61c15SRodney W. Grimes 42bdaf7e8SRuslan Ermilov.include <bsd.init.mk> 5bd871f14SWarner Losh.include <bsd.compiler.mk> 6afe61c15SRodney W. Grimes 7e4195e2eSJonathan Anderson.SUFFIXES: .out .o .bc .c .cc .cpp .cxx .C .m .y .l .ll .ln .s .S .asm 8afe61c15SRodney W. Grimes 948aea4daSRuslan Ermilov# XXX The use of COPTS in modern makefiles is discouraged. 1041f89315SRuslan Ermilov.if defined(COPTS) 119b8d26fdSBryan Drewery.warning ${.CURDIR}: COPTS should be CFLAGS. 1241f89315SRuslan ErmilovCFLAGS+=${COPTS} 1341f89315SRuslan Ermilov.endif 1441f89315SRuslan Ermilov 154df1f59eSWarner Losh.if ${MK_ASSERT_DEBUG} == "no" 164df1f59eSWarner LoshCFLAGS+= -DNDEBUG 17e2e1ab1cSDavid E. O'BrienNO_WERROR= 184df1f59eSWarner Losh.endif 194df1f59eSWarner Losh 2041f89315SRuslan Ermilov.if defined(DEBUG_FLAGS) 2141f89315SRuslan ErmilovCFLAGS+=${DEBUG_FLAGS} 228eba8cd8SMarcel MoolenaarCXXFLAGS+=${DEBUG_FLAGS} 23770ac3b2SJohn Birrell 2483cb5baeSMax Khon.if ${MK_CTF} != "no" && ${DEBUG_FLAGS:M-g} != "" 25770ac3b2SJohn BirrellCTFFLAGS+= -g 26770ac3b2SJohn Birrell.endif 2741f89315SRuslan Ermilov.endif 2841f89315SRuslan Ermilov 2942f8c5b5SEd Maste.if defined(PROG_CXX) 3042f8c5b5SEd MastePROG= ${PROG_CXX} 3142f8c5b5SEd Maste.endif 3242f8c5b5SEd Maste 336e521732SEd Maste.if !empty(LDFLAGS:M-Wl,*--oformat,*) || !empty(LDFLAGS:M-static) 3442f8c5b5SEd MasteMK_DEBUG_FILES= no 3542f8c5b5SEd Maste.endif 3642f8c5b5SEd Maste 37*fc191b11SEd Maste.if ${MK_RETPOLINE} != "no" 38*fc191b11SEd MasteCFLAGS+= -mretpoline 39*fc191b11SEd MasteCXXFLAGS+= -mretpoline 40*fc191b11SEd MasteLDFLAGS+= -Wl,-zretpolineplt 41*fc191b11SEd Maste.endif 42*fc191b11SEd Maste 4341f89315SRuslan Ermilov.if defined(CRUNCH_CFLAGS) 443c9b8563SGordon TetlowCFLAGS+=${CRUNCH_CFLAGS} 4542f8c5b5SEd Maste.else 4642f8c5b5SEd Maste.if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \ 4742f8c5b5SEd Maste empty(DEBUG_FLAGS:M-gdwarf-*) 48de6feefdSJohn BaldwinCFLAGS+= ${DEBUG_FILES_CFLAGS} 4942f8c5b5SEd MasteCTFFLAGS+= -g 5042f8c5b5SEd Maste.endif 5141f89315SRuslan Ermilov.endif 52afe61c15SRodney W. Grimes 53e82b0b99SJordan K. Hubbard.if !defined(DEBUG_FLAGS) 54afe61c15SRodney W. GrimesSTRIP?= -s 55e82b0b99SJordan K. Hubbard.endif 56afe61c15SRodney W. Grimes 57dc6d22c9SBaptiste Daroussin.if defined(NO_ROOT) 58dc6d22c9SBaptiste Daroussin.if !defined(TAGS) || ! ${TAGS:Mpackage=*} 59dc6d22c9SBaptiste DaroussinTAGS+= package=${PACKAGE:Uruntime} 60dc6d22c9SBaptiste Daroussin.endif 61dc6d22c9SBaptiste DaroussinTAG_ARGS= -T ${TAGS:[*]:S/ /,/g} 62dc6d22c9SBaptiste Daroussin.endif 63dc6d22c9SBaptiste Daroussin 6483c7ade9SRuslan Ermilov.if defined(NO_SHARED) && (${NO_SHARED} != "no" && ${NO_SHARED} != "NO") 653585b293SGarrett WollmanLDFLAGS+= -static 663585b293SGarrett Wollman.endif 67afe61c15SRodney W. Grimes 6842f8c5b5SEd Maste.if ${MK_DEBUG_FILES} != "no" 6942f8c5b5SEd MastePROG_FULL=${PROG}.full 7042f8c5b5SEd Maste# Use ${DEBUGDIR} for base system debug files, else .debug subdirectory 7142f8c5b5SEd Maste.if defined(BINDIR) && (\ 7242f8c5b5SEd Maste ${BINDIR} == "/bin" ||\ 735ea4b6d5SEd Maste ${BINDIR:C%/libexec(/.*)?%/libexec%} == "/libexec" ||\ 7442f8c5b5SEd Maste ${BINDIR} == "/sbin" ||\ 75b60371f8SEd Maste ${BINDIR:C%/usr/(bin|bsdinstall|libexec|lpr|sendmail|sm.bin|sbin|tests)(/.*)?%/usr/bin%} == "/usr/bin" ||\ 76b60371f8SEd Maste ${BINDIR} == "/usr/lib" \ 7742f8c5b5SEd Maste ) 7842f8c5b5SEd MasteDEBUGFILEDIR= ${DEBUGDIR}${BINDIR} 7942f8c5b5SEd Maste.else 8042f8c5b5SEd MasteDEBUGFILEDIR?= ${BINDIR}/.debug 81a324b0f0SBryan Drewery.endif 82a324b0f0SBryan Drewery.if !exists(${DESTDIR}${DEBUGFILEDIR}) 8342f8c5b5SEd MasteDEBUGMKDIR= 8442f8c5b5SEd Maste.endif 8542f8c5b5SEd Maste.else 8642f8c5b5SEd MastePROG_FULL= ${PROG} 8747bf8a5cSRuslan Ermilov.endif 8847bf8a5cSRuslan Ermilov 89afe61c15SRodney W. Grimes.if defined(PROG) 90a0dc5970SEd MastePROGNAME?= ${PROG} 9142f8c5b5SEd Maste 92afe61c15SRodney W. Grimes.if defined(SRCS) 93afe61c15SRodney W. Grimes 942506d700SSimon J. GerratyOBJS+= ${SRCS:N*.h:${OBJS_SRCS_FILTER:ts:}:S/$/.o/g} 95afe61c15SRodney W. Grimes 964f2fac37SJonathan Anderson# LLVM bitcode / textual IR representations of the program 974f2fac37SJonathan AndersonBCOBJS+=${SRCS:N*.[hsS]:N*.asm:${OBJS_SRCS_FILTER:ts:}:S/$/.bco/g} 984f2fac37SJonathan AndersonLLOBJS+=${SRCS:N*.[hsS]:N*.asm:${OBJS_SRCS_FILTER:ts:}:S/$/.llo/g} 994f2fac37SJonathan Anderson 100c2c48445SRui Paulo.if target(beforelinking) 101593c0b49SMark Johnstonbeforelinking: ${OBJS} 10242f8c5b5SEd Maste${PROG_FULL}: beforelinking 103c2c48445SRui Paulo.endif 1045852ae2dSBryan Drewery${PROG_FULL}: ${OBJS} 1055d68012aSRuslan Ermilov.if defined(PROG_CXX) 1069160419cSBryan Drewery ${CXX:N${CCACHE_BIN}} ${CXXFLAGS:N-M*} ${LDFLAGS} -o ${.TARGET} \ 1079160419cSBryan Drewery ${OBJS} ${LDADD} 1085d68012aSRuslan Ermilov.else 1099160419cSBryan Drewery ${CC:N${CCACHE_BIN}} ${CFLAGS:N-M*} ${LDFLAGS} -o ${.TARGET} ${OBJS} \ 1109160419cSBryan Drewery ${LDADD} 1115d68012aSRuslan Ermilov.endif 11283cb5baeSMax Khon.if ${MK_CTF} != "no" 113cd49c2e8SMax Khon ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS} 114cd49c2e8SMax Khon.endif 1155d68012aSRuslan Ermilov 11684aac273SHartmut Brandt.else # !defined(SRCS) 117afe61c15SRodney W. Grimes 1185d68012aSRuslan Ermilov.if !target(${PROG}) 11947bf8a5cSRuslan Ermilov.if defined(PROG_CXX) 12047bf8a5cSRuslan ErmilovSRCS= ${PROG}.cc 12147bf8a5cSRuslan Ermilov.else 122afe61c15SRodney W. GrimesSRCS= ${PROG}.c 12347bf8a5cSRuslan Ermilov.endif 124afe61c15SRodney W. Grimes 125a4c39c7aSBruce Evans# Always make an intermediate object file because: 126a4c39c7aSBruce Evans# - it saves time rebuilding when only the library has changed 127a4c39c7aSBruce Evans# - the name of the object gets put into the executable symbol table instead of 128a4c39c7aSBruce Evans# the name of a variable temporary object. 129a4c39c7aSBruce Evans# - it's useful to keep objects around for crunching. 1307f7fc25bSMark JohnstonOBJS+= ${PROG}.o 1314f2fac37SJonathan AndersonBCOBJS+= ${PROG}.bc 1324f2fac37SJonathan AndersonLLOBJS+= ${PROG}.ll 1334f2fac37SJonathan AndersonCLEANFILES+= ${PROG}.o ${PROG}.bc ${PROG}.ll 134f5c75051SEivind Eklund 135c2c48445SRui Paulo.if target(beforelinking) 136593c0b49SMark Johnstonbeforelinking: ${OBJS} 13742f8c5b5SEd Maste${PROG_FULL}: beforelinking 138c2c48445SRui Paulo.endif 1395852ae2dSBryan Drewery${PROG_FULL}: ${OBJS} 140f8ba1555SRuslan Ermilov.if defined(PROG_CXX) 1419160419cSBryan Drewery ${CXX:N${CCACHE_BIN}} ${CXXFLAGS:N-M*} ${LDFLAGS} -o ${.TARGET} \ 1429160419cSBryan Drewery ${OBJS} ${LDADD} 143f8ba1555SRuslan Ermilov.else 1449160419cSBryan Drewery ${CC:N${CCACHE_BIN}} ${CFLAGS:N-M*} ${LDFLAGS} -o ${.TARGET} ${OBJS} \ 1459160419cSBryan Drewery ${LDADD} 146afe61c15SRodney W. Grimes.endif 14783cb5baeSMax Khon.if ${MK_CTF} != "no" 148cd49c2e8SMax Khon ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS} 149cd49c2e8SMax Khon.endif 15042f8c5b5SEd Maste.endif # !target(${PROG}) 151f5c75051SEivind Eklund 1520d947ed1SEd Maste.endif # !defined(SRCS) 153afe61c15SRodney W. Grimes 15442f8c5b5SEd Maste.if ${MK_DEBUG_FILES} != "no" 1555852ae2dSBryan Drewery${PROG}: ${PROG_FULL} ${PROGNAME}.debug 15642f8c5b5SEd Maste ${OBJCOPY} --strip-debug --add-gnu-debuglink=${PROGNAME}.debug \ 15742f8c5b5SEd Maste ${PROG_FULL} ${.TARGET} 15842f8c5b5SEd Maste 1595852ae2dSBryan Drewery${PROGNAME}.debug: ${PROG_FULL} 16042f8c5b5SEd Maste ${OBJCOPY} --only-keep-debug ${PROG_FULL} ${.TARGET} 16142f8c5b5SEd Maste.endif 16242f8c5b5SEd Maste 163e4195e2eSJonathan Anderson.if defined(LLVM_LINK) 164e4195e2eSJonathan Anderson${PROG_FULL}.bc: ${BCOBJS} 165e4195e2eSJonathan Anderson ${LLVM_LINK} -o ${.TARGET} ${BCOBJS} 166e4195e2eSJonathan Anderson 167e4195e2eSJonathan Anderson${PROG_FULL}.ll: ${LLOBJS} 168e4195e2eSJonathan Anderson ${LLVM_LINK} -S -o ${.TARGET} ${LLOBJS} 169e4195e2eSJonathan Anderson 1706f6b66a8SJonathan AndersonCLEANFILES+= ${PROG_FULL}.bc ${PROG_FULL}.ll 171e4195e2eSJonathan Anderson.endif # defined(LLVM_LINK) 172e4195e2eSJonathan Anderson 173e1fe3dbaSRuslan Ermilov.if ${MK_MAN} != "no" && !defined(MAN) && \ 174862d3deaSRuslan Ermilov !defined(MAN1) && !defined(MAN2) && !defined(MAN3) && \ 175afe61c15SRodney W. Grimes !defined(MAN4) && !defined(MAN5) && !defined(MAN6) && \ 1768b4f1f91SBrooks Davis !defined(MAN7) && !defined(MAN8) && !defined(MAN9) 17719ea15a1SRuslan ErmilovMAN= ${PROG}.1 17819ea15a1SRuslan ErmilovMAN1= ${MAN} 179afe61c15SRodney W. Grimes.endif 1800d947ed1SEd Maste.endif # defined(PROG) 181afe61c15SRodney W. Grimes 1827750ad47SMarcel Moolenaar.if defined(_SKIP_BUILD) 1837750ad47SMarcel Moolenaarall: 1847750ad47SMarcel Moolenaar.else 1851bd4272fSBryan Dreweryall: ${PROG} ${SCRIPTS} 186e1fe3dbaSRuslan Ermilov.if ${MK_MAN} != "no" 187f1702f87SBryan Dreweryall: all-man 188862d3deaSRuslan Ermilov.endif 1897750ad47SMarcel Moolenaar.endif 190afe61c15SRodney W. Grimes 19141f89315SRuslan Ermilov.if defined(PROG) 192e4195e2eSJonathan AndersonCLEANFILES+= ${PROG} ${PROG}.bc ${PROG}.ll 19342f8c5b5SEd Maste.if ${MK_DEBUG_FILES} != "no" 1946f6b66a8SJonathan AndersonCLEANFILES+= ${PROG_FULL} ${PROGNAME}.debug 19542f8c5b5SEd Maste.endif 19641f89315SRuslan Ermilov.endif 19741f89315SRuslan Ermilov 19841f89315SRuslan Ermilov.if defined(OBJS) 199e4195e2eSJonathan AndersonCLEANFILES+= ${OBJS} ${BCOBJS} ${LLOBJS} 20041f89315SRuslan Ermilov.endif 201afe61c15SRodney W. Grimes 20251fa76c4SRuslan Ermilov.include <bsd.libnames.mk> 20351fa76c4SRuslan Ermilov 204218a2cd2SBruce Evans.if defined(PROG) 205799483e4SBryan Drewery.if !defined(NO_EXTRADEPEND) 206663e9677SBruce Evans_EXTRADEPEND: 20751fa76c4SRuslan Ermilov.if defined(LDFLAGS) && !empty(LDFLAGS:M-nostdlib) 20851fa76c4SRuslan Ermilov.if defined(DPADD) && !empty(DPADD) 20937fd8bc2SJohn Baldwin echo ${PROG_FULL}: ${DPADD} >> ${DEPENDFILE} 21051fa76c4SRuslan Ermilov.endif 21151fa76c4SRuslan Ermilov.else 21237fd8bc2SJohn Baldwin echo ${PROG_FULL}: ${LIBC} ${DPADD} >> ${DEPENDFILE} 2137273339dSWarner Losh.if defined(PROG_CXX) 21463e4d6f7SWarner Losh.if ${COMPILER_TYPE} == "clang" && empty(CXXFLAGS:M-stdlib=libstdc++) 21537fd8bc2SJohn Baldwin echo ${PROG_FULL}: ${LIBCPLUSPLUS} >> ${DEPENDFILE} 216d515c63dSDimitry Andric.else 21737fd8bc2SJohn Baldwin echo ${PROG_FULL}: ${LIBSTDCPLUSPLUS} >> ${DEPENDFILE} 218f8ba1555SRuslan Ermilov.endif 2198c05a446SPeter Wemm.endif 22051fa76c4SRuslan Ermilov.endif 221799483e4SBryan Drewery.endif # !defined(NO_EXTRADEPEND) 222d515c63dSDimitry Andric.endif 223663e9677SBruce Evans 224afe61c15SRodney W. Grimes.if !target(install) 225afe61c15SRodney W. Grimes 226212acbefSRuslan Ermilov.if defined(PRECIOUSPROG) 22700fbd407SRuslan Ermilov.if !defined(NO_FSCHG) 228dee651ebSRuslan ErmilovINSTALLFLAGS+= -fschg 229dee651ebSRuslan Ermilov.endif 230212acbefSRuslan ErmilovINSTALLFLAGS+= -S 231212acbefSRuslan Ermilov.endif 232dee651ebSRuslan Ermilov 233e902c1bbSTim Vanderhoek_INSTALLFLAGS:= ${INSTALLFLAGS} 234e902c1bbSTim Vanderhoek.for ie in ${INSTALLFLAGS_EDIT} 235e902c1bbSTim Vanderhoek_INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} 236e902c1bbSTim Vanderhoek.endfor 237e902c1bbSTim Vanderhoek 23851fa76c4SRuslan Ermilov.if !target(realinstall) && !defined(INTERNALPROG) 23987829387SRuslan Ermilovrealinstall: _proginstall 240badb7c1cSRuslan Ermilov.ORDER: beforeinstall _proginstall 24187829387SRuslan Ermilov_proginstall: 242afe61c15SRodney W. Grimes.if defined(PROG) 243dc6d22c9SBaptiste Daroussin ${INSTALL} ${TAG_ARGS} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 24495f8c826SRuslan Ermilov ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR}/${PROGNAME} 24542f8c5b5SEd Maste.if ${MK_DEBUG_FILES} != "no" 24642f8c5b5SEd Maste.if defined(DEBUGMKDIR) 247b626f5a7SGlen Barber ${INSTALL} ${TAG_ARGS:D${TAG_ARGS},debug} -d ${DESTDIR}${DEBUGFILEDIR}/ 24842f8c5b5SEd Maste.endif 249dc6d22c9SBaptiste Daroussin ${INSTALL} ${TAG_ARGS:D${TAG_ARGS},debug} -o ${BINOWN} -g ${BINGRP} -m ${DEBUGMODE} \ 25042f8c5b5SEd Maste ${PROGNAME}.debug ${DESTDIR}${DEBUGFILEDIR}/${PROGNAME}.debug 25142f8c5b5SEd Maste.endif 25295f8c826SRuslan Ermilov.endif 25384aac273SHartmut Brandt.endif # !target(realinstall) 254afe61c15SRodney W. Grimes 255f7ee8cfeSRuslan Ermilov.if defined(SCRIPTS) && !empty(SCRIPTS) 256f7ee8cfeSRuslan Ermilovrealinstall: _scriptsinstall 257badb7c1cSRuslan Ermilov.ORDER: beforeinstall _scriptsinstall 258f7ee8cfeSRuslan Ermilov 259f7ee8cfeSRuslan ErmilovSCRIPTSDIR?= ${BINDIR} 260f7ee8cfeSRuslan ErmilovSCRIPTSOWN?= ${BINOWN} 261f7ee8cfeSRuslan ErmilovSCRIPTSGRP?= ${BINGRP} 262f7ee8cfeSRuslan ErmilovSCRIPTSMODE?= ${BINMODE} 263f7ee8cfeSRuslan Ermilov 264116d4508SSimon J. GerratySTAGE_AS_SETS+= scripts 265116d4508SSimon J. Gerratystage_as.scripts: ${SCRIPTS} 266116d4508SSimon J. GerratyFLAGS.stage_as.scripts= -m ${SCRIPTSMODE} 267116d4508SSimon J. GerratySTAGE_FILES_DIR.scripts= ${STAGE_OBJTOP} 268f7ee8cfeSRuslan Ermilov.for script in ${SCRIPTS} 269f7ee8cfeSRuslan Ermilov.if defined(SCRIPTSNAME) 270f7ee8cfeSRuslan ErmilovSCRIPTSNAME_${script:T}?= ${SCRIPTSNAME} 271f7ee8cfeSRuslan Ermilov.else 272f7ee8cfeSRuslan ErmilovSCRIPTSNAME_${script:T}?= ${script:T:R} 273f7ee8cfeSRuslan Ermilov.endif 274f7ee8cfeSRuslan ErmilovSCRIPTSDIR_${script:T}?= ${SCRIPTSDIR} 275f7ee8cfeSRuslan ErmilovSCRIPTSOWN_${script:T}?= ${SCRIPTSOWN} 276f7ee8cfeSRuslan ErmilovSCRIPTSGRP_${script:T}?= ${SCRIPTSGRP} 277f7ee8cfeSRuslan ErmilovSCRIPTSMODE_${script:T}?= ${SCRIPTSMODE} 278116d4508SSimon J. GerratySTAGE_AS_${script:T}= ${SCRIPTSDIR_${script:T}}/${SCRIPTSNAME_${script:T}} 279a7aaf57eSRuslan Ermilov_scriptsinstall: _SCRIPTSINS_${script:T} 280a7aaf57eSRuslan Ermilov_SCRIPTSINS_${script:T}: ${script} 281dc6d22c9SBaptiste Daroussin ${INSTALL} ${TAG_ARGS} -o ${SCRIPTSOWN_${.ALLSRC:T}} \ 282f7ee8cfeSRuslan Ermilov -g ${SCRIPTSGRP_${.ALLSRC:T}} -m ${SCRIPTSMODE_${.ALLSRC:T}} \ 2834367bda6SRuslan Ermilov ${.ALLSRC} \ 284f7ee8cfeSRuslan Ermilov ${DESTDIR}${SCRIPTSDIR_${.ALLSRC:T}}/${SCRIPTSNAME_${.ALLSRC:T}} 285f7ee8cfeSRuslan Ermilov.endfor 286f7ee8cfeSRuslan Ermilov.endif 287f7ee8cfeSRuslan Ermilov 2888479adc1SRuslan ErmilovNLSNAME?= ${PROG} 2898479adc1SRuslan Ermilov.include <bsd.nls.mk> 2908479adc1SRuslan Ermilov 2919b4f4918SBaptiste Daroussin.include <bsd.confs.mk> 292af2dc868SRuslan Ermilov.include <bsd.files.mk> 2935d862037SRuslan Ermilov.include <bsd.incs.mk> 294fa8c921eSBrooks Davis 295fa8c921eSBrooks DavisLINKOWN?= ${BINOWN} 296fa8c921eSBrooks DavisLINKGRP?= ${BINGRP} 297fa8c921eSBrooks DavisLINKMODE?= ${BINMODE} 29884f94a79SRuslan Ermilov.include <bsd.links.mk> 299c7b111cbSRuslan Ermilov 300e1fe3dbaSRuslan Ermilov.if ${MK_MAN} != "no" 301f1702f87SBryan Dreweryrealinstall: maninstall 302f1702f87SBryan Drewery.ORDER: beforeinstall maninstall 30387829387SRuslan Ermilov.endif 30487829387SRuslan Ermilov 305abb02fa2SBryan Drewery.endif # !target(install) 306afe61c15SRodney W. Grimes 307e1fe3dbaSRuslan Ermilov.if ${MK_MAN} != "no" 308afe61c15SRodney W. Grimes.include <bsd.man.mk> 30969b87d3eSEivind Eklund.endif 31069b87d3eSEivind Eklund 31138f8fddfSEnji Cooper.if defined(HAS_TESTS) 31238f8fddfSEnji CooperMAKE+= MK_MAKE_CHECK_USE_SANDBOX=yes 31338f8fddfSEnji CooperSUBDIR_TARGETS+= check 31438f8fddfSEnji CooperTESTS_LD_LIBRARY_PATH+= ${.OBJDIR} 31538f8fddfSEnji CooperTESTS_PATH+= ${.OBJDIR} 31638f8fddfSEnji Cooper.endif 31738f8fddfSEnji Cooper 318d7beff08SBryan Drewery.if defined(PROG) 319d7beff08SBryan DreweryOBJS_DEPEND_GUESS+= ${SRCS:M*.h} 32088fe1f7aSBryan Drewery.endif 32188fe1f7aSBryan Drewery 32288fe1f7aSBryan Drewery.include <bsd.dep.mk> 323aae63957SBryan Drewery.include <bsd.clang-analyze.mk> 324cd9a2f5cSJordan K. Hubbard.include <bsd.obj.mk> 325d510ecb4SKris Kennaway.include <bsd.sys.mk> 326