1# $FreeBSD$ 2 3SSP_CFLAGS= 4 5SED_FIX_NOTE = -i "" -e '/\.note\.tag/s/progbits/note/' 6 7NO_WMISSING_VARIABLE_DECLARATIONS= 8 9.include <src.opts.mk> 10 11.if ${MK_BSD_CRTBEGIN} != "no" && !defined(BUILDING_TESTS) 12 13OBJS+= crtbegin.o crtbeginS.o crtbeginT.o 14OBJS+= crtend.o crtendS.o 15 16CFLAGS_CRTS= -DSHARED ${PICFLAG} 17 18crtbegin.o: crtbegin.c 19crtbeginS.o: crtbegin.c 20crtbeginT.o: crtbegin.c 21crtend.o: crtend.c 22crtendS.o: crtend.c 23 24crtbegin.o crtend.o crtbeginT.o: 25 ${CC} ${CFLAGS} -I${.CURDIR} -c -o ${.TARGET} ${.ALLSRC:N*.h:[1]} 26 27crtbeginS.o crtendS.o: 28 ${CC} ${CFLAGS} -I${.CURDIR} ${CFLAGS_CRTS} -c -o ${.TARGET} \ 29 ${.ALLSRC:N*.h:[1]} 30 31.endif 32 33.include "../Makefile.inc" 34