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 := \
18 softpipe_galliumclass \
20 $(addprefix $(GALLIUM_PATH)/drivers/softpipe/,$(MESA3D_SOFTPIPE_C_SOURCES:.c=))
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
35 -lcompiler -lgalliumauxiliary -lmesautil \
36 -lpthread -lposixc -lstdcio -lstdc
37 ifneq ($(TARGET_LIBATOMIC),)
38 USER_LDFLAGS += $(TARGET_CXX_LIBS)
41 %build_module mmake=hidd-softpipe modname=softpipe modtype=hidd \
42 files="$(SOFTPIPE_HIDD_SOURCES)" uselibs=""