2 include $(TOP)/config/make.cfg
4 USER_INCLUDES := -I$(GENINCDIR)
6 #MM kernel-fs-emul-mingw32-linklib : includes linklibs kernel-fs-emul-mingw32-native
7 #MM kernel-fs-emul-mingw32-kobj : includes linklibs kernel-fs-emul-mingw32-native
9 %build_module mmake=kernel-fs-emul-mingw32 \
10 modname=emul modtype=device modsuffix=handler \
13 NATIVE_BINDIR := $(BINDIR)/Libs/Host
14 NATIVE_DIR := $(GENDIR)/native
15 NATIVE_OBJS := $(NATIVE_DIR)/emul_handler_native.o
20 kernel-fs-emul-mingw32-native: $(NATIVE_BINDIR)/emul_handler$(SOEXT)
22 $(NATIVE_BINDIR)/emul_handler$(SOEXT): $(NATIVE_OBJS) $(NATIVE_BINDIR)
23 $(KERNEL_CC) $(KERNEL_CFLAGS) -o $@ $(SO_LDFLAGS) $(NATIVE_OBJS) -L $(NATIVE_DIR) -lkernel
26 mkdir -p $(NATIVE_BINDIR)
31 $(NATIVE_DIR)/%.o : %.c $(NATIVE_DIR)
32 $(KERNEL_CC) $(KERNEL_CFLAGS) -o $@ -c $< -I$(GENINCDIR) -I$(TOP)/rom/exec