Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # See debhelper(7) (uncomment to enable).
4 # Output every command that modifies files on the build system.
5 #export DH_VERBOSE = 1
6
7 # See FEATURE AREAS in dpkg-buildflags(1).
8 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9
10 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
11
12 OPTFLAGS = -O3 -funroll-loops
13
14 ifeq ($(DEB_HOST_ARCH),amd64)
15 OPTFLAGS = -O3 -funroll-loops -D_REENTRANT -D_THREAD_SAFE -fPIC
16 endif
17
18 ifeq ($(DEB_HOST_ARCH),i386)
19 OPTFLAGS = -O3 -funroll-loops -march=i386 -mcpu=i486 -mmmx \
20 -D_REENTRANT -D_THREAD_SAFE -fPIC
21 endif
22
23 ifeq ($(DEB_HOST_ARCH),powerpc)
24 OPTFLAGS = -O3 -funroll-loops -fno-inline -mcpu=powerpc -maltivec \
25 -mabi=altivec
26 endif
27
28 # See ENVIRONMENT in dpkg-buildflags(1).
29 # Package maintainers to append CFLAGS.
30 export DEB_CFLAGS_MAINT_APPEND = $(OPTFLAGS) -Wall -pedantic
31 # Package maintainers to append LDFLAGS.
32 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
33
34 %:
35 dh $@
36
37 execute_after_dh_auto_clean:
38 rm -f hashcash libhashcash.a
39 rm -rf test