6 include $(SRCDIR)/config/aros.cfg
8 #MM- workbench-libs-complete : workbench-libs-hostgl-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU)
10 #MM- workbench-libs-hostgl-linux-i386 : workbench-libs-hostgl
11 #MM- workbench-libs-hostgl-linux-x86_64 : workbench-libs-hostgl
13 #MM workbench-libs-hostgl : includes
15 MESA_BASE_DIRECTORY := $(SRCDIR)/workbench/libs/mesa/src
16 MESA_DIRECTORY := $(MESA_BASE_DIRECTORY)/mesa
17 MESA_AROS_DIRECTORY := $(MESA_BASE_DIRECTORY)/aros
18 MESA_GALLIUM_DIRECTORY := $(MESA_BASE_DIRECTORY)/gallium
19 MESA_ST_DIRECTORY := $(MESA_GALLIUM_DIRECTORY)/state_trackers/arosmesa
20 MESA_MAPI_DIRECTORY := $(MESA_BASE_DIRECTORY)/mapi
23 $(MESA_AROS_DIRECTORY)/tls \
28 hostgl_glacreatecontext \
29 hostgl_gladestroycontext \
31 hostgl_glagetcurrentcontext \
32 hostgl_glagetopenglstatetrackerapi \
33 hostgl_glagetprocaddress \
34 hostgl_glamakecurrent \
36 hostgl_glaswapbuffers \
41 -I$(SRCDIR)/$(CURDIR)/../../hidd/x11 \
42 -I$(MESA_AROS_DIRECTORY) \
43 -I$(MESA_ST_DIRECTORY) \
45 -I$(MESA_GALLIUM_DIRECTORY)/include \
46 -I$(MESA_MAPI_DIRECTORY) \
47 -isystem $(GENINCDIR) \
50 USER_CPPFLAGS := -DHOST_OS_$(ARCH) -DAROSMESA_TYPES='"hostgl_types.h"'
51 USER_CFLAGS := $(HOST_X11_CFLAGS)
53 %build_module_library mmake=workbench-libs-hostgl \
54 modname=hostgl modtype=library conffile=$(SRCDIR)/workbench/libs/gl/gl.conf \
55 files="$(LIBRARY_SOURCES)" \