revert 213 commits (to 56092) from the last month. 10 still need work to resolve...
[AROS.git] / workbench / libs / mesa / src / aros / vega / mmakefile.src
bloba6a5c28a0db3fc02c04f3ea870eb10ceccad5583
1 #   $Id$
3 include $(SRCDIR)/config/aros.cfg
5 ################################################################################
6 # Vega                                                                         #
7 ################################################################################
9 #MM workbench-libs-vega : workbench-libs-vega-generated includes linklibs-galliumauxiliary
11 SHARED_LIB_SOURCES = \
12             aros/emul_arosc \
13             aros/tls \
15 OPENVG_SOURCES = \
16             gallium/state_trackers/vega/api \
17             gallium/state_trackers/vega/api_context \
18             gallium/state_trackers/vega/api_filters \
19             gallium/state_trackers/vega/api_images \
20             gallium/state_trackers/vega/api_masks \
21             gallium/state_trackers/vega/api_misc \
22             gallium/state_trackers/vega/api_paint \
23             gallium/state_trackers/vega/api_params \
24             gallium/state_trackers/vega/api_path \
25             gallium/state_trackers/vega/api_text \
26             gallium/state_trackers/vega/api_transform \
27             gallium/state_trackers/vega/arc \
28             gallium/state_trackers/vega/bezier \
29             gallium/state_trackers/vega/handle \
30             gallium/state_trackers/vega/image \
31             gallium/state_trackers/vega/mask \
32             gallium/state_trackers/vega/paint \
33             gallium/state_trackers/vega/path \
34             gallium/state_trackers/vega/polygon \
35             gallium/state_trackers/vega/renderer \
36             gallium/state_trackers/vega/shader \
37             gallium/state_trackers/vega/shaders_cache \
38             gallium/state_trackers/vega/stroker \
39             gallium/state_trackers/vega/text \
40             gallium/state_trackers/vega/vg_context \
41             gallium/state_trackers/vega/vg_manager \
42             gallium/state_trackers/vega/vg_state \
43             gallium/state_trackers/vega/vg_translate \
44             gallium/state_trackers/vega/vgu \
45             mapi/mapi/entry \
46             mapi/mapi/mapi \
47             mapi/mapi/table \
48             mapi/mapi/stub \
49             mapi/mapi/u_current \
51 LIBRARY_SOURCES = \
52             $(addprefix ../../, $(OPENVG_SOURCES)) \
53             $(addprefix ../../, $(SHARED_LIB_SOURCES)) \
54             getopenvgstatetrackerapi \
57 USER_INCLUDES := \
58             -I$(AROS_DEVELOPER)/include/gallium \
59             -I$(SRCDIR)/$(CURDIR)/../../mapi \
60             -I$(SRCDIR)/$(CURDIR)/../../gallium/include \
61             -I$(SRCDIR)/$(CURDIR)/../.. \
62             -I$(SRCDIR)/$(CURDIR)/../../gallium/state_trackers/vega \
63             -I$(GENDIR)/$(CURDIR)/vega \
65 NOWARN_FLAGS := $(NOWARN_STRICT_ALIASING)
66 USER_CFLAGS := $(NOWARN_FLAGS) -ffast-math
67 USER_CPPFLAGS := -DMAPI_ABI_HEADER=\"vgapi_tmp.h\" -DVEGA_VERSION_STRING=\"\"
69 #MM
70 workbench-libs-vega-generated : $(GENDIR)/$(CURDIR)/vega/api_tmp.h $(GENDIR)/$(CURDIR)/vega/vgapi_tmp.h
72 $(GENDIR)/$(CURDIR)/vega/api_tmp.h : $(SRCDIR)/$(CURDIR)/../../mapi/vgapi/vgapi.csv
73         @$(MKDIR) $(GENDIR)/$(CURDIR)/vega
74         @$(PYTHON) $(SRCDIR)/$(CURDIR)/../../mapi/mapi/mapi_abi.py $< --printer vgapi --mode app > $@
76 $(GENDIR)/$(CURDIR)/vega/vgapi_tmp.h : $(SRCDIR)/$(CURDIR)/../../mapi/vgapi/vgapi.csv
77         @$(MKDIR) $(GENDIR)/$(CURDIR)/vega
78         @$(PYTHON) $(SRCDIR)/$(CURDIR)/../../mapi/mapi/mapi_abi.py $< --printer vgapi --mode lib > $@
80 %build_module mmake=workbench-libs-vega \
81     modname=vega modtype=library linklibname=OpenVG \
82     files="$(LIBRARY_SOURCES)" \
83     uselibs="galliumauxiliary stdcio stdc"
85 %common