| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # see FEATURE AREAS in dpkg-buildflags(1) |
| 4 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 | |
| 6 | # see ENVIRONMENT in dpkg-buildflags(1) |
| 7 | # package maintainers to append CFLAGS |
| 8 | export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 9 | # package maintainers to append LDFLAGS |
| 10 | export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 11 | |
| 12 | export DEB_BUILD_MAINT_OPTIONS = optimize=-lto |
| 13 | |
| 14 | %: |
| 15 | dh $@ |
| 16 | |
| 17 | override_dh_auto_build: |
| 18 | $(MAKE) |
| 19 | |
| 20 | override_dh_compress: |
| 21 | dh_compress -X.ct |
| 22 | |
| 23 | override_dh_auto_install: |
| 24 | @echo Do not use install target of upstream Makefile |