aboutsummaryrefslogtreecommitdiff
path: root/lib/csu/amd64
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-07-03 00:09:41 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2020-07-03 00:09:41 +0000
commitb0ee263dbd3552d5b1776be0efc1c2d105f873b1 (patch)
tree7b37f60204d1adcd1996e72cf89c946591abf94a /lib/csu/amd64
parent22335c3c63edfea2dfc9aed46da605b1c6ea63ed (diff)
Notes
Diffstat (limited to 'lib/csu/amd64')
-rw-r--r--lib/csu/amd64/Makefile32
1 files changed, 1 insertions, 31 deletions
diff --git a/lib/csu/amd64/Makefile b/lib/csu/amd64/Makefile
index 9fe13057368f2..19610749b59c8 100644
--- a/lib/csu/amd64/Makefile
+++ b/lib/csu/amd64/Makefile
@@ -2,37 +2,7 @@
.PATH: ${.CURDIR:H}/common
-SRCS= crti.S crtn.S
-OBJS= ${SRCS:N*.h:R:S/$/.o/g}
-OBJS+= Scrt1.o crt1.o gcrt1.o
-CFLAGS+= -I${.CURDIR} -I${.CURDIR:H}/common \
- -I${SRCTOP}/lib/libc/include
+CFLAGS+= -I${.CURDIR}
CFLAGS+= -fno-omit-frame-pointer -DCRT_IRELOC_RELA
-FILES= ${OBJS}
-FILESMODE= ${LIBMODE}
-FILESOWN= ${LIBOWN}
-FILESGRP= ${LIBGRP}
-FILESDIR= ${LIBDIR}
-# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY.
-.undef LIBRARIES_ONLY
-
-CLEANFILES= ${OBJS} crt1_c.o gcrt1_c.o Scrt1_c.o
-CLEANFILES+= crtbrand.o ignore_init_note.o
-
-gcrt1_c.o: crt1_c.c
- ${CC} ${CFLAGS} -DGCRT -c -o ${.TARGET} ${.CURDIR}/crt1_c.c
-
-gcrt1.o: gcrt1_c.o crtbrand.o ignore_init_note.o
- ${LD} ${_LDFLAGS} -o gcrt1.o -r crtbrand.o ignore_init_note.o gcrt1_c.o
-
-crt1.o: crt1_c.o crtbrand.o ignore_init_note.o
- ${LD} ${_LDFLAGS} -o crt1.o -r crtbrand.o ignore_init_note.o crt1_c.o
-
-Scrt1_c.o: crt1_c.c
- ${CC} ${CFLAGS} -fPIC -DPIC -c -o ${.TARGET} ${.CURDIR}/crt1_c.c
-
-Scrt1.o: Scrt1_c.o crtbrand.o ignore_init_note.o
- ${LD} ${_LDFLAGS} -o Scrt1.o -r crtbrand.o ignore_init_note.o Scrt1_c.o
-
.include <bsd.lib.mk>