| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
CFLAGS = -Wall -g |
| 12 |
|
| 13 |
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
| 14 |
CFLAGS += -O0 |
| 15 |
else |
| 16 |
CFLAGS += -O2 |
| 17 |
endif |
| 18 |
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) |
| 19 |
INSTALL_PROGRAM += -s |
| 20 |
endif |
| 21 |
|
| 22 |
configure: configure-stamp |
| 23 |
configure-stamp: |
| 24 |
dh_testdir |
| 25 |
|
| 26 |
|
| 27 |
touch configure-stamp |
| 28 |
|
| 29 |
|
| 30 |
build: build-stamp |
| 31 |
|
| 32 |
build-stamp: configure-stamp |
| 33 |
dh_testdir |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
touch build-stamp |
| 40 |
|
| 41 |
clean: |
| 42 |
dh_testdir |
| 43 |
dh_testroot |
| 44 |
rm -f build-stamp configure-stamp |
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
dh_clean |
| 50 |
|
| 51 |
install: build |
| 52 |
dh_testdir |
| 53 |
dh_testroot |
| 54 |
dh_clean -k |
| 55 |
dh_installdirs |
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
dh_install |
| 60 |
|
| 61 |
|
| 62 |
binary-arch: build install |
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
binary-indep: build install |
| 67 |
dh_testdir |
| 68 |
dh_testroot |
| 69 |
|
| 70 |
dh_installdocs |
| 71 |
dh_installexamples |
| 72 |
dh_installmenu |
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
dh_installcron |
| 79 |
dh_installman |
| 80 |
dh_installinfo |
| 81 |
|
| 82 |
dh_installchangelogs |
| 83 |
dh_link |
| 84 |
dh_strip |
| 85 |
dh_compress |
| 86 |
dh_fixperms |
| 87 |
|
| 88 |
dh_installdeb |
| 89 |
|
| 90 |
dh_shlibdeps |
| 91 |
dh_gencontrol |
| 92 |
dh_md5sums |
| 93 |
dh_builddeb |
| 94 |
|
| 95 |
build-arch: build |
| 96 |
build-indep: build |
| 97 |
binary: binary-indep binary-arch |
| 98 |
.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install configure |