Updated PCI IDs to latest snapshot.
[tangerine.git] / rom / intuition / Makefile
blobd88ae64d59ad8a3072bea49306f78c6d93bdca42
1 # $Id$
3 INSTALLPATH = ../../build
4 ABOXINCLUDEPATH = /gg/morphos/aboxinclude/
6 LDFLAGS =
8 LIBS =
10 LIB = /gg/morphos/lib/
12 CC = ppc-morphos-gcc
14 SHELL=/bin/sh
16 #commodore patents valid?
17 #PATENTS = -DNOCBMPATENTS
18 PATENTS =
20 VERSION = 50
21 CCPU = -O2 -mcpu=604e
22 CERROR = -Wall -Werror-implicit-function-declaration
23 CDEFINES = -D__MORPHOS__ -DPUBLIC_ONLY -DSKINS -DINTUITION_NOTIFY_SUPPORT $(PATENTS) -D_AROS -DSYSTEM_PRIVATE -U__varargs68k__ -DUSE_INLINE_STDARG -DTITLEHACK
24 CFLAGS = $(COPTS) $(CCPU) $(CERROR) $(CDEFINES) -mmultiple -noixemul -Icache-os -Icache-std -I$(ABOXINCLUDEPATH)os-include -I$(ABOXINCLUDEPATH)include -I/gg/morphos/include -I./ -Imorphos/
27 SHELL = /bin/sh
29 .SUFFIXES: .C .o
31 OBJS = \
32 intuition_init.o\
33 activategadget.o\
34 activatewindow.o\
35 addclass.o\
36 addgadget.o\
37 addglist.o\
38 allocremember.o\
39 alohaworkbench.o\
40 autorequest.o\
41 beginrefresh.o\
42 changescreenbuffer.o\
43 changewindowbox.o\
44 cleardmrequest.o\
45 clearmenustrip.o\
46 clearpointer.o\
47 closeworkbench.o\
48 displayalert.o\
49 donotify.o\
50 doubleclick.o\
51 endrefresh.o\
52 endrequest.o\
53 findclass.o\
54 freeclass.o\
55 freeintuimessage.o\
56 freeremember.o\
57 freescreenbuffer.o\
58 freescreendrawinfo.o\
59 freesysrequest.o\
60 getdefaultpubscreen.o\
61 getdefprefs.o\
62 getprefs.o\
63 getscreendata.o\
64 getscreendrawinfo.o\
65 helpcontrol.o\
66 initrequester.o\
67 itemaddress.o\
68 lendmenus.o\
69 lockibase.o\
70 lockpubscreen.o\
71 lockpubscreenlist.o\
72 makeclass.o\
73 makescreen.o\
74 modifyidcmp.o\
75 modifyprop.o\
76 movescreen.o\
77 movewindow.o\
78 movewindowinfrontof.o\
79 newmodifyprop.o\
80 newobjecta.o\
81 nextobject.o\
82 nextpubscreen.o\
83 offgadget.o\
84 offmenu.o\
85 ongadget.o\
86 onmenu.o\
87 openscreentaglist.o\
88 pointinimage.o\
89 pubscreenstatus.o\
90 refreshgadgets.o\
91 refreshglist.o\
92 refreshwindowframe.o\
93 remakedisplay.o\
94 removeclass.o\
95 removegadget.o\
96 reportmouse.o\
97 request.o\
98 resetmenustrip.o\
99 rethinkdisplay.o\
100 screenposition.o\
101 screentoback.o\
102 screentofront.o\
103 scrollwindowraster.o\
104 setattrsa.o\
105 setdefaultpubscreen.o\
106 setdefaultscreenfont.o\
107 setdmrequest.o\
108 setedithook.o\
109 setgadgetattrsa.o\
110 setmenustrip.o\
111 setmousequeue.o\
112 setpointer.o\
113 setprefs.o\
114 setpubscreenmodes.o\
115 setwindowpointera.o\
116 setwindowtitles.o\
117 showtitle.o\
118 sizewindow.o\
119 sysreqhandler.o\
120 timeddisplayalert.o\
121 unlockibase.o\
122 unlockpubscreen.o\
123 unlockpubscreenlist.o\
124 wbenchtoback.o\
125 wbenchtofront.o\
126 windowlimits.o\
127 windowtoback.o\
128 windowtofront.o\
129 zipwindow.o \
130 getattr.o\
131 drawimagestate.o\
132 openwindowtaglist.o\
133 allocintuimessage.o\
134 lateintuiinit.o\
135 eraseimage.o\
136 viewaddress.o\
137 dogadgetmethoda.o\
138 disposeobject.o\
139 drawborder.o\
140 currenttime.o\
141 allocscreenbuffer.o\
142 changewindowshape.o\
143 hidewindow.o\
144 showwindow.o\
145 queryoverscan.o\
146 viewportaddress.o\
147 printitext.o\
148 sendintuimessage.o\
149 removeglist.o\
150 freeicdata.o\
151 drawimage.o\
152 gadgetmouse.o\
153 buildsysrequest.o\
154 buildeasyrequestargs.o\
155 easyrequestargs.o\
156 displaybeep.o\
157 openwindow.o\
158 intuition_misc.o\
159 boopsigadgets.o\
160 wbtasktalk.o\
161 requesters.o\
162 gadgets.o\
163 propgadgets.o\
164 propgclass.o\
165 boolgadgets.o\
166 strgadgets.o\
167 buttongclass.o\
168 fillrectclass.o\
169 frameiclass.o\
170 frbuttonclass.o\
171 gadgetclass.o\
172 groupgclass.o\
173 imageclass.o\
174 modelclass.o\
175 rootclass.o\
176 strgclass.o\
177 sysiclass.o\
178 icclass.o\
179 itexticlass.o\
180 barlabelclass.o\
181 windowclasses.o\
182 pointerclass.o\
183 inputhandler_actions.o\
184 inputhandler_support.o\
185 menus.o\
186 intuitextlength.o\
187 obtaingirport.o\
188 releasegirport.o\
189 closewindow.o\
190 openworkbench.o\
191 misc.o\
192 screendepth.o\
193 closescreen.o\
194 inputhandler.o\
195 openscreen.o\
196 iswindowvisible.o\
197 functable.o\
198 setiprefs.o\
199 lockpubclass.o\
200 unlockpubclass.o\
201 dumpintuistate.o \
202 menutask.o \
204 LIBOBJS = lib.o \
205 libend.o \
206 libfunctable.o \
207 libfunctions.o
209 all: morphosfuncs intuition.library.elf
212 %.o: %.c
213 $(CC) $(CFLAGS) -c $*.c
215 morphosfuncs:
216 make -C morphos
218 intuition.library.elf: $(OBJS) libend.o
219 ppc-morphos-ld -L$(LIB) $(OBJS) libmorphosfuncs.a -lstring -lmemblock -labox -lsyscall libend.o -o intuition.library.elf.db
220 ppc-morphos-strip -s --remove-section .comment intuition.library.elf.db -o intuition.library.elf
222 dump:
223 ppc-morphos-objdump --syms --reloc --disassemble-all intuition.library.elf.db >intuition.library.elf.dump
225 dumpstate: dumpstate.c
226 gcc -o dumpstate -O -noixemul dumpstate.c
228 freezedemon: freezedemon.c
229 gcc -o freezedemon -O -noixemul freezedemon.c
231 clean:
232 rm -f intuition.library.elf libmorphosfuncs.a *.o *~ morphos/*.o
234 # $(INSTALLPATH)/modules/intuition.library.elf
235 # this dependency doesn't work on a clean system..sigh
238 install: all
239 -cp intuition.library.elf.db $(INSTALLPATH)/modules/intuition.library.elf
241 # -cp intuition.library.elf ../../extmodules/
242 # -cp intuition.library.elf sys:morphos/extmodules/
244 bump:
245 bumprev2 VERSION $(VERSION) FILE $(SRC)intuition_rev TAG intuition.library
247 GLOBAL = intuition_intern.h morphos/intuition_internmos.h
248 #GLOBAL =
249 ADEBUG = aros/debug.h
250 SKIN = morphos/intuition_customize.h
252 intuition_init.o: intuition_init.c libdefs.h $(GLOBAL) $(SKIN) strgadgets.h inputhandler.h menutask.h intuition_rev.h
253 activategadget.o: activategadget.c $(GLOBAL) inputhandler_actions.h inputhandler.h gadgets.h
254 activatewindow.o: activatewindow.c $(GLOBAL) inputhandler.h inputhandler_actions.h inputhandler_support.h
255 addclass.o: addclass.c $(GLOBAL) maybe_boopsi.h
256 addgadget.o: addgadget.c $(GLOBAL)
257 addglist.o: addglist.c $(GLOBAL) boopsigadgets.h
258 allocremember.o: allocremember.c $(GLOBAL)
259 alohaworkbench.o: alohaworkbench.c $(GLOBAL)
260 autorequest.o: autorequest.c requesters.h $(GLOBAL)
261 beginrefresh.o: beginrefresh.c $(GLOBAL)
262 changescreenbuffer.o: changescreenbuffer.c $(GLOBAL)
263 changewindowbox.o: changewindowbox.c $(GLOBAL) inputhandler_actions.h
264 cleardmrequest.o: cleardmrequest.c $(GLOBAL)
265 clearmenustrip.o: clearmenustrip.c $(GLOBAL)
266 clearpointer.o: clearpointer.c $(GLOBAL)
267 closeworkbench.o: closeworkbench.c $(GLOBAL) inputhandler.h inputhandler_actions.h
268 displayalert.o: displayalert.c $(GLOBAL)
269 donotify.o: donotify.c $(GLOBAL) intuition_private.h icclass.h
270 doubleclick.o: doubleclick.c $(GLOBAL)
271 endrefresh.o: endrefresh.c $(GLOBAL)
272 endrequest.o: endrequest.c $(GLOBAL) inputhandler_actions.h
273 findclass.o: findclass.c $(GLOBAL)
274 freeclass.o: freeclass.c $(GLOBAL)
275 freeintuimessage.o: freeintuimessage.c $(GLOBAL) $(ADEBUG)
276 freeremember.o: freeremember.c $(GLOBAL)
277 freescreenbuffer.o: freescreenbuffer.c $(GLOBAL)
278 freescreendrawinfo.o: freescreendrawinfo.c $(GLOBAL)
279 freesysrequest.o: freesysrequest.c requesters.h $(GLOBAL) $(SKIN)
280 getdefaultpubscreen.o: getdefaultpubscreen.c $(GLOBAL)
281 getdefprefs.o: getdefprefs.c $(GLOBAL)
282 getprefs.o: getprefs.c $(GLOBAL)
283 getscreendata.o: getscreendata.c $(GLOBAL)
284 getscreendrawinfo.o: getscreendrawinfo.c $(GLOBAL) $(ADEBUG)
285 helpcontrol.o: helpcontrol.c $(GLOBAL) $(ADEBUG)
286 initrequester.o: initrequester.c $(GLOBAL)
287 itemaddress.o: itemaddress.c $(GLOBAL)
288 lendmenus.o: lendmenus.c $(GLOBAL) $(ADEBUG)
289 lockibase.o: lockibase.c $(GLOBAL)
290 lockpubscreen.o: lockpubscreen.c $(GLOBAL) $(ADEBUG)
291 lockpubscreenlist.o: lockpubscreenlist.c $(GLOBAL)
292 makeclass.o: makeclass.c $(GLOBAL) intuition_private.h
293 makescreen.o: makescreen.c $(GLOBAL)
294 modifyidcmp.o: modifyidcmp.c $(GLOBAL) $(SKIN)
295 modifyprop.o: modifyprop.c $(GLOBAL)
296 movescreen.o: movescreen.c $(GLOBAL)
297 movewindow.o: movewindow.c $(GLOBAL)
298 movewindowinfrontof.o: movewindowinfrontof.c $(GLOBAL) inputhandler_actions.h
299 newmodifyprop.o: newmodifyprop.c $(GLOBAL) propgadgets.h
300 newobjecta.o: newobjecta.c $(GLOBAL) intuition_private.h maybe_boopsi.h
301 nextobject.o: nextobject.c $(GLOBAL) maybe_boopsi.h
302 nextpubscreen.o: nextpubscreen.c $(GLOBAL)
303 offgadget.o: offgadget.c $(GLOBAL)
304 offmenu.o: offmenu.c $(GLOBAL)
305 ongadget.o: ongadget.c $(GLOBAL)
306 onmenu.o: onmenu.c $(GLOBAL)
307 openscreentaglist.o: openscreentaglist.c $(GLOBAL)
308 pointinimage.o: pointinimage.c $(GLOBAL)
309 pubscreenstatus.o: pubscreenstatus.c $(GLOBAL)
310 refreshgadgets.o: refreshgadgets.c $(GLOBAL)
311 refreshglist.o: refreshglist.c $(GLOBAL) boolgadgets.h boopsigadgets.h propgadgets.h strgadgets.h
312 refreshwindowframe.o: refreshwindowframe.c $(GLOBAL) $(SKIN) morphos/mosmisc.h morphos/renderwindowframe.h
313 remakedisplay.o: remakedisplay.c $(GLOBAL)
314 removeclass.o: removeclass.c $(GLOBAL) maybe_boopsi.h
315 removegadget.o: removegadget.c $(GLOBAL)
316 reportmouse.o: reportmouse.c $(GLOBAL)
317 request.o: request.c $(GLOBAL) inputhandler_actions.h
318 resetmenustrip.o: resetmenustrip.c $(GLOBAL)
319 rethinkdisplay.o: rethinkdisplay.c $(GLOBAL) inputhandler.h
320 screenposition.o: screenposition.c $(GLOBAL)
321 screentoback.o: screentoback.c $(GLOBAL)
322 screentofront.o: screentofront.c $(GLOBAL)
323 scrollwindowraster.o: scrollwindowraster.c $(GLOBAL) inputhandler_actions.h inputhandler_support.h
324 setattrsa.o: setattrsa.c $(GLOBAL) maybe_boopsi.h
325 setdefaultpubscreen.o: setdefaultpubscreen.c $(GLOBAL)
326 setdefaultscreenfont.o: setdefaultscreenfont.c $(GLOBAL) $(ADEBUG)
327 setdmrequest.o: setdmrequest.c $(GLOBAL) inputhandler_actions.h
328 setedithook.o: setedithook.c $(GLOBAL)
329 setgadgetattrsa.o: setgadgetattrsa.c $(GLOBAL)
330 setmenustrip.o: setmenustrip.c $(GLOBAL) menus.h
331 setmousequeue.o: setmousequeue.c $(GLOBAL)
332 setpointer.o: setpointer.c $(GLOBAL)
333 setprefs.o: setprefs.c $(GLOBAL)
334 setpubscreenmodes.o: setpubscreenmodes.c $(GLOBAL)
335 setwindowpointera.o: setwindowpointera.c $(GLOBAL)
336 setwindowtitles.o: setwindowtitles.c $(GLOBAL)
337 showtitle.o: showtitle.c $(GLOBAL) inputhandler_actions.h
338 sizewindow.o: sizewindow.c $(GLOBAL)
339 sysreqhandler.o: sysreqhandler.c $(GLOBAL) requesters.h
340 timeddisplayalert.o: timeddisplayalert.c $(GLOBAL) morphos/displayalert.h
341 unlockibase.o: unlockibase.c $(GLOBAL)
342 unlockpubscreen.o: unlockpubscreen.c $(GLOBAL)
343 unlockpubscreenlist.o: unlockpubscreenlist.c $(GLOBAL)
344 wbenchtoback.o: wbenchtoback.c $(GLOBAL)
345 wbenchtofront.o: wbenchtofront.c $(GLOBAL)
346 windowlimits.o: windowlimits.c $(GLOBAL)
347 windowtoback.o: windowtoback.c $(GLOBAL)
348 windowtofront.o: windowtofront.c $(GLOBAL) inputhandler_actions.h inputhandler_support.h
349 zipwindow.o : zipwindow.c $(GLOBAL) inputhandler_actions.h
350 getattr.o: getattr.c $(GLOBAL) maybe_boopsi.h
351 drawimagestate.o: drawimagestate.c $(GLOBAL)
352 openwindowtaglist.o: openwindowtaglist.c $(GLOBAL) $(ADEBUG)
353 allocintuimessage.o: allocintuimessage.c $(GLOBAL) $(ADEBUG)
354 lateintuiinit.o: lateintuiinit.c $(GLOBAL)
355 eraseimage.o: eraseimage.c $(GLOBAL)
356 viewaddress.o: viewaddress.c $(GLOBAL)
357 dogadgetmethoda.o: dogadgetmethoda.c $(GLOBAL) gadgets.h
358 disposeobject.o: disposeobject.c $(GLOBAL) maybe_boopsi.h
359 drawborder.o: drawborder.c $(GLOBAL)
360 currenttime.o: currenttime.c $(GLOBAL)
361 allocscreenbuffer.o: allocscreenbuffer.c $(GLOBAL)
362 changewindowshape.o: changewindowshape.c $(GLOBAL) $(ADEBUG) inputhandler_actions.h
363 hidewindow.o: hidewindow.c $(GLOBAL) intuition_private.h inputhandler_actions.h
364 showwindow.o: showwindow.c $(GLOBAL) intuition_private.h inputhandler_actions.h
365 queryoverscan.o: queryoverscan.c $(GLOBAL) $(ADEBUG)
366 viewportaddress.o: viewportaddress.c $(GLOBAL)
367 printitext.o: printitext.c $(GLOBAL)
368 sendintuimessage.o: sendintuimessage.c icclass.h $(GLOBAL) $(ADEBUG)
369 removeglist.o: removeglist.c $(GLOBAL) inputhandler.h
370 freeicdata.o: freeicdata.c $(GLOBAL) icclass.h maybe_boopsi.h
371 drawimage.o: drawimage.c $(GLOBAL)
372 gadgetmouse.o: gadgetmouse.c $(GLOBAL) $(ADEBUG) inputhandler.h inputhandler_support.h
373 buildsysrequest.o: buildsysrequest.c $(GLOBAL) maybe_boopsi.h requesters.h $(SKIN)
374 buildeasyrequestargs.o: buildeasyrequestargs.c $(GLOBAL) maybe_boopsi.h requesters.h $(SKIN)
375 easyrequestargs.o: easyrequestargs.c $(GLOBAL) requesters.h
376 displaybeep.o: displaybeep.c $(GLOBAL)
377 openwindow.o: openwindow.c $(GLOBAL) $(ADEBUG) $(SKIN) inputhandler.h inputhandler_actions.h boopsigadgets.h
378 intuition_misc.o: intuition_misc.c intuition_preferences.h $(GLOBAL) boopsigadgets.h $(SKIN)
379 boopsigadgets.o: boopsigadgets.c $(GLOBAL)
380 wbtasktalk.o: wbtasktalk.c $(GLOBAL)
381 requesters.o: requesters.c $(GLOBAL) maybe_boopsi.h
382 gadgets.o: gadgets.c $(GLOBAL) gadgets.h
383 propgadgets.o: propgadgets.c $(GLOBAL) propgadgets.h gadgets.h $(SKIN) morphos/intuition_extend.h
384 propgclass.o: propgclass.c $(GLOBAL) maybe_boopsi.h propgadgets.h
385 boolgadgets.o: boolgadgets.c $(GLOBAL) gadgets.h
386 strgadgets.o: strgadgets.c $(GLOBAL) strgadgets.h
387 buttongclass.o: buttongclass.c $(GLOBAL) maybe_boopsi.h gadgets.h
388 fillrectclass.o: fillrectclass.c $(GLOBAL) maybe_boopsi.h
389 frameiclass.o: frameiclass.c $(GLOBAL) maybe_boopsi.h gadgets.h
390 frbuttonclass.o: frbuttonclass.c $(GLOBAL) maybe_boopsi.h gadgets.h
391 gadgetclass.o: gadgetclass.c $(GLOBAL) maybe_boopsi.h gadgets.h icclass.h intuition_private.h
392 groupgclass.o: groupgclass.c $(GLOBAL) $(ADEBUG) maybe_boopsi.h
393 imageclass.o: imageclass.c $(GLOBAL) maybe_boopsi.h
394 modelclass.o: modelclass.c intuition_private.h intuition_pdefs.h $(GLOBAL)
395 rootclass.o: rootclass.c $(GLOBAL)
396 strgclass.o: strgclass.c $(GLOBAL) maybe_boopsi.h strgadgets.h
397 sysiclass.o: sysiclass.c $(GLOBAL) $(SKIN) morphos/sysiclass.h maybe_boopsi.h gadgets.h morphos/renderwindowframe.h
398 icclass.o: icclass.c intuition_private.h intuition_pdefs.h $(GLOBAL) icclass.h
399 itexticlass.o: itexticlass.c $(GLOBAL) maybe_boopsi.h gadgets.h
400 barlabelclass.o: barlabelclass.c $(GLOBAL) maybe_boopsi.h
401 windowclasses.o: windowclasses.c gadgets.h $(GLOBAL) inputhandler.h inputhandler_support.h $(SKIN)
402 pointerclass.o: pointerclass.c $(GLOBAL)
403 inputhandler_actions.o: inputhandler_actions.c inputhandler.h boopsigadgets.h boolgadgets.h propgadgets.h strgadgets.h gadgets.h $(GLOBAL) maybe_boopsi.h inputhandler_support.h inputhandler_actions.h menus.h
404 inputhandler_support.o: inputhandler_support.c inputhandler.h $(SKIN) boopsigadgets.h boolgadgets.h propgadgets.h strgadgets.h gadgets.h $(GLOBAL) intuition_private.h maybe_boopsi.h inputhandler_support.h menus.h
405 menus.o: menus.c inputhandler.h $(GLOBAL) maybe_boopsi.h menus.h
406 intuitextlength.o: intuitextlength.c $(GLOBAL)
407 obtaingirport.o: obtaingirport.c $(GLOBAL)
408 releasegirport.o: releasegirport.c $(GLOBAL)
409 closewindow.o: closewindow.c $(GLOBAL) inputhandler.h inputhandler_actions.h $(SKIN)
410 menutask.o: menutask.c inputhandler.h $(GLOBAL) maybe_boopsi.h menus.h menutask.h $(SKIN) morphos/smallmenu.h
411 menutask_new.o: menutask_new.c inputhandler.h $(GLOBAL) maybe_boopsi.h menus.h menutask_new.h $(SKIN) morphos/smallmenu.h morphos/smallmenu_menusupport.h
412 openworkbench.o: openworkbench.c $(GLOBAL)
413 misc.o: misc.c $(GLOBAL)
414 screendepth.o: screendepth.c $(GLOBAL) inputhandler_actions.h
415 closescreen.o: closescreen.c $(GLOBAL) morphos/intuition_extend.h $(SKIN)
416 inputhandler.o: inputhandler.c $(SKIN) inputhandler.h boopsigadgets.h boolgadgets.h propgadgets.h strgadgets.h gadgets.h $(GLOBAL) intuition_private.h maybe_boopsi.h inputhandler_support.h inputhandler_actions.h menus.h morphos/intuition_customizesupport.h
417 openscreen.o: openscreen.c $(GLOBAL) $(ADEBUG) $(SKIN) morphos/intuition_extend.h
418 iswindowvisible.o: iswindowvisible.c $(GLOBAL)
419 functable.o: functable.c libdefs.h
420 setiprefs.o: setiprefs.c $(GLOBAL) $(SKIN)
421 lockpubclass.o: lockpubclass.c $(GLOBAL)
422 unlockpubclass.o: unlockpubclass.c $(GLOBAL)
423 dumpintuistate.o: dumpintuistate.c $(GLOBAL)