1 # $Id: mmakefile.src 48628 2013-12-25 15:14:46Z deadwood $
3 # Generate libgalliumvm.a
6 include $(SRCDIR)/config/aros.cfg
8 CUR_MESADIR := src/gallium/auxiliary
9 include $(SRCDIR)/$(CURDIR)/../mesa.cfg
10 include $(top_srcdir)/$(CUR_MESADIR)/Makefile.sources
12 ##MM- mesa3dgl-linklibs : mesa3d-linklib-galliumvm
14 GALLIVM_C_SOURCES := $(wildcard $(addprefix $(top_srcdir)/$(CUR_MESADIR)/, $(filter %.c, $(GALLIVM_SOURCES))))
15 GALLIVM_CXX_SOURCES := $(wildcard $(addprefix $(top_srcdir)/$(CUR_MESADIR)/, $(filter %.cpp, $(GALLIVM_SOURCES))))
17 GALLIVM_SOURCES_C := \
18 $(GALLIVM_C_SOURCES:.c=)
20 GALLIVM_SOURCES_CXX := \
21 $(GALLIVM_CXX_SOURCES:.cpp=)
25 -iquote $(top_srcdir)/src/gallium/include \
26 -iquote $(top_srcdir)/src/gallium/auxiliary \
27 -iquote $(top_srcdir)/src/gallium/auxiliary/util \
28 -iquote $(top_srcdir)/src/gallium/auxiliary/indices \
31 USER_CFLAGS += $(MESA_NOWARNFLAGS)
32 USER_CXXFLAGS += $(MESA_NOWARNFLAGS)
34 ##USER_CPPFLAGS += -DHAVE_LLVM=0x0209 -D__STDC_CONSTANT_MACROS
36 %build_linklib mmake=mesa3d-linklib-galliumvm libname=galliumvm \
37 libdir=$(top_libdir) objdir=$(top_builddir)/$(CUR_MESADIR) \
38 files="$(GALLIVM_SOURCES_C)" cxxfiles="$(GALLIVM_SOURCES_CXX)"