+HS_PROGS = \
+ htools/hscan \
+ htools/hspace \
+ htools/htools
+HS_BIN_ROLES = hbal
+
+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 =
+# exclude options for coverage reports
+HPCEXCL = --exclude Main --exclude Ganeti.HTools.QC \
+ --exclude Ganeti.Constants \
+ --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/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/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/Hail.hs \
+ htools/Ganeti/HTools/Program/Hbal.hs \
+ htools/Ganeti/Jobs.hs \
+ htools/Ganeti/Luxi.hs \
+ htools/Ganeti/OpCodes.hs
+
+HS_BUILT_SRCS = htools/Ganeti/HTools/Version.hs htools/Ganeti/Constants.hs
+HS_BUILT_SRCS_IN = $(patsubst %,%.in,$(HS_BUILT_SRCS))
+