5 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
10 CMAKE_ROOT_DIR ?= $(CURDIR)
11 CMAKE_BUILD_DIR ?= $(CURDIR)/cmake_build_tmp
13 configure: configure-stamp
16 mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && cmake ..
21 build-stamp: configure-stamp
23 cd $(CMAKE_BUILD_DIR) && $(MAKE)
30 rm -f build-stamp configure-stamp
31 rm -f `find . -name *.pc`
32 rm -rf $(CMAKE_BUILD_DIR)
41 cd $(CMAKE_BUILD_DIR) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
43 binary-indep: build install
45 binary-arch: build install
51 dh_install --sourcedir=debian/tmp
54 dh_strip --dbg-package=capi-network-bluetooth-dbg
63 binary: binary-indep binary-arch
64 .PHONY: build clean binary-indep binary-arch binary install configure