1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

Put lib/csu/amd64/Makefile back the way it is in head

and handle staging via ../Makefile.inc
This commit is contained in:
Simon J. Gerraty 2014-11-30 18:42:29 +00:00
parent b6209a9b58
commit 6e7d005c83
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/bmake/; revision=275338
3 changed files with 9 additions and 9 deletions

View File

@ -7,3 +7,8 @@ SED_FIX_NOTE = -i "" -e '/\.note\.tag/s/progbits/note/'
NO_WMISSING_VARIABLE_DECLARATIONS=
.include "../Makefile.inc"
.if ${MK_STAGING} == "yes" && ${.TARGETS:Nall} == ""
FILES?= ${OBJS}
FILESDIR?= ${LIBDIR}
.endif

View File

@ -9,12 +9,6 @@ CFLAGS+= -I${.CURDIR}/../common \
-I${.CURDIR}/../../libc/include
CFLAGS+= -fno-omit-frame-pointer
FILES= ${OBJS}
FILESOWN= ${LIBOWN}
FILESGRP= ${LIBGRP}
FILESMODE= ${LIBMODE}
FILESDIR= ${LIBDIR}
all: ${OBJS}
CLEANFILES= ${OBJS}
@ -44,5 +38,8 @@ Scrt1.s: crt1.c
Scrt1.o: Scrt1.s
${CC} ${ACFLAGS} -c -o ${.TARGET} Scrt1.s
realinstall:
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${OBJS} ${DESTDIR}${LIBDIR}
.include <bsd.prog.mk>
.include <bsd.lib.mk>

View File

@ -2,8 +2,6 @@
DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
DEP_MACHINE := ${.PARSEFILE:E}
DIRDEPS = \
include \