patch-2.4.0-prerelease linux/arch/sparc/prom/Makefile

Next file: linux/arch/sparc64/Makefile
Previous file: linux/arch/sparc/mm/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/arch/sparc/prom/Makefile linux/arch/sparc/prom/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.7 1999/12/21 04:02:21 davem Exp $
+# $Id: Makefile,v 1.8 2000/12/15 00:41:22 davem Exp $
 # Makefile for the Sun Boot PROM interface library under
 # Linux.
 #
@@ -8,20 +8,11 @@
 #
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
-OBJS  = bootstr.o devmap.o devops.o init.o memory.o misc.o mp.o \
-	palloc.o ranges.o segment.o console.o printf.o tree.o
+L_TARGET = promlib.a
 
-ifeq ($(CONFIG_SUN4),y)
-OBJS += sun4prom.o
-endif
+obj-y := bootstr.o devmap.o devops.o init.o memory.o misc.o mp.o \
+	 palloc.o ranges.o segment.o console.o printf.o tree.o
 
-all: promlib.a
-
-promlib.a: $(OBJS)
-	$(AR) rcs promlib.a $(OBJS)
-	sync
-
-dep:
-	$(CPP) $(CPPFLAGS) -M *.c > .depend
+obj-$(CONFIG_SUN4) += sun4prom.o
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)