You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
571 B
22 lines
571 B
#!/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)
|
|
|
|
ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
|
|
NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO
|
|
endif
|
|
|
|
ifeq ($(DEB_HOST_ARCH_OS), hurd)
|
|
NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO -DSENSORS_PLUGIN=NO
|
|
endif
|
|
|
|
%:
|
|
dh ${@} --buildsystem cmake \
|
|
--parallel
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- -DDOM_PLUGIN=YES $(NOT_LINUX)
|