summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/solaris/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-01-10 17:17:53 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-01-10 17:17:53 +0000
commitb2ad5f821b1381492d792ca10b1eb7a107b48f14 (patch)
tree954a648692e7da983db1d2470953705f6a729264 /arch/sparc64/solaris/Makefile
parentc9c06167e7933d93a6e396174c68abf242294abb (diff)
Merge with Linux 2.4.0-prerelease. Big Makefile rewrite, test your
Makefiles.
Diffstat (limited to 'arch/sparc64/solaris/Makefile')
-rw-r--r--arch/sparc64/solaris/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/sparc64/solaris/Makefile b/arch/sparc64/solaris/Makefile
index 51598f727..d3a2880d8 100644
--- a/arch/sparc64/solaris/Makefile
+++ b/arch/sparc64/solaris/Makefile
@@ -7,10 +7,7 @@
#
# Note 2! The CFLAGS definition is now in the main makefile...
-O_TARGET := solaris.o
-O_OBJS := entry64.o fs.o misc.o signal.o systbl.o socket.o ioctl.o ipc.o socksys.o timod.o
ifeq ($(CONFIG_SOLARIS_EMUL),m)
-M_OBJS := $(O_TARGET)
CPPFLAGS = $(MODFLAGS)
endif
@@ -20,8 +17,18 @@ endif
.S.o:
$(CC) $(AFLAGS) $(CPPFLAGS) -ansi -c $< -o $*.o
+list-multi := solaris.o
+
+solaris-objs := entry64.o fs.o misc.o signal.o systbl.o socket.o \
+ ioctl.o ipc.o socksys.o timod.o
+
+obj-$(CONFIG_SOLARIS_EMUL) += solaris.o
+
ifneq ($(CONFIG_SOLARIS_EMUL),y)
do_it_all:
endif
+solaris.o: $(solaris-objs)
+ $(LD) -r -o $@ $(solaris-objs)
+
include $(TOPDIR)/Rules.make