3 # These are used for cross-compiling and for saving the configure script
4 # from having to guess our platform (since we know it already)
6 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
7 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
17 ifneq (,$(findstring armel,$(DEB_BUILD_ARCH)))
23 JOBS=--jobs=$(shell grep ^processor /proc/cpuinfo | wc -l)
27 # Add here commands to configure the package.
28 cmake . -DPORT=Efl -DCMAKE_INSTALL_PREFIX=$(PREFIX) -DCMAKE_INSTALL_COMPONENT=$(PREFIX)/include -DCMAKE_BUILD_TYPE=Release -DENABLE_WEBKIT=Off -DENABLE_WEBKIT2=On -DENABLE_DEMO=Off -DENABLE_WK2_PROFILING=Off -DENABLE_NETSCAPE_PLUGIN_API=On -DENABLE_SLP_SUPPORT_BLUE_RUNNER=Off -DENABLE_CLIENT_BASED_GEOLOCATION=On $(TIZEN_WEBKIT_EXTRA_OPTIONS)
32 build-stamp: config.status
35 # Add here commands to compile the package.
37 #docbook-to-man debian/ncurses.sgml > ncurses.1
39 for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
40 cat $$f > $${f%.in}; \
41 sed -i -e "s#@PREFIX@#$(PREFIX)#g" $${f%.in}; \
43 # sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \
52 # Add here commands to clean up after the build process.
56 rm -rf cmake_install.cmake
58 rm -rf install_manifest.txt
60 rm -rf JavascriptCore WebCore WebKit DerivedSources
62 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
63 cp -f /usr/share/misc/config.sub config.sub
65 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
66 cp -f /usr/share/misc/config.guess config.guess
69 for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
81 # Add here commands to install the package into debian/ncurses.
82 $(MAKE) $(JOBS) $(BUILDDIR) DESTDIR=$(CURDIR)/debian/tmp install
85 # Build architecture-independent files here.
86 binary-indep: build install
87 # We have nothing to do by default.
89 # Build architecture-dependent files here.
90 binary-arch: build install
96 dh_install --sourcedir=debian/tmp
99 dh_strip --dbg-package=libwebkit2-engine-dbg
110 binary: binary-indep binary-arch
111 .PHONY: build clean binary-indep binary-arch binary install