Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # dolphin does not work with -fPIE
4 export DEB_BUILD_MAINT_OPTIONS := hardening=+all,-pie
5
6 # distributor is used by the opt-in analytics
7 ifeq ($(shell dpkg-vendor --derives-from Ubuntu; echo $$?),0)
8 DISTRIBUTOR := ubuntu.com
9 else
10 DISTRIBUTOR := debian.org
11 endif
12
13 CMAKE_OPTIONS := \
14 -DCMAKE_INSTALL_BINDIR="/usr/games" \
15 -DCMAKE_INSTALL_DATADIR="/usr/share/games" \
16 -DDISTRIBUTOR=$(DISTRIBUTOR) \
17 -DUSE_DISCORD_PRESENCE=0 \
18 -DUSE_MGBA=0 \
19 -DUSE_SYSTEM_LIBS=ON \
20 -DUSE_SYSTEM_MBEDTLS=OFF \
21 -DENABLE_TESTS=1 \
22 -DGTEST_DIR=/usr/src/gtest \
23 -DDOLPHIN_WC_BRANCH=master \
24 -DDOLPHIN_WC_DESCRIBE=2606 \
25 -DDOLPHIN_WC_REVISION=6094cfcf7b8fba733b3116fdf3414d51c1c0e4a4
26
27 %:
28 dh $@ -Bbuild
29
30 override_dh_auto_configure:
31 dh_auto_configure -- $(CMAKE_OPTIONS)
32
33 override_dh_auto_test:
34 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
35 CTEST_OUTPUT_ON_FAILURE=1 $(MAKE) -C build unittests
36 endif