mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Fix this so it is a Makefile and not a shell script -- now issuing `make'
a second time does not rebuild the binary.
This commit is contained in:
parent
a2c06ee095
commit
2111e67c80
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64230
@ -20,7 +20,7 @@ CFLAGS+= -I${.CURDIR}/../../.. -I.
|
||||
CFLAGS+= -DLOADER
|
||||
|
||||
CLEANFILES+= setdef0.c setdef0.o setdef1.c setdef1.o setdefs.h start.o \
|
||||
vers.c vers.o ${BASE} ${BASE}.exe ${BASE}.sym ${BASE}.list
|
||||
vers.c vers.o ${BASE}.exe ${BASE}.sym ${BASE}.list
|
||||
CLEANFILES+= loader.help
|
||||
CLEANFILES+= machine
|
||||
|
||||
@ -39,10 +39,10 @@ vers.o: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
|
||||
sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
|
||||
${CC} -c vers.c
|
||||
|
||||
${BASE}.exe: ${BASE} ${BASE}.help
|
||||
${BASE}.exe: ${BASE}.sym ${BASE}.help
|
||||
elf2exe ${BASE}.sym ${BASE}.exe
|
||||
|
||||
${BASE}: ${OBJS} ${LIBSTAND} ${LIBARC} ${CRT} vers.o setdef0.o setdef1.o
|
||||
${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBARC} ${CRT} vers.o setdef0.o setdef1.o
|
||||
${LD} -o ${BASE}.sym -M -N -Ttext ${LOAD_ADDRESS} \
|
||||
${CRT} setdef0.o ${OBJS} setdef1.o vers.o -L${DESTDIR}${LIBDIR} \
|
||||
${LIBSTAND} ${LIBARC} ${LIBSTAND} >${.OBJDIR}/${BASE}.list
|
||||
|
Loading…
Reference in New Issue
Block a user