Fix dependency generation for assembler files; closes PR 4476,
but differently since the suggested change breaks cross compiling.
This commit is contained in:
parent
f8cb8b4c14
commit
387294d4a5
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.mac68k,v 1.59 1997/11/12 23:12:11 thorpej Exp $
|
||||
# $NetBSD: Makefile.mac68k,v 1.60 1997/11/25 18:33:19 scottr Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
|
@ -158,12 +158,10 @@ SRCS= ${MAC68K}/mac68k/locore.s \
|
|||
param.c ioconf.c ${CFILES} ${SFILES}
|
||||
depend: .depend
|
||||
.depend: ${SRCS} assym.h param.c
|
||||
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${MAC68K}/mac68k/locore.s
|
||||
${MKDEP} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \
|
||||
${MAC68K}/mac68k/locore.s
|
||||
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
|
||||
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
|
||||
-if test -n "${SFILES}"; then \
|
||||
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}; \
|
||||
fi
|
||||
${MKDEP} -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${SFILES}
|
||||
sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
|
||||
${CPPFLAGS} < ${MAC68K}/mac68k/genassym.cf
|
||||
@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
|
||||
|
|
Loading…
Reference in New Issue