Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Uncomment this to turn on verbose mode.
4 # export DH_VERBOSE=1
5
6 # see FEATURE AREAS in dpkg-buildflags(1)
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8
9 # see ENVIRONMENT in dpkg-buildflags(1)
10 # package maintainers to append CFLAGS
11 #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
12 # package maintainers to append LDFLAGS
13 export DEB_LDFLAGS_MAINT_APPEND =
14
15 include /usr/share/dpkg/default.mk
16
17 ifeq ($(DEB_HOST_ARCH),amd64)
18 EXTRA_CONFIGURE_ARGS += --enable-sse2
19 endif
20
21 # Will break test
22 #ifeq ($(DEB_HOST_ARCH),arm64)
23 #EXTRA_CONFIGURE_ARGS += --enable-neon
24 #endif
25
26 %:
27 dh $@
28
29 override_dh_auto_configure:
30 dh_auto_configure -- $(EXTRA_CONFIGURE_ARGS)