7 d_base=debian/$(p_base)
9 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
11 ifneq (,$(findstring armel,$(DEB_BUILD_ARCH)))
12 CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant
13 ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS)))
14 CFLAGS += -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s
16 ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS)))
17 CFLAGS += -mcpu=arm926ej-s
25 CFLAGS="$(CFLAGS)" $(PYTHON) setup.py build_ext build install --prefix /usr install_headers
27 cd $(CURDIR)/examples/evas-demo/01-app_launcher && \
28 edje_cc 01-app_launcher.edc $(CURDIR)/debian/01-app_launcher.edj
29 cd $(CURDIR)/examples/evas-demo/02-vkbd && \
30 edje_cc 02-vkbd.edc $(CURDIR)/debian/02-vkbd.edj
35 CFLAGS="$(CFLAGS)" $(PYTHON) setup.py clean
37 -rm -rf build dist python_edje.egg-info
47 CFLAGS="$(CFLAGS)" $(PYTHON) setup.py install --root=$(d_base)
48 if [ "x$(DEB_BUILD_ARCH)" = "xarmel" ]; then \
49 rm -rf $(d_base)/usr/lib/$(PYTHON)/site-packages/edje/*.py; \
50 rm -rf $(d_base)/usr/lib/$(PYTHON)/site-packages/edje/*.pyc; \
53 binary: binary-indep binary-arch
68 .PHONY: build install clean binary binary-indep binary-arch