grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / mesa / src / aros / egl / mmakefile.src
blob5720b154d109b765baa65393da17cf3896726471
1 #   $Id$
3 include $(SRCDIR)/config/aros.cfg
5 ################################################################################
6 # EGL                                                                          #
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 = \
13             aros/emul_arosc \
14             aros/tls \
16 EGL_SOURCES = \
17             egl/main/eglapi \
18             egl/main/eglarray \
19             egl/main/eglconfig \
20             egl/main/eglcontext \
21             egl/main/eglcurrent \
22             egl/main/egldisplay \
23             egl/main/egldriver \
24             egl/main/eglfallbacks \
25             egl/main/eglglobals \
26             egl/main/eglimage \
27             egl/main/egllog \
28             egl/main/eglmisc \
29             egl/main/eglmode \
30             egl/main/eglscreen \
31             egl/main/eglstring \
32             egl/main/eglsurface \
33             egl/main/eglsync \
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 \
47 LIBRARY_SOURCES = \
48             $(addprefix ../../, $(EGL_SOURCES)) \
49             $(addprefix ../../, $(SHARED_LIB_SOURCES))
51 USER_INCLUDES := \
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 \
61                 -DFEATURE_VG=1 \
62                 -D_EGL_BUILT_IN_DRIVER_GALLIUM \
63                 -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_AROS \
64                 -D_EGL_OS_AROS=1 \
65                 -DHAVE_AROS_BACKEND \
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"
75 %common