File: rules

package info (click to toggle)
prime-phylo 1.0.11-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,536 kB
  • sloc: cpp: 54,138; xml: 1,787; ansic: 1,346; perl: 951; yacc: 565; lex: 520; sh: 421; makefile: 197; asm: 2
file content (26 lines) | stat: -rwxr-xr-x 649 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

#DPKG_EXPORT_BUILDFLAGS = 1
#include /usr/share/dpkg/buildflags.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CXXFLAGS_MAINT_APPEND = -fpermissive

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- \
	-Dofficial_binary_packaging=on \
	-Dprime_dynamic=on \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_RPATH=/usr/lib/prime-phylo \
	-DCMAKE_BUILD_TYPE=RELEASE

#override_dh_shlibdeps:
#	dh_shlibdeps -l/usr/lib/prime-phylo

override_dh_makeshlibs:
	dh_makeshlibs -pprime-phylo -Xprime-phylo.so -Xprime-phylo-sfile.so