disable debug
[AROS.git] / workbench / hidds / softpipe / mmakefile.src
blob39fe36e0d32f9d2e6289949480c1fa8d208d242c
1 #   $Id$
3 include $(SRCDIR)/config/aros.cfg
4 include $(SRCDIR)/workbench/libs/mesa/mesa.cfg
6 GALLIUM_PATH = $(top_srcdir)/src/gallium
7 include $(GALLIUM_PATH)/drivers/softpipe/Makefile.sources
9 #MM- workbench-hidds : hidd-softpipe-$(AROS_TARGET_TOOLCHAIN)
10 #MM- hidd-softpipe-yes : hidd-softpipe
12 #MM- hidd-softpipe: includes hidd-gallium mesa3dgl-linklibs linklibs-libatomic
14 MESA3D_SOFTPIPE_C_SOURCES := $(filter %.c, $(C_SOURCES))
16 SOFTPIPE_HIDD_SOURCES := \
17             softpipe_init \
18             softpipe_galliumclass \
19             arosc_emul \
20              $(addprefix $(GALLIUM_PATH)/drivers/softpipe/,$(MESA3D_SOFTPIPE_C_SOURCES:.c=))
22 USER_INCLUDES := \
23             $(USER_INCLUDES) \
24             -iquote $(GALLIUM_PATH)/drivers \
25             -iquote $(GALLIUM_PATH)/include \
26             -iquote $(GALLIUM_PATH)/auxiliary \
27             -iquote $(SRCDIR)/$(CURDIR)
29 NOWARN_CFLAGS := $(NOWARN_MAYBE_UNINITIALIZED)
30 USER_CFLAGS += $(NOWARN_CFLAGS)
31 #USER_CPPFLAGS += -DDEBUG=1
33 USER_LDFLAGS := \
34   -L$(top_libdir) \
35   -lcompiler -lgalliumauxiliary -lmesautil \
36   -lpthread -lposixc -lstdcio -lstdc
37 ifneq ($(TARGET_LIBATOMIC),)
38 USER_LDFLAGS += $(TARGET_CXX_LIBS)
39 endif
41 %build_module mmake=hidd-softpipe modname=softpipe modtype=hidd \
42     files="$(SOFTPIPE_HIDD_SOURCES)" uselibs=""
44 %common