1 # Copyright © 2003-2019, The AROS Development Team. All rights reserved.
4 include $(SRCDIR)/config/aros.cfg
6 USER_CPPFLAGS := -DADATE="\"$(shell date "+%d.%m.%Y")\""
7 USER_INCLUDES := -I$(GENINCDIR) -I$(SRCDIR)
8 USER_CFLAGS := -fno-delete-null-pointer-checks
10 TARGET_ISA_AFLAGS:=$(ISA_MC68060_FLAGS)
12 #MM- workbench-c-m68k : includes \
13 #MM kernel-kernel-includes \
15 #MM workbench-c-m68k-gdbstub \
16 #MM workbench-c-m68k-misc \
17 #MM workbench-c-m68k-setpatcharos \
18 #MM workbench-c-m68k-arosbootstrap \
19 #MM workbench-c-m68k-mmudump \
20 #MM workbench-c-m68k-setpatch
22 #MM- workbench-c-m68k-quick: workbench-c-m68k-gdbstub-quick \
23 #MM workbench-c-m68k-misc-quick \
24 #MM workbench-c-m68k-setpatcharos-quick \
25 #MM workbench-c-m68k-arosbootstrap-quick \
26 #MM workbench-c-m68k-mmudump-quick \
27 #MM workbench-c-m68k-setpatch-quick
29 #MM workbench-c-m68k-gdbstub : linklibs-romhack
31 #MM workbench-c-m68k-arosbootstrap : linklibs-loadseg
33 #MM workbench-c-m68k-setpatcharos : linklibs-loadseg
34 #MM workbench-c-m68k-setpatch : kernel-setpatch-includes kernel-setpatch-linklib
36 USER_LDFLAGS := -static
40 %build_progs mmake=workbench-c-m68k-gdbstub \
41 files=$(FILES) targetdir=$(AROS_C) \
42 detach=yes uselibs=romhack coverageinstr=no
46 %build_progs mmake=workbench-c-m68k-misc \
47 files=$(FILES) targetdir=$(AROS_C) \
50 CFILES := SetPatchAROS
51 AFILES := newstackswap
52 USER_INCLUDES += -isystem $(SRCDIR)/rom/dos/include
53 USER_LDFLAGS := -L$(GENDIR)/lib -static
55 %build_prog mmake=workbench-c-m68k-setpatcharos progname=SetPatchAROS \
56 files=$(CFILES) asmfiles=$(AFILES) targetdir=$(AROSARCHDIR) \
57 uselibs="loadseg" coverageinstr=no
59 CFILES := AROSBootstrap
61 %build_prog mmake=workbench-c-m68k-arosbootstrap progname=AROSBootstrap \
62 files=$(CFILES) targetdir=$(AROSARCHDIR) \
63 usestartup=no uselibs="loadseg z.static" lto=no
67 %build_prog mmake=workbench-c-m68k-mmudump progname=MMUDump \
68 files=$(CFILES) targetdir=$(AROS_C) \
72 #USER_INCLUDES := -isystem
74 %build_prog mmake=workbench-c-m68k-setpatch progname=SetPatch \
75 files=$(CFILES) targetdir=$(AROS_C) \
76 uselibs=setpatch usestartup=no
78 # Some Tests to check SetPatch functionality ..
81 TARGET_ISA_CFLAGS := $(ISA_MC68020_FLAGS)
84 %build_prog mmake=workbench-c-m68k-setpatch-testcas progname=test-CAS \
85 files=$(CFILES) targetdir=$(AROS_TESTS)/m68k
87 #MM- workbench-c-m68k-setpatch-tests : workbench-c-m68k-setpatch-testcas
88 #MM- workbench-c-m68k-setpatch-tests-quick : workbench-c-m68k-setpatch-testcas-quick