File: rules

package info (click to toggle)
likwid 4.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,408 kB
  • ctags: 12,654
  • sloc: ansic: 81,942; perl: 17,226; python: 1,132; makefile: 784; cpp: 239; f90: 162; sh: 85; asm: 40
file content (22 lines) | stat: -rwxr-xr-x 687 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
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/architecture.mk

DCPPFLAGS=$(CPPFLAGS)
DLDFLAGS=$(LDFLAGS)

export DCPPFLAGS DLDFLAGS

%:
	dh $@

override_dh_auto_build:
	$(MAKE) PREFIX=/usr LIBPREFIX=/usr/lib/$(DEB_BUILD_GNU_TYPE) INSTALLED_LIBPREFIX=/usr/lib/$(DEB_BUILD_GNU_TYPE) RPATHS= FORTRAN_INTERFACE=true

override_dh_auto_install:
	$(MAKE) PREFIX=$$(pwd)/debian/likwid/usr INSTALLED_PREFIX=/usr FORTRAN_INTERFACE=true MANPREFIX=$$(pwd)/debian/likwid/usr/share/man LIBPREFIX=$$(pwd)/debian/likwid/usr/lib/$(DEB_BUILD_GNU_TYPE) install