grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / mesa / src / aros / vega / mmakefile.src
blob5340b352252e318137b1271b2f001738f54dbcbd
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_DEVELOPMENT)/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) \
65 NOWARN_FLAGS := $(NOWARN_STRICT_ALIASING)
66 USER_CFLAGS := $(NOWARN_FLAGS) \
67         -ffast-math -DMAPI_ABI_HEADER=\"vgapi_tmp.h\" -DVEGA_VERSION_STRING=\"\"
69 #MM
70 workbench-libs-vega-generated : $(GENDIR)/$(CURDIR)/api_tmp.h $(GENDIR)/$(CURDIR)/vgapi_tmp.h
72 $(GENDIR)/$(CURDIR)/api_tmp.h : $(SRCDIR)/$(CURDIR)/../../mapi/vgapi/vgapi.csv
73         @$(MKDIR) $(GENDIR)/$(CURDIR)
74         @$(PYTHON) $(SRCDIR)/$(CURDIR)/../../mapi/mapi/mapi_abi.py $< --printer vgapi --mode app > $@
76 $(GENDIR)/$(CURDIR)/vgapi_tmp.h : $(SRCDIR)/$(CURDIR)/../../mapi/vgapi/vgapi.csv
77         @$(MKDIR) $(GENDIR)/$(CURDIR)
78         @$(PYTHON) $(SRCDIR)/$(CURDIR)/../../mapi/mapi/mapi_abi.py $< --printer vgapi --mode lib > $@
80 #MM- core-linklibs : linklibs-vega
82 %build_module mmake=workbench-libs-vega \
83     modname=vega modtype=library linklibname=OpenVG \
84     files="$(LIBRARY_SOURCES)" \
85     uselibs="galliumauxiliary stdcio stdc"
87 %common