Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 include /usr/share/dpkg/buildflags.mk
8 # see FEATURE AREAS in dpkg-buildflags(1)
9 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
10
11 ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
12 DH_ADDONS := --with apport
13 CMAKE_FLAGS := \
14 -DREPOWERD_ENABLE_HYBRIS=ON \
15 -DREPOWERD_ENABLE_BINDER=ON \
16 -DENABLE_WERROR=ON
17 else
18 CMAKE_FLAGS := \
19 -DREPOWERD_ENABLE_HYBRIS=OFF \
20 -DREPOWERD_ENABLE_BINDER=OFF \
21 -DREPOWERD_ENABLE_LSC=OFF
22 endif
23
24 %:
25 dh $@ $(DH_ADDONS)
26
27 override_dh_auto_configure:
28 dh_auto_configure -- \
29 $(CMAKE_FLAGS) \
30 -DREPOWERD_DISABLE_TIME_SENSITIVE_TESTS=ON
31
32 get-orig-source:
33 uscan --noconf --force-download --rename --download-current-version --destdir=..