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
10 PYTHON_INCLUDE
=$(shell $(PYTHON_CONFIG
) --includes
)
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/
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
)