import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / arch / sparc64 / solaris / Makefile
1 #
2 # Makefile for the Solaris binary emulation.
3 #
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
7 #
8 # Note 2! The CFLAGS definition is now in the main makefile...
9
10 USE_STANDARD_AS_RULE := true
11 EXTRA_AFLAGS := -ansi
12
13 ifeq ($(CONFIG_SOLARIS_EMUL),m)
14   EXTRA_AFLAGS += $(MODFLAGS)
15 endif
16
17 list-multi := solaris.o
18
19 solaris-objs := entry64.o fs.o misc.o signal.o systbl.o socket.o \
20                 ioctl.o ipc.o socksys.o timod.o
21
22 obj-$(CONFIG_SOLARIS_EMUL) += solaris.o
23
24 ifneq ($(CONFIG_SOLARIS_EMUL),y)
25 do_it_all:
26 endif
27
28 solaris.o: $(solaris-objs)
29         $(LD) -r -o $@ $(solaris-objs)
30
31 include $(TOPDIR)/Rules.make