added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / rom / graphics / mmakefile.src
blob9dae265bc6d739f3a8caaeb0e69f86a4f95f7d55
1 # $Id$
2 include $(TOP)/config/make.cfg
4 USER_INCLUDES := -I$(TOP)/rom/cgfx
6 FILES     := \
7         intregions \
8         graphics_misc \
9         areafill \
10         fontsupport \
11         color_support \
12         gels_internal \
13         objcache \
14         default_font \
15         graphics_driver \
16         fakegfxhidd \
17         dispinfo \
18         gfxfuncsupport
21 FUNCTIONS := \
22         addanimob \
23         addbob \
24         addfont \
25         addvsprite \
26         allocbitmap \
27         allocscreenbitmap \
28         allocdbufinfo \
29         allocraster \
30         allocspritedataa \
31         andrectrect \
32         andrectregion \
33         andrectregionnd \
34         andregionregion \
35         andregionregionnd \
36         animate \
37         areadraw \
38         areaellipse \
39         areaend \
40         areamove \
41         areregionsequal \
42         askfont \
43         asksoftstyle \
44         attachpalextra \
45         attemptlocklayerrom \
46         bestmodeida \
47         bitmapscale \
48         bltbitmap \
49         bltbitmaprastport \
50         bltclear \
51         bltmaskbitmaprastport \
52         bltpattern \
53         bltrastportbitmap \
54         blttemplate \
55         calcivg \
56         cbump \
57         changeextspritea \
58         changesprite \
59         changevpbitmap \
60         cleareol \
61         clearrectregion \
62         clearrectregionnd \
63         clearregionregion \
64         clearregionregionnd \
65         clearregion \
66         clearscreen \
67         clipblit \
68         clonerastport \
69         closefont \
70         closemonitor \
71         cmove \
72         coercemode \
73         convertpixelsa \
74         copyregion \
75         copysbitmap \
76         createrastport \
77         cwait \
78         deinitrastport \
79         disownblitter \
80         disposeregion \
81         docollision \
82         draw \
83         drawellipse \
84         drawglist \
85         eraserect \
86         extendfont \
87         findcolor \
88         finddisplayinfo \
89         flood \
90         fontextent \
91         freebitmap \
92         freecolormap \
93         freecoplist \
94         freecprlist \
95         freedbufinfo \
96         freegbuffers \
97         freeraster \
98         freerastport \
99         freesprite \
100         freespritedata \
101         freevportcoplists \
102         getapen \
103         getbitmapattr \
104         getbpen \
105         getcolormap \
106         getdisplayinfodata \
107         getdrmd \
108         getextspritea \
109         getgbuffers \
110         getoutlinepen \
111         getrgb32 \
112         getrgb4 \
113         getrpattrsa \
114         getsprite \
115         getvpmodeid \
116         gfxassociate \
117         gfxfree \
118         gfxlookup \
119         gfxnew \
120         initarea \
121         initbitmap \
122         initgels \
123         initgmasks \
124         initmasks \
125         initrastport \
126         inittmpras \
127         initview \
128         initvport \
129         ispointinregion \
130         lategfxinit \
131         loadrgb32 \
132         loadrgb4 \
133         loadview \
134         locklayerrom \
135         makevport \
136         modenotavailable \
137         mousecoordsrelative \
138         move \
139         movesprite \
140         mrgcop \
141         newrectregion \
142         newregion \
143         nextdisplayinfo \
144         obtainbestpena \
145         obtainpen \
146         openfont \
147         openmonitor \
148         orrectregion \
149         orrectregionnd \
150         orregionregion \
151         orregionregionnd \
152         ownblitter \
153         polydraw \
154         qblit \
155         qbsblit \
156         readpixel \
157         readpixelarray8 \
158         readpixelline8 \
159         rectfill \
160         releasepen \
161         remfont \
162         remibob \
163         remvsprite \
164         scalerdiv \
165         scrollraster \
166         scrollrasterbf \
167         scrollregion \
168         scrollvport \
169         setabpendrmd \
170         setapen \
171         setbpen \
172         setchiprev \
173         setcollision \
174         setdrmd \
175         setfont \
176         setfrontbitmap \
177         setmaxpen \
178         setoutlinepen \
179         setpointerpos \
180         setpointershape \
181         setrast \
182         setregion \
183         setrgb32 \
184         setrgb32cm \
185         setrgb4 \
186         setrgb4cm \
187         setrgbconversionfunctiona \
188         setrpattrsa \
189         setsoftstyle \
190         setwritemask \
191         showimminentreset \
192         sortglist \
193         stripfont \
194         swapregions \
195         syncsbitmap \
196         text \
197         textextent \
198         textfit \
199         textlength \
200         ucopperlistinit \
201         unlocklayerrom \
202         vbeampos \
203         videocontrol \
204         waitblit \
205         waitbovp \
206         waittof \
207         weightamatch \
208         writechunkypixels \
209         writepixel \
210         writepixelarray8 \
211         writepixelline8 \
212         xorrectregion \
213         xorrectregionnd \
214         xorregionregion \
215         xorregionregionnd
217 #MM kernel-graphics-linklib : kernel-graphics-$(ARCH)-$(CPU) \
218 #MM   hidd-graphics-linklib
219 #MM kernel-graphics-kobj : kernel-graphics-$(ARCH)-$(CPU) \
220 #MM   hidd-graphics-linklib
222 #MM kernel-graphics-includes : \
223 #MM     kernel-exec-includes \
224 #MM     kernel-oop-includes \
225 #MM     kernel-utility-includes \
226 #MM     kernel-cgfx-includes \
227 #MM     includes-copy
229 %build_module mmake=kernel-graphics \
230   modname=graphics modtype=library \
231   files="graphics_init $(FUNCTIONS) $(FILES)" \
232   uselibs="hiddgraphicsstubs oop rom"
234 # Generate dummy includes for the layer library to solve a circular include
235 # dependency problem. Yes, this is a hack.
237 OBJDIR   := $(GENDIR)/$(CURDIR)
238 DUMMYDIR := $(OBJDIR)/dummyinc
239 REFFILES := $(addprefix $(OBJDIR)/, $(addsuffix .ref, graphics_init $(FUNCTIONS) $(FILES)))
241 ifeq ($(findstring $(TARGET), kernel-graphics-objdir kernel-graphics-setup kernel-graphics-clean clean),)
242 %rule_genmodule_makefile modname=layers modtype=library \
243     targetdir=$(OBJDIR) conffile=../hyperlayers/layers.conf
245 $(OBJDIR)/Makefile.layers : | $(OBJDIR)
246 GLOB_MKDIRS += $(OBJDIR)
248 include $(OBJDIR)/Makefile.layers
250 %rule_genmodule_dummy modname=layers modtype=library \
251     targetdir=$(DUMMYDIR) conffile=../hyperlayers/layers.conf
252     
253 $(REFFILES) : $(DUMMYDIR)/proto/layers.h
254 endif