fix behaviour of m68k/Laddsf$nf so that infinity if returned with the correct sign...
[AROS.git] / workbench / c / mmakefile.src
blobaa306834f9e226718a0661333cdad3c96acb6147
1 # Copyright © 2003-2013, The AROS Development Team. All rights reserved.
2 # $Id$
4 include $(SRCDIR)/config/aros.cfg
6 FILES := \
7     AddBuffers \
8     Automount \
9     Avail \
10     Break \
11     ChangeTaskPri \
12     CheckMem \
13     ConClip \
14     CopyToPAR \
15     Date \
16     Delete \
17     DevList \
18     DiskChange \
19     Eject \
20     Eval \
21     Filenote \
22     IconX \
23     Info \
24     Install \
25     Join \
26     LeakWatch \
27     LibList \
28     List \
29     Load \
30     Lock \
31     MakeDir \
32     MakeLink \
33     Mount \
34     Protect \
35     Reboot \
36     Relabel \
37     Rename \
38     RequestChoice \
39     RequestFile \
40     ResList \
41     Search \
42     SetClock \
43     SetDate \
44     SetDefaultFont \
45     SetLocale \
46     Shutdown \
47     Sort \
48     StackSnoop \
49     SymbolDump \
50     TaskList \
51     Touch \
52     Type \
53     UUIDGen \
54     Version \
55     Wait \
56     WaitForPort \
57     Which
59 DTFILE := \
60     AddDataTypes
62 BLFILES :=  \
63     install-i386-pc \
64     Install-grub2-i386-pc
66 # Files that use AROS_SHx() instead of main()
67 SH_FILES := \
68     AROSMonDrvs \
69     Assign \
70     Beep \
71     BindDrivers \
72     Copy \
73     Debug \
74     Dir \
75     GfxControl \
76     LoadWB \
77     Play \
78     Print \
79     SetKeyboard \
80     WaitX
82 USER_CFLAGS     := -DADATE="\"$(shell date "+%d.%m.%Y")\"" -I$(OBJDIR)
83 # We compile the core C: programs statically, for two reasons:
84 #   * The amiga-m68k boot floppy doesn't have space for stdc.library
85 #   * This gives us some possibility of system recovery if LIBS:
86 #     is deleted or badly Assign(ed).
87 USER_LDFLAGS    := -static
89 #MM- workbench : workbench-c
90 #MM- workbench-quick : workbench-c-quick
92 #MM workbench-c : includes kernel-task-includes linklibs workbench-c-adddatatypes workbench-c-sh workbench-c-requeststring workbench-libs-uuid
93 #MM workbench-c-quick : workbench-c-adddatatypes-quick workbench-c-sh-quick workbench-c-requeststring-quick
95 %build_prog mmake=workbench-c-requeststring progname=RequestString \
96     files=RequestString targetdir=$(AROS_C)
98 %build_progs mmake=workbench-c \
99     files="$(FILES) $(BLFILES)" targetdir=$(AROS_C) \
100     uselibs="uuid debug"
102 %build_progs mmake=workbench-c-sh \
103     files=$(SH_FILES) targetdir=$(AROS_C) \
104     usestartup=no
106 ifneq ($(AROS_TARGET_CPU),m68k)
107     USER_CFLAGS += -DTARGETCPU="\"$(AROS_TARGET_CPU)\""
108 endif
110 %build_prog mmake=workbench-c-adddatatypes progname=AddDataTypes \
111     files="$(DTFILE)" targetdir=$(AROS_C)
113 $(OBJDIR)/evalParser.tab.c : evalParser.y
114         @$(ECHO) Generating $(notdir $@) from $<...
115         @$(BISON) -o $@ $<
117 $(OBJDIR)/Eval.d : $(OBJDIR)/evalParser.tab.c
118         @$(NOP)
120 %common