2008-06-25 21:33:28 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2009-02-21 15:04:31 +00:00
|
|
|
SSP_CFLAGS=
|
2010-01-02 09:58:07 +00:00
|
|
|
|
2012-03-11 20:04:09 +00:00
|
|
|
SED_FIX_NOTE = -i "" -e '/\.note\.tag/s/progbits/note/'
|
|
|
|
|
2013-04-19 19:45:00 +00:00
|
|
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
|
|
|
|
2018-10-25 17:39:41 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
|
|
|
.if ${MK_BSD_CRTBEGIN} != "no" && !defined(BUILDING_TESTS)
|
|
|
|
|
|
|
|
OBJS+= crtbegin.o crtbeginS.o crtbeginT.o
|
|
|
|
OBJS+= crtend.o crtendS.o
|
|
|
|
|
|
|
|
CFLAGS_CRTS= -DSHARED ${PICFLAG}
|
|
|
|
|
|
|
|
crtbegin.o: crtbegin.c
|
|
|
|
crtbeginS.o: crtbegin.c
|
|
|
|
crtbeginT.o: crtbegin.c
|
|
|
|
crtend.o: crtend.c
|
|
|
|
crtendS.o: crtend.c
|
|
|
|
|
|
|
|
crtbegin.o crtend.o crtbeginT.o:
|
2019-06-15 17:08:32 +00:00
|
|
|
${CC} ${CFLAGS} -I${.CURDIR} -c -o ${.TARGET} ${.ALLSRC:N*.h:[1]}
|
2018-10-25 17:39:41 +00:00
|
|
|
|
|
|
|
crtbeginS.o crtendS.o:
|
2019-06-15 17:08:32 +00:00
|
|
|
${CC} ${CFLAGS} -I${.CURDIR} ${CFLAGS_CRTS} -c -o ${.TARGET} \
|
|
|
|
${.ALLSRC:N*.h:[1]}
|
2018-10-25 17:39:41 +00:00
|
|
|
|
|
|
|
.endif
|
|
|
|
|
2010-03-05 13:29:05 +00:00
|
|
|
.include "../Makefile.inc"
|