9 d_base=debian/$(p_base)
12 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
14 ifeq ($(DEB_BUILD_ARCH),armel)
15 #CFLAGS="-Os -mthumb -mfloat-abi=softfp -Wall -Wstrict-prototypes"
16 CFLAGS+="-DNDEBUG=1 -fomit-frame-pointer -O2 -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant"
22 touch ecore/ecore.c_evas.pyx
23 CFLAGS=$(CFLAGS) $(PYTHON) setup.py build_ext build install --prefix /usr install_headers
28 $(PYTHON) setup.py clean
30 -rm -rf build dist python_ecore.egg-info
40 $(PYTHON) setup.py install --root=$(d_base)
42 binary: binary-indep binary-arch
48 #dh_compress -p$(p_dev) -Xexamples -X.py
57 .PHONY: build install clean binary binary-indep binary-arch