summaryrefslogtreecommitdiff
path: root/sys/arch/pica/conf
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-05-30 14:38:13 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-05-30 14:38:13 +0000
commitadc752e0c93f65d6f907beb9a9227b47c790cf34 (patch)
treea667fb51cff35e4ba586ace6859c62692ec49199 /sys/arch/pica/conf
parent117d33b02924ca90635a242c5683cc4faf475b7e (diff)
A few small changes.
Diffstat (limited to 'sys/arch/pica/conf')
-rw-r--r--sys/arch/pica/conf/Makefile.pica16
1 files changed, 9 insertions, 7 deletions
diff --git a/sys/arch/pica/conf/Makefile.pica b/sys/arch/pica/conf/Makefile.pica
index cef62ce7bbe..1440d0ee623 100644
--- a/sys/arch/pica/conf/Makefile.pica
+++ b/sys/arch/pica/conf/Makefile.pica
@@ -73,6 +73,8 @@ NORMAL_S_C= ${AS} ${COPTS} ${PARAM} $< -o $@
%CFILES
+%SFILES
+
# load lines for config "xxx" will be emitted as:
# xxx: ${SYSTEM_DEP} swapxxx.o
# ${SYSTEM_LD_HEAD}
@@ -124,9 +126,6 @@ fp.o: ${PICA}/pica/fp.S ${PICA}/include/machAsmDefs.h \
${PICA}/include/machConst.h ${PICA}/include/reg.h assym.h
${NORMAL_S} -mips3 ${PICA}/pica/fp.S
-# the following is necessary because autoconf.o depends on #if GENERIC
-autoconf.o: Makefile
-
# the following are necessary because the files depend on the types of
# cpu's included in the system configuration
clock.o machdep.o autoconf.o conf.o: Makefile
@@ -145,10 +144,6 @@ genassym: genassym.o
genassym.o: ${PICA}/pica/genassym.c
${USRLAND_C_C}
-depend: assym.h param.c
- mkdep ${COPTS} ${CFILES} ioconf.c param.c
- mkdep -a -p ${INCLUDES} ${IDENT} ${PARAM} ${PICA}/pica/genassym.c
-
links:
egrep '#if' ${CFILES} | sed -f $S/conf/defines | \
sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink
@@ -174,5 +169,12 @@ newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
sh $S/conf/newvers.sh
${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
+depend:: .depend
+.depend: ${SRCS} assym.h param.c
+ mkdep ${AFLAGS} ${CPPFLAGS} ${PICA}/pica/locore.s
+ mkdep -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
+ mkdep -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
+ mkdep -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${PICA}/pica/genassym.c
+
%RULES