+HS_PROGS = htools/htools
+HS_BIN_ROLES = hbal hscan hspace hinfo
+
+HS_ALL_PROGS = $(HS_PROGS) htools/test
+HS_PROG_SRCS = $(patsubst %,%.hs,$(HS_ALL_PROGS))
+# we don't add -Werror by default
+HFLAGS = -O -Wall -fwarn-monomorphism-restriction -fwarn-tabs -ihtools
+# extra flags that can be overriden on the command line
+HEXTRA =
+# internal extra flags (used for htools/test mainly)
+HEXTRA_INT =
+# exclude options for coverage reports
+HPCEXCL = --exclude Main \
+ --exclude Ganeti.Constants \
+ --exclude Ganeti.THH \
+ --exclude Ganeti.HTools.QC \
+ --exclude Ganeti.HTools.QCHelper \
+ --exclude Ganeti.HTools.Version
+
+HS_LIB_SRCS = \
+ htools/Ganeti/HTools/CLI.hs \
+ htools/Ganeti/HTools/Cluster.hs \
+ htools/Ganeti/HTools/Compat.hs \
+ htools/Ganeti/HTools/Container.hs \
+ htools/Ganeti/HTools/ExtLoader.hs \
+ htools/Ganeti/HTools/Group.hs \
+ htools/Ganeti/HTools/IAlloc.hs \
+ htools/Ganeti/HTools/Instance.hs \
+ htools/Ganeti/HTools/JSON.hs \
+ htools/Ganeti/HTools/Loader.hs \
+ htools/Ganeti/HTools/Luxi.hs \
+ htools/Ganeti/HTools/Node.hs \
+ htools/Ganeti/HTools/PeerMap.hs \
+ htools/Ganeti/HTools/QC.hs \
+ htools/Ganeti/HTools/QCHelper.hs \
+ htools/Ganeti/HTools/Rapi.hs \
+ htools/Ganeti/HTools/Simu.hs \
+ htools/Ganeti/HTools/Text.hs \
+ htools/Ganeti/HTools/Types.hs \
+ htools/Ganeti/HTools/Utils.hs \
+ htools/Ganeti/HTools/Program.hs \
+ htools/Ganeti/HTools/Program/Hail.hs \
+ htools/Ganeti/HTools/Program/Hbal.hs \
+ htools/Ganeti/HTools/Program/Hinfo.hs \
+ htools/Ganeti/HTools/Program/Hscan.hs \
+ htools/Ganeti/HTools/Program/Hspace.hs \
+ htools/Ganeti/BasicTypes.hs \
+ htools/Ganeti/Jobs.hs \
+ htools/Ganeti/Luxi.hs \
+ htools/Ganeti/OpCodes.hs \
+ htools/Ganeti/THH.hs
+
+HS_BUILT_SRCS = htools/Ganeti/HTools/Version.hs htools/Ganeti/Constants.hs
+HS_BUILT_SRCS_IN = $(patsubst %,%.in,$(HS_BUILT_SRCS))
+