File: rules

package info (click to toggle)
hmat-oss 1.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,188 kB
  • sloc: cpp: 13,255; ansic: 1,416; sh: 33; makefile: 12
file content (17 lines) | stat: -rwxr-xr-x 406 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/buildflags.mk
CFLAGS+=$(CPPFLAGS)
CXXFLAGS+=$(CPPFLAGS)
DPKG_EXPORT_BUILDFLAGS = 1

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- \
            -DCMAKE_INSTALL_PREFIX:PATH=/usr \
	    -DHMAT_INSTALL_LIB_DIR:STRING="lib/$(DEB_HOST_MULTIARCH)"