|
|
|
@ -5,10 +5,13 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
|
|
|
|
|
|
|
|
|
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
|
|
|
|
|
|
|
|
|
|
ifneq ($(DEB_HOST_ARCH_OS),linux)
|
|
|
|
|
NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO
|
|
|
|
|
ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
|
|
|
|
|
NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
ifeq ($(DEB_HOST_AECH_OS), hurd)
|
|
|
|
|
NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO -DSENSORS_PLUGIN=NO
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
%:
|
|
|
|
|
dh ${@} --buildsystem cmake \
|
|
|
|
|