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