File: rules

package info (click to toggle)
gambc 4.9.3-1.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 85,020 kB
  • sloc: ansic: 1,047,649; lisp: 243,942; perl: 19,018; sh: 6,385; makefile: 6,303; objc: 3,757; cpp: 2,143; sed: 498; java: 305; awk: 198
file content (28 lines) | stat: -rwxr-xr-x 731 bytes parent folder | download | duplicates (2)
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
27
28
#!/usr/bin/make -f

# Verbosity
#export DH_VERBOSE = 1

# Build Flags
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-single-host \
		--enable-openssl \
		--enable-shared \
		--enable-versioned-shared-libs \
		--disable-absolute-shared-libs \
		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)/gambit4
	sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' \
		debian/libgambit4.links.in > debian/libgambit4.links

override_dh_shlibdeps:
	dh_shlibdeps -l /usr/lib/$(DEB_HOST_MULTIARCH)/gambit4