Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / monitors / IntelGMA / mmakefile.src
blobd1e0424a1a97543a6c781571e1b4ee81609f5866
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 GALLIUM_I915_SOURCES = \
6     drivers/i915/i915_blit \
7     drivers/i915/i915_clear \
8     drivers/i915/i915_context \
9     drivers/i915/i915_debug \
10     drivers/i915/i915_debug_fp \
11     drivers/i915/i915_flush \
12     drivers/i915/i915_fpc_emit \
13     drivers/i915/i915_fpc_translate \
14     drivers/i915/i915_prim_emit \
15     drivers/i915/i915_prim_vbuf \
16     drivers/i915/i915_query \
17     drivers/i915/i915_resource_buffer \
18     drivers/i915/i915_resource \
19     drivers/i915/i915_resource_texture \
20     drivers/i915/i915_screen \
21     drivers/i915/i915_state \
22     drivers/i915/i915_state_derived \
23     drivers/i915/i915_state_dynamic \
24     drivers/i915/i915_state_emit \
25     drivers/i915/i915_state_fpc \
26     drivers/i915/i915_state_immediate \
27     drivers/i915/i915_state_sampler \
28     drivers/i915/i915_state_static \
29     drivers/i915/i915_surface
31 GALLIUM_PATH = $(SRCDIR)/workbench/libs/mesa/src/gallium/
33 USER_INCLUDES := \
34                 -I$(GALLIUM_PATH)/drivers                   \
35                 -I$(AROS_DEVELOPMENT)/include/gallium       \
36                 -I$(GALLIUM_PATH)/include
38     USER_CFLAGS := -std=gnu99
40 FILES := intelG45_init intelG45_class intelG45_i2c intelG45_bitmap \
41     intelG45_lowlevel intelG45_memory compositingclass startup \
42     galliumclass aros_winsys 3D_blitter \
43     $(addprefix $(GALLIUM_PATH), $(GALLIUM_I915_SOURCES))
45 EXEDIR := $(AROSDIR)/Devs/Monitors
47 #MM- workbench-devs-monitors: devs-monitors-intelgma
48 #MM devs-monitors-intelgma : hidd-i2c hidd-gallium
50 %build_prog mmake=devs-monitors-intelgma \
51            progname=IntelGMA targetdir=$(EXEDIR) \
52            files=$(FILES) uselibs="hiddstubs galliumauxiliary stdcio stdc"
55 %common