| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 14 |
|
| 15 |
package=rbootd |
| 16 |
|
| 17 |
include /usr/share/dpkg/buildtools.mk |
| 18 |
|
| 19 |
CFLAGS = $(shell dpkg-buildflags --get CFLAGS) |
| 20 |
CFLAGS += $(shell dpkg-buildflags --get CPPFLAGS) |
| 21 |
CFLAGS += $(shell getconf LFS_CFLAGS) |
| 22 |
|
| 23 |
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) |
| 24 |
STRIP_OPT = -s --strip-program=$(STRIP) |
| 25 |
endif |
| 26 |
|
| 27 |
export BASEDIR=$(shell pwd)/debian/tmp |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
%: |
| 32 |
dh $@ |
| 33 |
|
| 34 |
override_dh_auto_build: |
| 35 |
$(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" rbootd |
| 36 |
|
| 37 |
override_dh_auto_install: |
| 38 |
true |
| 39 |
|