2 include $(TOP)/config/make.cfg
4 ################################################################################
6 ################################################################################
8 #MM- workbench-libs-vega : workbench-libs-vega-generated includes linklibs-galliumauxiliary
10 SHARED_LIB_SOURCES = \
15 gallium/state_trackers/vega/api \
16 gallium/state_trackers/vega/api_context \
17 gallium/state_trackers/vega/api_filters \
18 gallium/state_trackers/vega/api_images \
19 gallium/state_trackers/vega/api_masks \
20 gallium/state_trackers/vega/api_misc \
21 gallium/state_trackers/vega/api_paint \
22 gallium/state_trackers/vega/api_params \
23 gallium/state_trackers/vega/api_path \
24 gallium/state_trackers/vega/api_text \
25 gallium/state_trackers/vega/api_transform \
26 gallium/state_trackers/vega/arc \
27 gallium/state_trackers/vega/bezier \
28 gallium/state_trackers/vega/handle \
29 gallium/state_trackers/vega/image \
30 gallium/state_trackers/vega/mask \
31 gallium/state_trackers/vega/paint \
32 gallium/state_trackers/vega/path \
33 gallium/state_trackers/vega/polygon \
34 gallium/state_trackers/vega/renderer \
35 gallium/state_trackers/vega/shader \
36 gallium/state_trackers/vega/shaders_cache \
37 gallium/state_trackers/vega/stroker \
38 gallium/state_trackers/vega/text \
39 gallium/state_trackers/vega/vg_context \
40 gallium/state_trackers/vega/vg_manager \
41 gallium/state_trackers/vega/vg_state \
42 gallium/state_trackers/vega/vg_translate \
43 gallium/state_trackers/vega/vgu \
51 $(addprefix ../../, $(OPENVG_SOURCES)) \
52 $(addprefix ../../, $(SHARED_LIB_SOURCES)) \
53 getopenvgstatetrackerapi \
57 -I$(AROS_DEVELOPMENT)/include/gallium \
58 -I$(SRCDIR)/$(CURDIR)/../../mapi \
59 -I$(SRCDIR)/$(CURDIR)/../../gallium/include \
60 -I$(SRCDIR)/$(CURDIR)/../.. \
61 -I$(SRCDIR)/$(CURDIR)/../../gallium/state_trackers/vega \
62 -I$(GENDIR)/$(CURDIR) \
64 USER_CFLAGS := -ffast-math -DMAPI_ABI_HEADER=\"vgapi_tmp.h\" -DVEGA_VERSION_STRING=\"\"
65 USER_CFLAGS += -Wno-strict-aliasing
68 workbench-libs-vega-generated : $(GENDIR)/$(CURDIR)/api_tmp.h $(GENDIR)/$(CURDIR)/vgapi_tmp.h
70 $(GENDIR)/$(CURDIR)/api_tmp.h : $(SRCDIR)/$(CURDIR)/../../mapi/vgapi/vgapi.csv
71 @$(MKDIR) $(GENDIR)/$(CURDIR)
72 @$(PYTHON) $(SRCDIR)/$(CURDIR)/../../mapi/mapi/mapi_abi.py $< --printer vgapi --mode app > $@
74 $(GENDIR)/$(CURDIR)/vgapi_tmp.h : $(SRCDIR)/$(CURDIR)/../../mapi/vgapi/vgapi.csv
75 @$(MKDIR) $(GENDIR)/$(CURDIR)
76 @$(PYTHON) $(SRCDIR)/$(CURDIR)/../../mapi/mapi/mapi_abi.py $< --printer vgapi --mode lib > $@
78 #MM- core-linklibs : linklibs-vega
80 %build_module mmake=workbench-libs-vega \
81 modname=vega modtype=library linklibname=OpenVG \
82 files="$(LIBRARY_SOURCES)" \
83 uselibs="galliumauxiliary stdcio stdc"