summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-05-07 00:08:30 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-05-07 00:08:30 +0000
commitdf411a300f197f9e90f7df507d664853e72fc417 (patch)
treeb07c0a970b728ecc7078a0eed7197bf6191e13ea /gnu
parentbc2fcd34bc2669d7fcd94f69cb4305412a3f58c8 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/csu/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile
index 5e9a5999fe5a..e4ba7191c005 100644
--- a/gnu/lib/csu/Makefile
+++ b/gnu/lib/csu/Makefile
@@ -16,11 +16,12 @@ CFLAGS+= -I${GCCDIR}/config -I${GCCDIR} -I. \
-I${CCDIR}/cc_tools
CRTS_CFLAGS= -DCRTSTUFFS_O ${PICFLAG}
MKDEPCMD= CC=${CC} MKDEP_CPP_OPTS="-M -DCRT_BEGIN" mkdep
-INTERNALLIB= true
+NOLIB= true
.if ${TARGET_ARCH} == "sparc64"
.PATH: ${GCCDIR}/config/${GCC_CPU}
-TGTOBJS= crtfastmath.o
+TGTOBJS= crtfastmath.o
+SRCS+= crtfastmath.c
.endif
all: ${OBJS} ${SOBJS} ${TGTOBJS}
@@ -29,23 +30,23 @@ crtbegin.o crtbegin.So crtend.o crtend.So: ${SRCS}
crtbegin.o:
${CC} ${CFLAGS} -g0 -DCRT_BEGIN \
- -c -o ${.TARGET} ${.ALLSRC:N*.h}
+ -c -o ${.TARGET} ${.ALLSRC:M*crtstuff*}
crtbegin.So:
${CC} ${CFLAGS} -g0 -DCRT_BEGIN ${CRTS_CFLAGS} \
- -c -o ${.TARGET} ${.ALLSRC:N*.h}
+ -c -o ${.TARGET} ${.ALLSRC:M*crtstuff*}
crtend.o:
${CC} ${CFLAGS} -g0 -DCRT_END \
- -c -o ${.TARGET} ${.ALLSRC:N*.h}
+ -c -o ${.TARGET} ${.ALLSRC:M*crtstuff*}
crtend.So:
${CC} ${CFLAGS} -g0 -DCRT_END ${CRTS_CFLAGS} \
- -c -o ${.TARGET} ${.ALLSRC:N*.h}
+ -c -o ${.TARGET} ${.ALLSRC:M*crtstuff*}
CLEANFILES= tconfig.h
tconfig.h: ${CCDIR}/cc_tools/Makefile
- ${MAKE} -f ${.ALLSRC} MFILE=${.ALLSRC} ${.TARGET}
+ ${MAKE} -f ${.ALLSRC} MFILE=${.ALLSRC} GCCDIR=${GCCDIR} ${.TARGET}
realinstall:
.for file in ${OBJS} ${SOBJS} ${TGTOBJS}