patch-1.3.44 linux/arch/sparc/mm/Makefile

Next file: linux/arch/sparc/mm/fault.c
Previous file: linux/arch/sparc/lib/urem.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.43/linux/arch/sparc/mm/Makefile linux/arch/sparc/mm/Makefile
@@ -1,4 +1,4 @@
-#
+# $Id: Makefile,v 1.14 1995/11/25 00:59:17 davem Exp $
 # Makefile for the linux Sparc-specific parts of the memory manager.
 #
 # Note! Dependencies are done automagically by 'make dep', which also
@@ -7,7 +7,21 @@
 #
 # Note 2! The CFLAGS definition is now in the main makefile...
 
+# Also note that s4ctlb.o _must_ be the last object file
+
+#.S.s:
+#	$(CPP) -D__ASSEMBLY__ -ansi $< -o $*.s
+.S.o:
+	$(CC) -D__ASSEMBLY__ -ansi -c $< -o $*.o
+
+all: mm.o
 O_TARGET := mm.o
-O_OBJS   := fault.o vac-flush.o init.o sun4c.o srmmu.o loadmmu.o
+O_OBJS   := fault.o sun4c_vac.o init.o sun4c.o srmmu.o loadmmu.o mbus.o \
+            s4cflush.o
+
+#s4cflush.o: s4cflush.s
+
+s4cflush.o: s4cflush.S
+	$(CC) -D__ASSEMBLY__ -ansi -c $*.S -o $*.o
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this