Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
4 -include /usr/share/dpkg/buildtools.mk
5
6 # Define SONAME for shared library
7 LIBNAME=libStatGen
8 SONUMBER=1
9 LIBSHARED=${LIBNAME}.so.${SONUMBER}
10
11 %:
12 dh $@ --no-parallel
13
14 override_dh_auto_build:
15 dh_auto_build
16 # Build the shared library
17 $(CXX) -shared -o ${LIBSHARED} */obj/*.o -fPIC -Wl,-soname,${LIBSHARED} $(LDFLAGS)
18 # Build doxygen doc
19 doxygen
20
21 override_dh_auto_install:
22 mkdir -p debian/libstatgen-dev/usr/include/${LIBNAME}/
23 cp -L include/* debian/libstatgen-dev/usr/include/${LIBNAME}/
24 ln -s ${LIBSHARED} ${LIBNAME}.so
25 d-shlibmove --commit \
26 --multiarch \
27 --devunversioned \
28 --exclude-a \
29 ${LIBNAME}.so
30
31 override_dh_auto_test:
32 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
33 echo "Build time test is not run here."
34 endif