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 $(CFLAGS)
9 #MM- AROS-netbsd : setup-netbsd includes compiler kernel workbench \
12 #MM- kernel-netbsd : \
13 #MM kernel-aros-linklib \
14 #MM kernel-battclock-netbsd \
15 #MM kernel-boot-linklib \
17 #MM kernel-dos-netbsd \
18 #MM kernel-exec-netbsd \
19 #MM kernel-expansion-linklib \
21 #MM kernel-filesys-unix \
22 #MM kernel-hidd-netbsd \
23 #MM kernel-graphics-netbsd \
24 #MM kernel-intuition-netbsd \
25 #MM kernel-keymap-linklib \
26 #MM kernel-mathffp-linklib \
27 #MM kernel-mathieeesingbas-linklib \
28 #MM kernel-timer-linklib \
29 #MM kernel-utility-netbsd \
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-netbsd : setup-clib-netbsd-$(CPU)
43 #MM setup-exec-netbsd \
45 #MM setup-battclock-unix \
46 #MM setup-$(GFXSYSTEM)
48 %mkdirs_q $(OSGENDIR) $(OSGENDIR)/exec $(OSGENDIR)/boot
49 %add_objects rom/boot/strap_emul
52 #MM setup-exec-netbsd : setup-exec-unix setup-exec-$(CPU)
53 setup-exec-netbsd : $(GENINCDIR)/sigcore.h
54 %add_objects rom/exec/init
56 $(GENINCDIR)/sigcore.h : $(TOP)/config/netbsd/exec/sigcore.h
57 %mkdirs_q $(GENINCDIR)
60 #MM- kernel-exec-netbsd : \
64 #MM kernel-exec-linklib
67 exec-netbsd : $(OSGENDIR)/exec/init.o
69 #MM- setup-dos-netbsd : setup-dos-unix
71 #MM- kernel-dos-netbsd : dos-unix kernel-dos-linklib
73 #MM- setup-battclock-netbsd : setup-battclock-unix
75 #MM- kernel-graphics-netbsd : graphics-$(GFXSYSTEM) hidd-graphics-x11 kernel-graphics-linklib
77 #MM- kernel-intuition-netbsd : intuition-$(GFXSYSTEM) kernel-intuition-linklib
79 #MM- kernel-hidd-netbsd : kernel-hidd-linklib kernel-hidd-unix
81 #MM- kernel-utility-netbsd : kernel-utility-linklib
83 #MM- kernel-battclock-netbsd : battclock-unix kernel-battclock-linklib
85 #MM- check : check-exec-unix
87 #MM- clib-netbsd : clib-netbsd-$(CPU)
89 #MM- includes-netbsd : includes-copy includes-netbsd-$(CPU)
91 #MM- workbench-netbsd : workbench-complete workbench-hidd-unix
95 -$(RM) $(foreach f,$(FILES),$(OSGENDIR)/$(f).o) */*.err
98 %compile_q opt=$(CFLAGS2)
100 $(OSGENDIR)/%.d : %.c
101 %mkdepend_q flags=$(CFLAGS2)