disable debug
[AROS.git] / workbench / hidds / vmwaresvga / mmakefile.src
blob2303479008b64c4fe1c9403b15a851c4cdbbcfc7
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
4 include $(SRCDIR)/workbench/libs/mesa/mesa.cfg
6 GALLIUM_PATH = $(top_srcdir)/src/gallium
8 include $(GALLIUM_PATH)/drivers/svga/Makefile.sources
10 #MM- workbench-hidds-vmwaresvga : hidd-vmwaresvga
11 #MM- hidd-vmwaresvga: includes hidd-gallium mesa3dgl-linklibs linklibs-libatomic
13 MESA3D_VMWARESVGA_C_SOURCES := $(filter %.c, $(C_SOURCES))
15 FILES   :=      \
16         vmwaresvga_init \
17         vmwaresvga_hiddclass \
18         vmwaresvga_hardware \
19         vmwaresvga_offbitmapclass \
20         vmwaresvga_onbitmapclass \
21         vmwaresvga_galliumclass \
22         arosc_emul \
23         $(addprefix $(GALLIUM_PATH)/drivers/svga/,$(MESA3D_VMWARESVGA_C_SOURCES:.c=))
25 # disable necessary warnings
26 NOWARN_FLAGS := $(NOWARN_UNUSED_VALUE) $(NOWARN_UNUSED_VARIABLE) $(NOWARN_STRICT_ALIASING)
27 USER_CFLAGS += $(NOWARN_FLAGS)
29 USER_INCLUDES += \
30             -iquote $(GALLIUM_PATH)/drivers/svga/include \
31             -iquote $(GALLIUM_PATH)/drivers/svga \
32             -iquote $(GALLIUM_PATH)/drivers \
33             -iquote $(GALLIUM_PATH)/include \
34             -iquote $(GALLIUM_PATH)/auxiliary \
35             -iquote $(GENDIR)/workbench/libs/mesa/src/mesa/main
37 USER_CPPFLAGS += \
38                 -DPACKAGE_VERSION=\"$(MESAGLVERSION)\"
40 USER_LDFLAGS := \
41   -L$(top_libdir) \
42   -lgalliumauxiliary -lmesautil \
43   -lpthread -lposixc -lstdcio -lstdc
45 %build_module mmake=hidd-vmwaresvga \
46   modname=vmwaresvga modtype=hidd \
47   files=$(FILES) \
48   uselibs=""
50 %common