2 include $(TOP)/config/make.cfg
5 DEPS := $(foreach f,$(FILES),$(OSGENDIR)/$(f).d)
6 OS_INCLUDES := -I$(GENINCDIR)
7 CFLAGS2 := $(SHARED_CFLAGS) -I$(TOP)/rom/exec \
11 #MM- AROS-cygwin : setup-cygwin includes compiler kernel workbench demos shell
13 #MM- kernel-cygwin : kernel-exec-cygwin \
14 #MM kernel-aros-linklib \
15 #MM kernel-dos-cygwin \
16 #MM kernel-boot-linklib \
17 #MM kernel-graphics-cygwin \
18 #MM kernel-utility-cygwin \
19 #MM kernel-intuition-cygwin \
20 #MM kernel-keymap-linklib \
21 #MM kernel-mathffp-linklib \
22 #MM kernel-mathieeesingbas-linklib \
24 #MM kernel-expansion-linklib \
26 #MM kernel-filesys-unix \
27 #MM kernel-hidd-cygwin \
28 #MM kernel-timer-linklib \
29 #MM kernel-battclock-cygwin \
30 #MM kernel-oop-linklib \
31 #MM kernel-layers-linklib \
32 #MM kernel-workbench-linklib \
33 #MM kernel-cgfx-linklib
35 # Setup the CLIB metatargets...
36 #MM- setup-clib-cygwin : setup-clib-cygwin-$(CPU)
38 # Setup the ALIB metatargets...
39 #MM- setup-alib-cygwin : setup-alib-cygwin-$(CPU)
45 # FIXME move battclock to own rule
48 %mkdirs_q $(OSGENDIR) $(OSGENDIR)/exec $(OSGENDIR)/boot
49 %add_objects rom/boot/strap_emul
51 # These are the targets to get mmake to do what I want...
52 #MM setup-cygwin : setup-exec-cygwin setup-dos-cygwin setup-battclock-cygwin setup-$(GFXSYSTEM) setup-alib-cygwin
54 #MM setup-exec-cygwin : setup-exec-unix setup-exec-$(CPU)
55 setup-exec-cygwin : $(GENINCDIR)/sigcore.h
56 %add_objects rom/exec/init
59 $(GENINCDIR)/sigcore.h : sigcore.h
60 %mkdirs_q $(GENINCDIR)
61 $(CP) sigcore.h $(GENINCDIR)/sigcore.h
63 #MM- kernel-exec-cygwin : exec-cygwin exec-$(CPU) exec-unix \
64 #MM kernel-exec-linklib
67 exec-cygwin : $(OSGENDIR)/exec/init.o
70 #MM- setup-dos-cygwin : setup-dos-unix
72 #MM- kernel-dos-cygwin : dos-unix kernel-dos-linklib
74 #MM- setup-battclock-cygwin : setup-battclock-unix
76 #MM- kernel-graphics-cygwin : graphics-$(GFXSYSTEM) hidd-graphics-x11 kernel-graphics-linklib
78 #MM- kernel-intuition-cygwin : intuition-$(GFXSYSTEM) kernel-intuition-linklib
80 #MM- kernel-hidd-cygwin : kernel-hidd-linklib
82 MM- kernel-utility-cygwin : kernel-utility-linklib
84 #MM- kernel-battclock-cygwin : battclock-unix kernel-battclock-linklib
86 #MM- check : check-exec-unix
88 #MM- clib-cygwin : clib-cygwin-$(CPU)
90 #MM- alib-cygwin : alib-cygwin-$(CPU)
92 #MM- includes-cygwin : includes-copy includes-cygwin-$(CPU)
94 #MM- workbench-cygwin : workbench-complete
96 #MM- contrib-cygwin : contrib-complete
100 -$(RM) $(foreach f,$(FILES),$(OSGENDIR)/$(f).o) */*.err
102 $(OSGENDIR)/%.o : %.c
103 %compile_q opt=$(CFLAGS2)
105 $(OSGENDIR)/%.d : %.c
106 %mkdepend_q flags=$(CFLAGS2)