File: rules

package info (click to toggle)
autodock-vina 1.1.2-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 896 kB
  • sloc: cpp: 6,512; makefile: 43; sh: 13
file content (22 lines) | stat: -rwxr-xr-x 626 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
# debian/rules for autodoc_vinna
# Authors: Yask Gupta <yask.gupta87@gmail.com>, Andreas Tille <tille@debian.org>
# License: GPL

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

CFLAGS+=-fpermissive -DBOOST_FILESYSTEM_VERSION=3 --lto
CXXFLAGS+=-fpermissive -DBOOST_FILESYSTEM_VERSION=3 --lto
LDFLAGS+=--lto -g

%:
	dh  $@

override_dh_auto_build:
	$(MAKE) BASE=/usr -C build/linux/release CLFAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)"

override_dh_clean:
	dh_clean
	rm -f build/linux/release/*.o build/linux/release/vina*