| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
export SKIP_STRIPPING = true |
| 5 |
|
| 6 |
# Verbose build |
| 7 |
export VERBOSE = true |
| 8 |
|
| 9 |
# Allow cross compiling |
| 10 |
ifneq (${DEB_BUILD_ARCH},${DEB_HOST_ARCH}) |
| 11 |
export CROSS_COMPILING = true |
| 12 |
endif |
| 13 |
export NOOPT = true |
| 14 |
|
| 15 |
%: |
| 16 |
dh $@ |
| 17 |
|
| 18 |
execute_before_dh_auto_build: |
| 19 |
@echo "blhc: ignore-line-regexp: ^Compiling .*" |
| 20 |
|
| 21 |
override_dh_auto_build: |
| 22 |
dh_auto_build -- \ |
| 23 |
CFLAGS="$(CPPFLAGS) $(CFLAGS)" \ |
| 24 |
CXXFLAGS="$(CPPFLAGS) $(CXXFLAGS)" \ |
| 25 |
$(empty) |
| 26 |
|
| 27 |
execute_before_dh_auto_configure: |
| 28 |
cp -fr /usr/share/dpf/ . |
| 29 |
|
| 30 |
override_dh_auto_clean: |
| 31 |
dh_clean bin/ build/ common/*.d common/*.o common/*/*.d common/*/*.o dpf/ |