Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / hidds / softpipe / mmakefile.src
blobadb2864b119cc340a216e5374178bcc66b4dcf05
1 #   $Id$
3 include $(SRCDIR)/config/aros.cfg
5 #MM- workbench-hidds : hidd-softpipe-$(AROS_TARGET_TOOLCHAIN)
6 #MM- hidd-softpipe-yes : hidd-softpipe
8 #MM- hidd-softpipe: includes hidd-gallium linklibs-galliumauxiliary
10 GALLIUM_SOFTPIPE_SOURCES = \
11             drivers/softpipe/sp_fs_exec \
12             drivers/softpipe/sp_fs_sse \
13             drivers/softpipe/sp_clear \
14             drivers/softpipe/sp_fence \
15             drivers/softpipe/sp_flush \
16             drivers/softpipe/sp_query \
17             drivers/softpipe/sp_context \
18             drivers/softpipe/sp_draw_arrays \
19             drivers/softpipe/sp_prim_vbuf \
20             drivers/softpipe/sp_quad_pipe \
21             drivers/softpipe/sp_quad_blend \
22             drivers/softpipe/sp_quad_depth_test \
23             drivers/softpipe/sp_quad_fs \
24             drivers/softpipe/sp_quad_stipple \
25             drivers/softpipe/sp_screen \
26             drivers/softpipe/sp_setup \
27             drivers/softpipe/sp_surface \
28             drivers/softpipe/sp_state_blend \
29             drivers/softpipe/sp_state_clip \
30             drivers/softpipe/sp_state_derived \
31             drivers/softpipe/sp_state_sampler \
32             drivers/softpipe/sp_state_rasterizer \
33             drivers/softpipe/sp_state_shader \
34             drivers/softpipe/sp_state_so \
35             drivers/softpipe/sp_state_surface \
36             drivers/softpipe/sp_state_vertex \
37             drivers/softpipe/sp_texture \
38             drivers/softpipe/sp_tex_sample \
39             drivers/softpipe/sp_tile_cache \
40             drivers/softpipe/sp_tex_tile_cache \
42 GALLIUM_PATH = $(SRCDIR)/workbench/libs/mesa/src/gallium/
44 # WARNING - THIS MMAKEFILE REFERENCES SOURCE CODE OUTSIDE OF ITS TREE
46 SOFTPIPE_HIDD_SOURCES := \
47             softpipegalliumclass \
48             init \
49             arosc_emul \
50              $(addprefix $(GALLIUM_PATH),$(GALLIUM_SOFTPIPE_SOURCES))\
52 USER_INCLUDES := \
53             -I$(GALLIUM_PATH)/drivers \
54             -I$(AROS_DEVELOPMENT)/include/gallium \
55             -I$(GALLIUM_PATH)/include \
57 %build_module mmake=hidd-softpipe modname=softpipe modtype=hidd \
58     files="$(SOFTPIPE_HIDD_SOURCES)" uselibs="galliumauxiliary stdcio stdc"
59     
60 %common