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
32 rm -rf $(CMAKE_BUILD_DIR)
42 cd $(CMAKE_BUILD_DIR) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
44 binary-indep: build install
46 binary-arch: build install
52 dh_install --sourcedir=debian/tmp
55 dh_strip --dbg-package=capi-telephony-sim-dbg
64 binary: binary-indep binary-arch
65 .PHONY: build clean binary-indep binary-arch binary install configure