22 lines
571 B
Plaintext
Raw Normal View History

2014-09-10 22:49:44 +02:00
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
2014-09-10 22:49:44 +02:00
2015-12-29 17:41:30 +01:00
ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
2015-12-28 17:07:51 +01:00
NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO
endif
2015-12-29 17:41:30 +01:00
ifeq ($(DEB_HOST_ARCH_OS), hurd)
2015-12-28 17:07:51 +01:00
NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO -DSENSORS_PLUGIN=NO
endif
2014-09-10 22:49:44 +02:00
%:
dh ${@} --buildsystem cmake \
--parallel
override_dh_auto_configure:
dh_auto_configure -- -DDOM_PLUGIN=YES $(NOT_LINUX)