1# $FreeBSD$ 2 3SSP_CFLAGS= 4 5NO_WMISSING_VARIABLE_DECLARATIONS= 6 7.include <src.opts.mk> 8 9.if !defined(BUILDING_TESTS) 10 11OBJS+= crtbegin.o crtbeginS.o crtbeginT.o 12OBJS+= crtend.o crtendS.o 13 14ACFLAGS+= -DLOCORE 15 16CFLAGS+= -fno-asynchronous-unwind-tables 17CFLAGS+= -fno-omit-frame-pointer 18 19CFLAGS_CRTS= -DSHARED ${PICFLAG} 20 21crtbegin.o: crtbegin.c 22crtbeginS.o: crtbegin.c 23crtbeginT.o: crtbegin.c 24crtend.o: crtend.c 25crtendS.o: crtend.c 26 27crtbegin.o crtend.o crtbeginT.o: 28 ${CC} ${CFLAGS} -I${.CURDIR} -c -o ${.TARGET} ${.ALLSRC:N*.h:[1]} 29 30crtbeginS.o crtendS.o: 31 ${CC} ${CFLAGS} -I${.CURDIR} ${CFLAGS_CRTS} -c -o ${.TARGET} \ 32 ${.ALLSRC:N*.h:[1]} 33 34.endif 35 36.include "../Makefile.inc" 37