File: rules

package info (click to toggle)
fastnetmon 1.2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,828 kB
  • sloc: cpp: 48,342; perl: 2,533; python: 655; php: 422; sh: 267; ruby: 75; makefile: 65; ansic: 27
file content (16 lines) | stat: -rwxr-xr-x 512 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

ifeq (,$(filter-out mips mipsel m68k powerpc powerpcspe sh4,$(DEB_HOST_ARCH)))
EXTRA_ARGS += -DUSE_NEW_ATOMIC_BUILTINS=ON
endif

%:
	dh $@ --buildsystem=cmake --sourcedirectory=src

override_dh_auto_configure:
	dh_auto_configure -- -DENABLE_CUSTOM_BOOST_BUILD=FALSE -DDO_NOT_USE_SYSTEM_LIBRARIES_FOR_BUILD=FALSE -DLINK_WITH_ABSL=TRUE $(EXTRA_ARGS)

override_dh_installsystemd:
	dh_installsystemd --no-start --no-enable --restart-after-upgrade