1 # Copyright © 2003-2019, The AROS Development Team. All rights reserved.
4 include $(SRCDIR)/config/aros.cfg
62 # Files that use AROS_SHx() instead of main()
78 USER_CFLAGS := -DADATE="\"$(shell date "+%d.%m.%Y")\"" -I$(OBJDIR)
79 # We compile the core C: programs statically, for two reasons:
80 # * The amiga-m68k boot floppy doesn't have space for stdc.library
81 # * This gives us some possibility of system recovery if LIBS:
82 # is deleted or badly Assign(ed).
83 USER_LDFLAGS := -static
85 #MM- workbench : workbench-c
86 #MM- workbench-quick : workbench-c-quick
88 #MM workbench-c : workbench-c-$(AROS_TARGET_CPU)
89 #MM workbench-c-quick : workbench-c-$(AROS_TARGET_CPU)-quick
91 #MM workbench-c : includes kernel-task-includes linklibs workbench-c-adddatatypes workbench-c-sh workbench-c-requeststring workbench-libs-uuid
92 #MM workbench-c-quick : workbench-c-adddatatypes-quick workbench-c-sh-quick workbench-c-requeststring-quick
94 %build_prog mmake=workbench-c-requeststring progname=RequestString \
95 files=RequestString targetdir=$(AROS_C) coverageinstr=no
97 $(OBJDIR)/evalParser.tab.c : evalParser.y
98 @$(ECHO) Generating $(notdir $@) from $<...
101 %build_progs mmake=workbench-c \
102 files="$(FILES)" targetdir=$(AROS_C) \
103 uselibs="uuid debug" coverageinstr=no
105 $(workbench-c_DEPS) : $(OBJDIR)/evalParser.tab.c
107 %build_progs mmake=workbench-c-sh \
108 files=$(SH_FILES) targetdir=$(AROS_C) \
111 ifneq ($(AROS_TARGET_CPU),m68k)
112 USER_CFLAGS += -DTARGETCPU="\"$(AROS_TARGET_CPU)\""
115 %build_prog mmake=workbench-c-adddatatypes progname=AddDataTypes \
116 files="$(DTFILE)" targetdir=$(AROS_C) coverageinstr=no