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
10USE_STANDARD_AS_RULE := true
11EXTRA_AFLAGS := -ansi
12
13ifeq ($(CONFIG_SOLARIS_EMUL),m)
14  EXTRA_AFLAGS += $(MODFLAGS)
15endif
16
17list-multi := solaris.o
18
19solaris-objs := entry64.o fs.o misc.o signal.o systbl.o socket.o \
20		ioctl.o ipc.o socksys.o timod.o
21
22obj-$(CONFIG_SOLARIS_EMUL) += solaris.o
23
24ifneq ($(CONFIG_SOLARIS_EMUL),y)
25do_it_all:
26endif
27
28solaris.o: $(solaris-objs)
29	$(LD) -r -o $@ $(solaris-objs)
30
31include $(TOPDIR)/Rules.make
32