#
# Makefile for the Solaris binary emulation.
#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-# Note 2! The CFLAGS definition is now in the main makefile...
+ USE_STANDARD_AS_RULE := true
+ EXTRA_AFLAGS := -ansi
+
ifeq ($(CONFIG_SOLARIS_EMUL),m)
- CPPFLAGS = $(MODFLAGS)
+ EXTRA_AFLAGS += $(MODFLAGS)
endif
- .S.s:
- $(CPP) $(AFLAGS) $(CPPFLAGS) -ansi $< -o $*.s
-
- .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