loaders: TmpFile: Fix potentionaly unitialized err
[gfxprim/pasky.git] / config.mk
blob4a103d70f82e150b9c00cc5b0b5375bf2a539988
1 include $(TOPDIR)/config.gen.mk
3 CFLAGS+=-I$(TOPDIR)/include/
4 LDFLAGS+=-L$(TOPDIR)/build/
6 # path to local module directory
7 PYLIBSDIR=$(TOPDIR)/pylib
9 ifdef PYTHON_CONFIG
10 PYTHON_INCLUDE=$(shell $(PYTHON_CONFIG) --include)
11 endif
13 # To test with other python versions (example):
14 #PYTHON_BIN=${TOPDIR}/virtualpy2.4/bin/python
16 # Command to run Python with pylib/ modules
17 PYTHON=PYTHONPATH=$$PYTHONPATH:${PYLIBSDIR} ${PYTHON_BIN} -Werror
19 SWIGOPTS=-w322,314 -I/usr/include/
21 # Linker flags
22 LDLIBS_GP=$(shell $(TOPDIR)/gfxprim-config --libs)
23 LDLIBS_LOADERS=$(shell $(TOPDIR)/gfxprim-config --libs-loaders)
24 LDLIBS_BACKENDS=$(shell $(TOPDIR)/gfxprim-config --libs-backends)
25 LDLIBS_GRABBERS=$(shell $(TOPDIR)/gfxprim-config --libs-grabbers)