Less sloppy handling of IoErr().
[AROS.git] / rom / intuition / mmakefile.src
blobad1bfc9c20e58bc270946171e7e555742ab94d7e
1 # $Id$
2 include $(TOP)/config/make.cfg
4 FILES := boolgadgets boopsigadgets buttongclass frameiclass frbuttonclass \
5          gadgetclass gadgets imageclass inputhandler propgadgets propgclass \
6          requesters strgadgets strgclass  pointerclass windowclasses \
7          intuition_misc inputhandler_support inputhandler_actions \
8          menus barlabelclass fillrectclass groupgclass wbtasktalk \
9          rootclass icclass modelclass itexticlass misc sysiclass menutask \
10          windecorclass scrdecorclass menudecorclass monitorclass screennotifytask \
11          screenclass decoration sysrequest_intern shutdownscreen
13 FUNCS := \
14         activategadget \
15         activatewindow \
16         addclass \
17         addgadget \
18         addglist \
19         allocintuimessage \
20         allocremember \
21         allocscreenbuffer \
22         alohaworkbench \
23         autorequest \
24         beginrefresh \
25         buildeasyrequestargs \
26         buildsysrequest \
27         changedecorationa \
28         changescreenbuffer \
29         changewindowbox \
30         changewindowshape \
31         cleardmrequest \
32         clearmenustrip \
33         clearpointer \
34         closescreen \
35         closewindow \
36         closeworkbench \
37         currenttime \
38         displayalert \
39         displaybeep \
40         disposeobject \
41         dogadgetmethoda \
42         donotify \
43         doubleclick \
44         drawborder \
45         drawimage \
46         drawimagestate \
47         easyrequestargs \
48         endrefresh \
49         endrequest \
50         endscreennotify \
51         eraseimage \
52         findclass \
53         findmonitor \
54         freeclass \
55         freeicdata \
56         freeintuimessage \
57         freemonitorlist \
58         freeremember \
59         freescreenbuffer \
60         freescreendrawinfo \
61         freesysrequest \
62         gadgetmouse \
63         getattr \
64         getdefaultpubscreen \
65         getdefprefs \
66         getdrawinfoattr \
67         getmonitorlist \
68         getprefs \
69         getscreendata \
70         getscreendrawinfo \
71         helpcontrol \
72         hidewindow \
73         initrequester \
74         intuitextlength \
75         iswindowvisible \
76         itemaddress \
77         lendmenus \
78         lockibase \
79         lockpubscreen \
80         lockpubscreenlist \
81         makeclass \
82         makescreen \
83         modifyidcmp \
84         modifyprop \
85         movescreen \
86         movewindow \
87         movewindowinfrontof \
88         newmodifyprop \
89         newobjecta \
90         nextobject \
91         nextpubscreen \
92         obtaingirport \
93         offgadget \
94         offmenu \
95         ongadget \
96         onmenu \
97         openscreen \
98         openscreentaglist \
99         openwindow \
100         openwindowtaglist \
101         openworkbench \
102         pointinimage \
103         printitext \
104         pubscreenstatus \
105         queryoverscan \
106         refreshgadgets \
107         refreshglist \
108         refreshwindowframe \
109         releasegirport \
110         remakedisplay \
111         removeclass \
112         removegadget \
113         removeglist \
114         reportmouse \
115         request \
116         resetmenustrip \
117         rethinkdisplay \
118         screendepth \
119         screenposition \
120         screentoback \
121         screentofront \
122         scrollwindowraster \
123         sendintuimessage \
124         setattrsa \
125         setdefaultpubscreen \
126         setdefaultscreenfont \
127         setdmrequest \
128         setedithook \
129         setgadgetattrsa \
130         setiprefs \
131         setmenustrip \
132         setmousequeue \
133         setpointer \
134         setpointerbounds \
135         setprefs \
136         setpubscreenmodes \
137         setwindowpointera \
138         setwindowtitles \
139         showtitle \
140         showwindow \
141         sizewindow \
142         startscreennotifytaglist \
143         sysreqhandler \
144         timeddisplayalert \
145         unlockibase \
146         unlockpubscreen \
147         unlockpubscreenlist \
148         viewaddress \
149         viewportaddress \
150         wbenchtoback \
151         wbenchtofront \
152         windowaction \
153         windowlimits \
154         windowtoback \
155         windowtofront \
156         zipwindow
158 USER_INCLUDES := -D__DOS_NOLIBBASE__ \
159                  -D__INTUITION_NOLIBBASE__ \
160                  -D__LAYERS_NOLIBBASE__ \
161                  -D__UTILITY_NOLIBBASE__ \
162                  -D__INPUT_NOLIBBASE__ \
163                  -D__TIMER_NOLIBBASE__ \
164                  -D__OOP_NOLIBBASE__ \
165                  -D__OOP_NOMETHODBASES__ \
166                  -D__OOP_NOATTRBASES__ \
167                  -D__GRAPHICS_NOLIBBASE__ \
168                  -D__KEYMAP_NOLIBBASE__ \
169                  -I$(GENDIR)/$(CURDIR)
170 USER_LDFLAGS := -static
172 #MM kernel-intuition : kernel-intuition-$(ARCH)-$(CPU)
173 #MM kernel-intuition-linklib : kernel-intuition-$(ARCH)-$(CPU)
175 #MM kernel-intuition-includes : \
176 #MM     kernel-exec-includes \
177 #MM     kernel-utility-includes \
178 #MM     kernel-graphics-includes \
179 #MM     workbench-libs-cgfx-includes \
180 #MM     kernel-timer-includes \
181 #MM     kernel-layers-includes \
182 #MM     kernel-keymap-includes \
183 #MM     kernel-input-includes \
184 #MM     includes-copy
185 #MM- core-linklibs: linklibs-intuition
187 %build_module mmake=kernel-intuition \
188   modname=intuition modtype=library \
189   files="intuition_init $(FUNCS) $(FILES)"
191 $(GENDIR)/$(CURDIR)/shutdownscreen.d : $(GENDIR)/$(CURDIR)/shutdown_image.h
193 $(GENDIR)/$(CURDIR)/shutdown_image.h : shutdown.ilbm
194         @$(ECHO) "Creating   $@..."
195         @$(ILBMTOC) $< >$@