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

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

diff -u --recursive --new-file v2.4.0-test12/linux/arch/sparc64/prom/Makefile linux/arch/sparc64/prom/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.6 2000/03/31 04:06:25 davem Exp $
+# $Id: Makefile,v 1.7 2000/12/14 22:57:25 davem Exp $
 # Makefile for the Sun Boot PROM interface library under
 # Linux.
 #
@@ -8,22 +8,14 @@
 #
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
-OBJS  = bootstr.o devops.o init.o memory.o misc.o \
-        tree.o console.o printf.o p1275.o map.o
-
-all: promlib.a
-
-promlib.a: $(OBJS)
-	$(AR) rcs promlib.a $(OBJS)
-	sync
+L_TARGET = promlib.a
+obj-y   := bootstr.o devops.o init.o memory.o misc.o \
+	   tree.o console.o printf.o p1275.o map.o
 
 .S.s:
 	$(CPP) $(AFLAGS) -ansi $< -o $*.s
 
 .S.o:
 	$(CC) $(AFLAGS) -ansi -c $< -o $*.o
-
-dep:
-	$(CPP) $(CPPFLAGS) -M *.c > .depend
 
 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)