2 # Makefile for the Solaris binary emulation.
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).
8 # Note 2! The CFLAGS definition is now in the main makefile...
10 USE_STANDARD_AS_RULE := true
13 ifeq ($(CONFIG_SOLARIS_EMUL),m)
14 EXTRA_AFLAGS += $(MODFLAGS)
17 list-multi := solaris.o
19 solaris-objs := entry64.o fs.o misc.o signal.o systbl.o socket.o \
20 ioctl.o ipc.o socksys.o timod.o
22 obj-$(CONFIG_SOLARIS_EMUL) += solaris.o
24 ifneq ($(CONFIG_SOLARIS_EMUL),y)
28 solaris.o: $(solaris-objs)
29 $(LD) -r -o $@ $(solaris-objs)
31 include $(TOPDIR)/Rules.make