doc: Add screenshot to spiv page.
[gfxprim/pasky.git] / config.mk
blob9273375daddcc86f3c159c26fc4b89c9e73b6907
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) --includes)
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)