Makefile revision 1.9
11.9Sriastrad# $NetBSD: Makefile,v 1.9 2025/04/27 14:04:19 riastradh Exp $ 21.1Sjmmv 31.2SjoergNOMAN= # defined 41.1Sjmmv 51.1Sjmmv.include <bsd.own.mk> 61.1Sjmmv 71.2SjoergTESTSDIR= ${TESTSBASE}/lib/csu 81.6SjoergTESTS_SH= t_crt0 t_ifunc_static 91.2SjoergTESTS_SUBDIRS= 101.2SjoergSUBDIR+= dso 111.2Sjoerg 121.3Sjoerg.include "Makefile.check_stack" 131.3Sjoerg 141.4SskrllCPPFLAGS+= ${CPPFLAGS_CHECK_STACK} 151.3Sjoerg 161.2SjoergBINDIR= ${TESTSDIR} 171.2SjoergPROG_CXX= h_initfini1 h_initfini2 h_initfini3 181.3SjoergSRCS.h_initfini1= h_initfini1.cxx h_initfini_common.cxx \ 191.3Sjoerg ${SRCS_CHECK_STACK} 201.3SjoergSRCS.h_initfini2= h_initfini1.cxx h_initfini_common.cxx \ 211.3Sjoerg ${SRCS_CHECK_STACK} 221.5SjoergLDSTATIC.h_initfini2+= -static 231.3SjoergSRCS.h_initfini3= h_initfini3.cxx h_initfini_common.cxx \ 241.3Sjoerg ${SRCS_CHECK_STACK} 251.2SjoergLDADD.h_initfini3+= -Wl,-rpath,${TESTSDIR} 261.1Sjmmv 271.7SchristosPROGS+= h_ifunc_static h_initfini_array 281.6SjoergSRCS.h_ifunc_static= h_ifunc_static.c 291.7SchristosSRCS.h_initfini_array= h_initfini_array.c 301.6SjoergLDSTATIC.h_ifunc_static=-static 311.6Sjoerg 321.8SriastradTESTS_SH+= t_hello 331.8Sriastrad 341.8SriastradPROGS+= ${"${MKPIC}" != no:?h_hello_dyn:} 351.8SriastradPROGS+= ${"${MKPIE}" != no:?h_hello_dynpie:} 361.8SriastradPROGS+= h_hello_sta 371.8SriastradPROGS+= ${"${MKPIE}" != no:?h_hello_stapie:} 381.8Sriastrad 391.8SriastradSRCS.h_hello_dyn+= h_hello.c 401.8SriastradSRCS.h_hello_dynpie+= h_hello.c 411.8SriastradSRCS.h_hello_sta+= h_hello.c 421.8SriastradSRCS.h_hello_stapie+= h_hello.c 431.9SriastradCOPTS.h_hello.c+= ${"${MKPIE}" != no:?-fPIE:} 441.8SriastradLDFLAGS.h_hello_dyn= -no-pie 451.8SriastradLDFLAGS.h_hello_dynpie= -pie 461.8SriastradLDFLAGS.h_hello_sta= -no-pie 471.8SriastradLDFLAGS.h_hello_stapie= -pie 481.8SriastradLDSTATIC.h_hello_sta= -static 491.8SriastradLDSTATIC.h_hello_stapie= -static 501.8Sriastrad 511.1Sjmmv.include <bsd.test.mk> 52