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 ifeq ($(CONFIG_SOLARIS_EMUL
),m
)
11 CPPFLAGS
= $(MODFLAGS
)
15 $(CPP
) $(AFLAGS
) $(CPPFLAGS
) -ansi
$< -o
$*.s
18 $(CC
) $(AFLAGS
) $(CPPFLAGS
) -ansi
-c
$< -o
$*.o
20 list-multi
:= solaris.o
22 solaris-objs
:= entry64.o fs.o misc.o signal.o systbl.o socket.o \
23 ioctl.o ipc.o socksys.o timod.o
25 obj-
$(CONFIG_SOLARIS_EMUL
) += solaris.o
27 ifneq ($(CONFIG_SOLARIS_EMUL
),y
)
31 solaris.o
: $(solaris-objs
)
32 $(LD
) -r
-o
$@
$(solaris-objs
)
34 include $(TOPDIR
)/Rules.make