mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
dcf1f83876
This is for an upcoming change that fixes .depend handling in here. It will cause some duplicate sources which need to be trimmed out. MFC after: 2 weeks Sponsored by: DellEMC
34 lines
666 B
Makefile
34 lines
666 B
Makefile
# $FreeBSD$
|
|
|
|
SSP_CFLAGS=
|
|
|
|
SED_FIX_NOTE = -i "" -e '/\.note\.tag/s/progbits/note/'
|
|
|
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
|
|
|
.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:
|
|
${CC} ${CFLAGS} -I${.CURDIR} -c -o ${.TARGET} ${.ALLSRC:N*.h:[1]}
|
|
|
|
crtbeginS.o crtendS.o:
|
|
${CC} ${CFLAGS} -I${.CURDIR} ${CFLAGS_CRTS} -c -o ${.TARGET} \
|
|
${.ALLSRC:N*.h:[1]}
|
|
|
|
.endif
|
|
|
|
.include "../Makefile.inc"
|