Hint added.
[AROS.git] / workbench / hidds / nouveau / mmakefile.src
blobc7293766934ff01f6ff288f1ca97e44f2fda1d11
1 #   $Id$
3 include $(SRCDIR)/config/aros.cfg
5 include $(SRCDIR)/$(CURDIR)/drm/sources.drm.mak
7 #MM hidd-nouveau : hidd-i2c hidd-agp hidd-gallium
9 GALLIUM_NOUVEAU_SOURCES = \
10             drivers/nouveau/nouveau_screen \
11             drivers/nouveau/nouveau_fence \
12             drivers/nouveau/nouveau_mm \
13             drivers/nouveau/nouveau_buffer \
14             drivers/nvfx/nv04_2d \
15             drivers/nvfx/nvfx_buffer \
16             drivers/nvfx/nvfx_context \
17             drivers/nvfx/nvfx_clear \
18             drivers/nvfx/nvfx_draw \
19             drivers/nvfx/nvfx_fragprog \
20             drivers/nvfx/nvfx_fragtex \
21             drivers/nvfx/nv30_fragtex \
22             drivers/nvfx/nv40_fragtex \
23             drivers/nvfx/nvfx_miptree \
24             drivers/nvfx/nvfx_push \
25             drivers/nvfx/nvfx_query \
26             drivers/nvfx/nvfx_resource \
27             drivers/nvfx/nvfx_screen \
28             drivers/nvfx/nvfx_state \
29             drivers/nvfx/nvfx_state_emit \
30             drivers/nvfx/nvfx_state_fb \
31             drivers/nvfx/nvfx_surface \
32             drivers/nvfx/nvfx_transfer \
33             drivers/nvfx/nvfx_vbo \
34             drivers/nvfx/nvfx_vertprog \
35             drivers/nv50/nv50_context \
36             drivers/nv50/nv50_draw \
37             drivers/nv50/nv50_formats \
38             drivers/nv50/nv50_miptree \
39             drivers/nv50/nv50_resource \
40             drivers/nv50/nv50_screen \
41             drivers/nv50/nv50_state \
42             drivers/nv50/nv50_state_validate \
43             drivers/nv50/nv50_surface \
44             drivers/nv50/nv50_tex \
45             drivers/nv50/nv50_transfer \
46             drivers/nv50/nv50_vbo \
47             drivers/nv50/nv50_program \
48             drivers/nv50/nv50_shader_state \
49             drivers/nv50/nv50_pc \
50             drivers/nv50/nv50_pc_print \
51             drivers/nv50/nv50_pc_emit \
52             drivers/nv50/nv50_tgsi_to_nc \
53             drivers/nv50/nv50_pc_optimize \
54             drivers/nv50/nv50_pc_regalloc \
55             drivers/nv50/nv50_push \
56             drivers/nv50/nv50_query \
57             drivers/nvc0/nvc0_context \
58             drivers/nvc0/nvc0_draw \
59             drivers/nvc0/nvc0_formats \
60             drivers/nvc0/nvc0_miptree \
61             drivers/nvc0/nvc0_resource \
62             drivers/nvc0/nvc0_screen \
63             drivers/nvc0/nvc0_state \
64             drivers/nvc0/nvc0_state_validate \
65             drivers/nvc0/nvc0_surface \
66             drivers/nvc0/nvc0_tex \
67             drivers/nvc0/nvc0_transfer \
68             drivers/nvc0/nvc0_vbo \
69             drivers/nvc0/nvc0_program \
70             drivers/nvc0/nvc0_shader_state \
71             drivers/nvc0/nvc0_pc \
72             drivers/nvc0/nvc0_pc_print \
73             drivers/nvc0/nvc0_pc_emit \
74             drivers/nvc0/nvc0_tgsi_to_nc \
75             drivers/nvc0/nvc0_pc_optimize \
76             drivers/nvc0/nvc0_pc_regalloc \
77             drivers/nvc0/nvc0_push \
78             drivers/nvc0/nvc0_push2 \
79             drivers/nvc0/nvc0_query \
81 XF86_NOUVEAU_SOURCES = \
82             nv_accel_common \
83             nv50_accel \
84             nv40_exa \
85             nv30_shaders \
86             nv30_exa \
87             nv10_exa \
88             nv50_exa \
89             nouveau_exa \
90             nvc0_accel \
91             nvc0_exa \
92             nv04_exa \
94 GALLIUM_PATH = $(SRCDIR)/workbench/libs/mesa/src/gallium/
96 # WARNING - THIS MMAKEFILE REFERENCES SOURCE CODE OUTSIDE OF ITS TREE
98 DRM_PATH = $(SRCDIR)/$(CURDIR)/drm/
99 XF86_NOUVEAU_PATH = $(SRCDIR)/$(CURDIR)/xf86-video-nouveau/
101 NOUVEAU_HIDD_SOURCES := \
102             nouveauclass \
103             nouveau_init \
104             nouveaubitmapclass \
105             nouveaugalliumclass \
106             nouveau_accel \
107             nouveaui2c \
108             arosc_emul \
109             compositorclass \
110             $(addprefix $(DRM_PATH),$(AROS_DRM_CORE_SOURCES))           \
111             $(addprefix $(DRM_PATH),$(AROS_DRM_NVIDIA_SOURCES))         \
112             $(addprefix $(DRM_PATH),$(AROS_LIBDRM_CORE_SOURCES))        \
113             $(addprefix $(DRM_PATH),$(AROS_LIBDRM_NVIDIA_SOURCES))      \
114             $(addprefix $(GALLIUM_PATH), $(GALLIUM_NOUVEAU_SOURCES))    \
115             $(addprefix $(XF86_NOUVEAU_PATH), $(XF86_NOUVEAU_SOURCES))  \
117 USER_INCLUDES := \
118                 -I$(DRM_PATH)/drm                           \
119                 -I$(DRM_PATH)/drm/nouveau                   \
120                 -I$(DRM_PATH)/drm-aros                      \
121                 -I$(DRM_PATH)/drm-aros/nouveau              \
122                 -I$(GALLIUM_PATH)/drivers                   \
123                 -I$(AROS_DEVELOPMENT)/include/gallium       \
124                 -I$(GALLIUM_PATH)/include                   \
125                 -I$(DRM_PATH)/libdrm                        \
126                 -I$(DRM_PATH)/libdrm/nouveau                \
127                 -I$(XF86_NOUVEAU_PATH)                      \
129 USER_CFLAGS := -std=gnu99
131 %build_module mmake=hidd-nouveau \
132     modname=nouveau modtype=hidd \
133     files="$(NOUVEAU_HIDD_SOURCES)" \
134     uselibs="hiddstubs galliumauxiliary stdcio stdc"