aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib/csu/Makefile
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2012-05-17 20:38:01 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2012-05-17 20:38:01 +0000
commitc7a6b0911b82c657a5b86f2a2b2da97f57a1398b (patch)
tree9399be1bf830c06bb1032e62c8b1a614c4a0e26b /gnu/lib/csu/Makefile
parente7b903bf3d23e7869e355b481ec8e413e017cc84 (diff)
Notes
Diffstat (limited to 'gnu/lib/csu/Makefile')
-rw-r--r--gnu/lib/csu/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile
index 4999d06a578f..a65be66f3826 100644
--- a/gnu/lib/csu/Makefile
+++ b/gnu/lib/csu/Makefile
@@ -12,7 +12,7 @@ CCDIR= ${.CURDIR}/../../usr.bin/cc
SRCS= crtstuff.c tconfig.h tm.h options.h
OBJS= crtbegin.o crtend.o crtbeginT.o
-SOBJS= crtbegin.So crtend.So
+SOBJS= crtbeginS.o crtendS.o
CSTD?= gnu89
CFLAGS+= -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3
CFLAGS+= -finhibit-size-directive -fno-inline-functions \
@@ -55,7 +55,7 @@ crtbeginT.o: ${BEGINSRC}
${CC} ${CFLAGS} -g0 -DCRT_BEGIN -DCRTSTUFFT_O \
-c -o ${.TARGET} ${.ALLSRC:N*.h}
-crtbegin.So: ${BEGINSRC}
+crtbeginS.o: ${BEGINSRC}
${CC} ${CFLAGS} -g0 -DCRT_BEGIN ${CRTS_CFLAGS} \
-c -o ${.TARGET} ${.ALLSRC:N*.h}
@@ -63,7 +63,7 @@ crtend.o: ${ENDSRC}
${CC} ${CFLAGS} -g0 -DCRT_END \
-c -o ${.TARGET} ${.ALLSRC:N*.h}
-crtend.So: ${ENDSRC}
+crtendS.o: ${ENDSRC}
${CC} ${CFLAGS} -g0 -DCRT_END ${CRTS_CFLAGS} \
-c -o ${.TARGET} ${.ALLSRC:N*.h}
@@ -74,7 +74,7 @@ tm.h tconfig.h options.h: ${CCDIR}/cc_tools/Makefile
realinstall:
.for file in ${OBJS} ${SOBJS} ${TGTOBJS}
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
- ${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/}
+ ${file} ${DESTDIR}${LIBDIR}/${file}
.endfor
.include <bsd.lib.mk>