6 include $(SRCDIR)/config/aros.cfg
8 #MM- workbench-libs-complete : workbench-libs-hostgl-$(OPT_HOST_X11_HOSTGL)
10 #MM- workbench-libs-hostgl-yes : workbench-libs-hostgl
12 #MM workbench-libs-hostgl : includes
14 MESA_BASE_DIRECTORY := $(SRCDIR)/workbench/libs/mesa/src
15 MESA_DIRECTORY := $(MESA_BASE_DIRECTORY)/mesa
16 MESA_AROS_DIRECTORY := $(MESA_BASE_DIRECTORY)/aros
17 MESA_GALLIUM_DIRECTORY := $(MESA_BASE_DIRECTORY)/gallium
18 MESA_ST_DIRECTORY := $(MESA_GALLIUM_DIRECTORY)/state_trackers/arosmesa
19 MESA_MAPI_DIRECTORY := $(MESA_BASE_DIRECTORY)/mapi
22 $(MESA_AROS_DIRECTORY)/tls \
27 hostgl_glacreatecontext \
28 hostgl_gladestroycontext \
30 hostgl_glagetcurrentcontext \
31 hostgl_glagetopenglstatetrackerapi \
32 hostgl_glagetprocaddress \
33 hostgl_glamakecurrent \
35 hostgl_glaswapbuffers \
40 -I$(SRCDIR)/$(CURDIR)/../../hidd/x11 \
41 -I$(MESA_AROS_DIRECTORY) \
42 -I$(MESA_ST_DIRECTORY) \
44 -I$(MESA_GALLIUM_DIRECTORY)/include \
45 -I$(MESA_MAPI_DIRECTORY) \
46 -isystem $(GENINCDIR) \
49 USER_CPPFLAGS := -DHOST_OS_$(ARCH) -DAROSMESA_TYPES='"hostgl_types.h"'
50 USER_CFLAGS := $(HOST_X11_CFLAGS)
52 %build_module_library mmake=workbench-libs-hostgl \
53 modname=hostgl modtype=library conffile=$(SRCDIR)/workbench/libs/gl/gl.conf \
54 files="$(LIBRARY_SOURCES)" \