1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
env_cmd = env DEB_BUILD_MAINT_OPTIONS=$(DEB_BUILD_MAINT_OPTIONS)
# := as there's no configure script in the middle right now and we want
# to see explicit flags in the build log.
# env: export has no effect on $(shell)
CFLAGS := $(shell $(env_cmd) dpkg-buildflags --get CFLAGS)
CFLAGS += $(shell $(env_cmd) dpkg-buildflags --get CPPFLAGS)
LDFLAGS := $(shell $(env_cmd) dpkg-buildflags --get LDFLAGS)
export CFLAGS LDFLAGS
%:
dh $@
get-orig-source:
uscan --force-download
.PHONY: get-orig-source
|