File: rules

package info (click to toggle)
likwid 5.1.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 15,480 kB
  • sloc: ansic: 94,749; perl: 17,995; python: 1,902; makefile: 969; cpp: 239; f90: 183; sh: 120; asm: 59
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