Makefile revision 6f438c358f43b651266d1a8f13c695bd4a156800
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Author: (c) Klaus Luettich, Christian Maeder, Uni Bremen 2002-2009
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# This Makefile will compile the hets system and provides also
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# targets for test programs during implementation phases.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# !!! Note: This makefile is written for GNU make !!!
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# (gmake on solaris)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# deprecated since haddock 2
9512fe850e98fdd448c638ca63fdd92a8a510255ahl utils utils/DrIFT-src utils/GenerateRules utils/InlineAxioms Common \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl Common/Lib Common/ATerm Logic CASL CASL/CCC CASL/CompositionTable \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl Syntax Static GUI HasCASL Haskell Modal CoCASL COL ConstraintCASL \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl CspCASL ATC Proofs Comorphisms Isabelle Driver Modifications \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl Taxonomy CASL_DL SoftFOL OWL OMDoc PGIP Propositional RelationalScheme \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# the 'replacing spaces' example was taken from the (GNU) Make info manual
9512fe850e98fdd448c638ca63fdd92a8a510255ahlGENERATERULES_deps = utils/GenerateRules/*hs $(DRIFT_deps)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl Modal/Parse_AS.hs Modal/ModalSign.hs Modal/Print_AS.hs Modal/StatAna.hs
9512fe850e98fdd448c638ca63fdd92a8a510255ahlGENRULECALL = $(GENRULES) -r Typeable -r ShATermConvertible \
(cd ../programatica/tools; \
$@.hs -o $@
$(RM) $@
$(APPENDPRELUDESTRING) < $< > $@
#Ti_Prop_files = property/TI/TiPropDecorate property/syntax/PropSyntaxRec
# unset this variable from var.mk because the programatica sources
# uncomment HC_PROF for profiling (and comment out packages in var.mk)
# the rules to create ATC .der.hs file for DriFT
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL2) -o $@ $<
# all ATC .der.hs files for all logics
# a rule to create all .der.hs files
# files to be processed by utils/InlineAxioms
$(wildcard utils/GenerateRules/*.hs) \
$(wildcard utils/InlineAxioms/*.hs) \
$(generated_rule_files) \
cgi:
(cd utils/GenerateRules; \
GenerateRules.hs -o ../genRules)
-i../.. -o $(INLINEAXIOMS)
if [ -d ../programatica ] ; then \
./clean.sh; \
# Common/LaTeX_maps.hs generation
@echo -n "Generating pretty/LaTeX_maps.hs ... "
@(cd pretty >/dev/null; ../utils/genItCorrections \
$(RM) $@
## two hardcoded dependencies for a correct generation of Version.hs
.SUFFIXES:
%.hs: %.y
$(RM) $@
$(RM) $@
$(INLINEAXIOMS) $< > $@
%.d : %.hs
%.d : %.lhs
$(RM) $@
$(RM) $@
$(PERL) $+ > $@
## rule for Modal/ModalSystems.hs needed for ModalLogic Translation
# uses intransparently utils/outlineAxioms
$(RM) $@
@echo Please do