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/architecture.mk
8 include /usr/share/dpkg/buildtools.mk
9
10 DEVPKGscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DEVPKG. = $(CURDIRscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CURDIR.)/debian/libbotan-3-dev
11 DOCPKGscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DOCPKG. = $(CURDIRscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CURDIR.)/debian/libbotan-3-doc
12
13 ifneq ($(DEB_BUILD_ARCHscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DEB_BUILD_ARCH.),$(DEB_HOST_ARCHscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DEB_HOST_ARCH.))
14 OS_MAP_hurdscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/OS_MAP_hurd. = gnu
15 OS_MAP_kfreebsdscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/OS_MAP_kfreebsd. = gnu/kfreebsd
16 CROSS_FLAGSscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CROSS_FLAGS. += --os=$(orscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/or. $(OS_MAP_scip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/OS_MAP_.$(DEB_HOST_ARCH_OSscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DEB_HOST_ARCH_OS.)),$(DEB_HOST_ARCH_OSscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DEB_HOST_ARCH_OS.))
17 CPU_MAP_aarch64scip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CPU_MAP_aarch64. = arm64
18 CPU_MAP_armscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CPU_MAP_arm. = arm32
19 CPU_MAP_i686scip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CPU_MAP_i686. = x86_32
20 CPU_MAP_mips64elscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CPU_MAP_mips64el. = mips64
21 CPU_MAP_mipsscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CPU_MAP_mips. = mips32
22 CPU_MAP_mipselscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CPU_MAP_mipsel. = mips32
23 CPU_MAP_powerpcscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CPU_MAP_powerpc. = ppc32
24 CPU_MAP_powerp64scip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CPU_MAP_powerp64. = ppc64
25 CPU_MAP_powerpc64lescip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CPU_MAP_powerpc64le. = ppc64
26 CPU_MAP_sh4scip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CPU_MAP_sh4. = superh
27 ifeq (,$(filterscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/filter. $(DEB_HOST_ARCHscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DEB_HOST_ARCH.),armhf hurd-i386))
28 CROSS_FLAGSscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CROSS_FLAGS. +=--cpu=$(orscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/or. $(CPU_MAP_scip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CPU_MAP_.$(DEB_HOST_GNU_CPUscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DEB_HOST_GNU_CPU.)),$(DEB_HOST_GNU_CPUscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DEB_HOST_GNU_CPU.))
29 endif
30 CROSS_FLAGSscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CROSS_FLAGS. += --cc-bin=$(CXXscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CXX.) --ar-command=$(ARscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/AR.)
31 endif
32
33 override_dh_cleanscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/override_dh_clean().:
34 dh_cleanscip-debian debian debhelper . dh_clean().
35 rm -f $(CURDIRscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CURDIR.)/Certificate\ Store*.db
36
37 override_dh_auto_configurescip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/override_dh_auto_configure().:
38 $(CURDIRscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CURDIR.)/configure.py \
39 $(CROSS_FLAGSscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/CROSS_FLAGS.) \
40 --prefix=/usr/ \
41 --libdir=/usr/lib/$(DEB_HOST_MULTIARCHscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DEB_HOST_MULTIARCH.) \
42 --with-rst2man \
43 --with-bzip2 \
44 --with-lzma \
45 --with-sqlite3 \
46 --with-tpm \
47 --with-zlib \
48 --with-python-versions=3 \
49 $(if $(filter $(DEB_HOST_ARCH), armhf),--cpu=armv7) \
50 $(if $(filter $(DEB_HOST_ARCH), hurd-i386),--cpu=x86_32) \
51 --distribution-info=$(shell dpkg-vendor --query Vendor)
52
53 override_dh_auto_testscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/override_dh_auto_test().:
54 ifeq (,$(filterscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/filter. nocheck,$(DEB_BUILD_OPTIONSscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DEB_BUILD_OPTIONS.)))
55 LD_LIBRARY_PATH=. $(CURDIR)/botan-test
56 endif
57
58 override_dh_install-archscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/override_dh_install-arch().:
59 dh_installscip-debian debian debhelper . dh_install(). -a
60 sed -i -e 's/ -f\(debug\|file\)-prefix-map=[^ ]*=\. / /' $(DEVPKGscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DEVPKG.)/usr/include/botan-3/botan/build.h
61
62 override_dh_install-indepscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/override_dh_install-indep().:
63 dh_installscip-debian debian debhelper . dh_install(). -i
64 rm -rf $(DOCPKGscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/DOCPKG.)/usr/share/doc/libbotan-3-doc/handbook/.doctrees
65
66 %scip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/`%`().:
67 dh $@ --with python3
68
69 .PHONYscip-debian debian botan3 3.12.0+dfsg-2 botan3/rules/`.PHONY`().: override_dh_clean override_dh_auto_configure override_dh_auto_test \
70 override_dh_install-arch override_dh_install-indep