File: rules

package info (click to toggle)
libsfml 2.4.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,332 kB
  • ctags: 5,618
  • sloc: cpp: 27,752; ansic: 5,219; objc: 653; sh: 213; xml: 30; makefile: 12
file content (21 lines) | stat: -rwxr-xr-x 601 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
#!/usr/bin/make -f
# -*- makefile -*-

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) -DSFML_BUILD_DOC=ON -DSFML_INSTALL_PKGCONFIG_FILES=ON

override_dh_auto_build:
	dh_auto_build -- all doc

override_dh_makeshlibs:
	# For sf::GlResource::TransitentContextLock added in 2.4.1
	dh_makeshlibs -plibsfml-window2.4 -V'libsfml-window2.4 (>= 2.4.1~)'
	dh_makeshlibs --remaining-packages