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-openbsd-i386 : AROS-openbsd
10 #MM- setup-openbsd-i386 : setup-openbsd
12 #MM- AROS-openbsd : setup-openbsd includes compiler kernel workbench \
15 #MM- kernel-openbsd : \
16 #MM kernel-aros-linklib \
17 #MM kernel-battclock-openbsd \
18 #MM kernel-boot-linklib \
20 #MM kernel-dos-openbsd \
21 #MM kernel-exec-openbsd \
22 #MM kernel-expansion-linklib \
24 #MM kernel-filesys-unix \
25 #MM kernel-hidd-openbsd \
26 #MM kernel-graphics-openbsd \
27 #MM kernel-intuition-openbsd \
28 #MM kernel-keymap-linklib \
29 #MM kernel-mathffp-linklib \
30 #MM kernel-mathieeesingbas-linklib \
31 #MM kernel-timer-linklib \
32 #MM kernel-utility-openbsd \
33 #MM kernel-oop-linklib \
34 #MM kernel-layers-linklib \
35 #MM kernel-workbench-linklib \
36 #MM kernel-cgfx-linklib
38 # Setup the CLIB metatargets...
39 #MM- setup-clib-openbsd : setup-clib-openbsd-$(CPU)
46 #MM setup-exec-openbsd \
48 #MM setup-battclock-unix \
49 #MM setup-$(GFXSYSTEM)
51 %mkdirs_q $(OSGENDIR) $(OSGENDIR)/exec $(OSGENDIR)/boot
52 %add_objects rom/boot/strap_emul
55 #MM setup-exec-openbsd : setup-exec-unix setup-exec-$(CPU)
56 setup-exec-openbsd : $(GENINCDIR)/sigcore.h
57 %add_objects rom/exec/init
59 $(GENINCDIR)/sigcore.h : $(TOP)/config/openbsd/exec/sigcore.h
60 %mkdirs_q $(GENINCDIR)
63 #MM- kernel-exec-openbsd : \
67 #MM kernel-exec-linklib
70 exec-openbsd : $(OSGENDIR)/exec/init.o
72 #MM- setup-dos-openbsd : setup-dos-unix
74 #MM- kernel-dos-openbsd : dos-unix kernel-dos-linklib
76 #MM- setup-battclock-openbsd : setup-battclock-unix
78 #MM- kernel-graphics-openbsd : graphics-$(GFXSYSTEM) hidd-graphics-x11 kernel-graphics-linklib
80 #MM- kernel-intuition-openbsd : intuition-$(GFXSYSTEM) kernel-intuition-linklib
82 #MM- kernel-hidd-openbsd : kernel-hidd-linklib kernel-hidd-unix
84 #MM- kernel-utility-openbsd : kernel-utility-linklib
86 #MM- kernel-battclock-openbsd : battclock-unix kernel-battclock-linklib
88 #MM- check : check-exec-unix
90 #MM- clib-openbsd : clib-openbsd-$(CPU)
92 #MM- includes-openbsd : includes-copy includes-openbsd-$(CPU)
94 #MM- workbench-openbsd : workbench-complete workbench-hidd-unix
98 -$(RM) $(foreach f,$(FILES),$(OSGENDIR)/$(f).o) */*.err
100 $(OSGENDIR)/%.o : %.c
101 %compile_q opt=$(CFLAGS2)
103 $(OSGENDIR)/%.d : %.c
104 %mkdepend_q flags=$(CFLAGS2)