3 include $(SRCDIR)/config/aros.cfg
5 ################################################################################
7 ################################################################################
9 #MM- workbench-libs-egl : includes workbench-libs-mesa-linklib workbench-libs-vega-linklib \
10 #MM workbench-libs-gallium-linklib
12 SHARED_LIB_SOURCES = \
24 egl/main/eglfallbacks \
34 egl/drivers/arosmesa/egl_arosmesa \
35 gallium/state_trackers/egl/common/egl_g3d \
36 gallium/state_trackers/egl/common/egl_g3d_api \
37 gallium/state_trackers/egl/common/egl_g3d_image \
38 gallium/state_trackers/egl/common/egl_g3d_st \
39 gallium/state_trackers/egl/common/egl_g3d_sync \
40 gallium/state_trackers/egl/common/native_helper \
41 gallium/state_trackers/egl/aros/native_aros \
42 gallium/targets/egl-static/egl \
43 gallium/targets/egl-static/egl_st \
44 gallium/targets/egl-static/st_GL \
45 gallium/targets/egl-static/st_OpenVG \
48 $(addprefix ../../, $(EGL_SOURCES)) \
49 $(addprefix ../../, $(SHARED_LIB_SOURCES))
52 -I$(AROS_DEVELOPMENT)/include/gallium \
53 -I$(SRCDIR)/$(CURDIR)/../../gallium/state_trackers/egl \
54 -I$(SRCDIR)/$(CURDIR)/../../gallium/state_trackers/vega \
55 -I$(SRCDIR)/$(CURDIR)/../../egl/main \
56 -I$(SRCDIR)/$(CURDIR)/../../mesa \
57 -I$(SRCDIR)/$(CURDIR)/../../gallium/include \
58 -I$(SRCDIR)/$(CURDIR)/../.. \
60 USER_CFLAGS := -DFEATURE_GL=1 \
62 -D_EGL_BUILT_IN_DRIVER_GALLIUM \
63 -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_AROS \
66 -D_EGL_MAIN=_eglBuiltInDriverGALLIUM \
68 #MM- core-linklibs : linklibs-egl
70 %build_module mmake=workbench-libs-egl \
71 modname=egl modtype=library linklibname=EGL \
72 files="$(LIBRARY_SOURCES)" \
73 uselibs="galliumauxiliary gallium GL OpenVG stdcio stdc"