Makefile revision 2e2094a642e3775b0d76b890556407941d3a53b6
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Author: (c) Klaus L�ttich, Christian Maeder, Uni Bremen 2002-2005
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Year: 2004
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# This Makefile will compile the new hets system and provides also
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# targets for test programs during implementation phases.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# !!! Note: This makefile is written for GNU make !!!
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# (gmake on solaris)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw####################################################################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## Some varibles, which control the compilation
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMMONLIB_PATH = Common/Lib Common/ATerm fgl/Data/Graph \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw fgl/Data/Graph/Inductive fgl/Data/Graph/Inductive/Internal \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw fgl/Data/Graph/Inductive/Monad fgl/Data/Graph/Inductive/Query
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCLEAN_PATH = . utils/DrIFT-src utils/GenerateRules utils/InlineAxioms Common \
fd9ee8b58485b20072eeef1310a88ff348d5e7fajoyce mcintosh Logic CASL CASL/CCC Syntax Static GUI HasCASL Haskell Modal CoCASL COL \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw CspCASL ATC ToHaskell Proofs Comorphisms Isabelle Driver $(INCLUDE_PATH) \
8d7e41661dc4633488e93b13363137523ce59977jose borrego# the 'replacing spaces' example was taken from the (GNU) Make info manual
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## set ghc imports properly for your system
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# import directories for ghc-5.04.2
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw DERIVEPATH=.:ghc:$(GHC_IMPORTS):$(GHC5):$(subst $(space),:,$(PFE_PATHS))
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# override on commandline for other architectures
dc20a3024900c47dd2ee44b9707e6df38f7d62a5as /home/www/agbkb/forschung/formal_methods/CoFI/hets/`utils/sysname.sh`
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwGENERATERULES_deps = utils/GenerateRules/*hs $(DRIFT_deps) Common/Utils.hs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Common/Lib/Pretty.hs Common/Keywords.hs Common/Lib/Set.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Common/Lib/Map.hs Common/Lib/Rel.hs Common/Lib/State.hs Common/Id.hs \
8d7e41661dc4633488e93b13363137523ce59977jose borrego Common/AS_Annotation.hs CASL/AS_Basic_CASL.hs CASL/ShowMixfix.hs \
8d7e41661dc4633488e93b13363137523ce59977jose borrego CASL/Utils.hs Common/Lexer.hs Common/Token.hs Common/Anno_Parser.hs \
8d7e41661dc4633488e93b13363137523ce59977jose borrego Common/GlobalAnnotations.hs Common/PrettyPrint.hs \
8d7e41661dc4633488e93b13363137523ce59977jose borrego Common/Print_AS_Annotation.hs Common/PPUtils.hs CASL/LiteralFuns.hs \
8d7e41661dc4633488e93b13363137523ce59977jose borrego CASL/Print_AS_Basic.hs Common/AnnoState.hs CASL/Formula.hs \
8d7e41661dc4633488e93b13363137523ce59977jose borrego CASL/OpItem.hs CASL/SortItem.hs CASL/Inject.hs Common/Result.hs \
8d7e41661dc4633488e93b13363137523ce59977jose borrego Common/ConvertLiteral.hs Common/Earley.hs CASL/MixfixParser.hs \
8d7e41661dc4633488e93b13363137523ce59977jose borrego CASL/Parse_AS_Basic.hs CASL/Sign.hs CASL/Overload.hs \
7b59d02d2a384be9a08087b14defadd214b3c1ddjb# remove -fno-warn-orphans for older ghcs
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United StatesHC_WARN = -Wall -fno-warn-orphans
7b59d02d2a384be9a08087b14defadd214b3c1ddjbHC_FLAGS = $(HC_WARN) -fglasgow-exts -fno-monomorphism-restriction \
7b59d02d2a384be9a08087b14defadd214b3c1ddjb -fallow-overlapping-instances -fallow-undecidable-instances
7b59d02d2a384be9a08087b14defadd214b3c1ddjb# -ddump-minimal-imports
7b59d02d2a384be9a08087b14defadd214b3c1ddjb# flags also come in via ../uni/uni-package.conf
7b59d02d2a384be9a08087b14defadd214b3c1ddjb# but added it here in case of compilation without uni
7b59d02d2a384be9a08087b14defadd214b3c1ddjblogics = CASL HasCASL Isabelle Modal CoCASL COL CspCASL CASL_DL SPASS
7b59d02d2a384be9a08087b14defadd214b3c1ddjbHC_PACKAGE = -package-conf $(UNI_PACKAGE_CONF) -package uni-davinci \
7b59d02d2a384be9a08087b14defadd214b3c1ddjb# some modules from uni for haddock
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# if uni/server is included also HaXml sources are needed
8d7e41661dc4633488e93b13363137523ce59977jose borregouni_dirs = ../uni/davinci ../uni/graphs ../uni/events \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwuni_sources = $(wildcard $(addsuffix /haddock/*.hs, $(uni_dirs))) \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### list of directories to run checks in
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwPFE_DIRS = base/AST base/TI base/parse2 base/parse2/Lexer base/parse2/Parser \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw base/parse2/LexerGen base/parse2/LexerSpec base/tests/HbcLibraries \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw base/pretty base/syntax base/lib base/lib/Monads base/Modules base/defs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw property/TI property/defs property/parse2 property/parse2/Parser
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwpfe_sources = $(wildcard $(addsuffix /*hs, $(PFE_PATHS)))
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwPFE_FLAGS = -package data -package text $(PFE_PATH) -DPROGRAMATICA
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwhappy_files += $(PFE_TOOLDIR)/property/parse2/Parser/PropParser.hs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw echo "{-# OPTIONS -w #-}" > $@
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw$(LEX_DIR)Gen/HsLexerGen: $(LEX_DIR)Gen/*.hs $(LEX_DIR)Spec/*.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwderived_sources += Haskell/PreludeString.hs $(LEX_DIR)/HsLex.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## rule for appendHaskellPreludeString
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwHaskell/PreludeString.hs: Haskell/PreludeString.append.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwAst_Haskell_files = HsDeclStruct HsExpStruct HsFieldsStruct \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw HsGuardsStruct HsKindStruct HsPatStruct HsTypeStruct HsAssocStruct \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwOther_PFE_files = property/AST/HsPropStruct base/defs/PNT \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw base/defs/UniqueNames base/Modules/TypedIds base/TI/TiKinds \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(addprefix $(PFE_TOOLDIR)/base/AST/, $(Ast_Haskell_files)) \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## rule for ATC generation
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwHaskell/ATC_Haskell.der.hs: $(Haskell_files) ATC/Haskell.header.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw utils/genRules -r $(rule) -o Haskell -h ATC/Haskell.header.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### Profiling (only for debugging)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### Attention every module must be compiled with profiling or the linker
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### cannot link the various .o files properly. So after switching on
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### Profiling, do an 'gmake real_clean; gmake'
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### and comment out HC_PACKAGE variable definition above.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### Comment in the following line for switching on profiling.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#HC_PROF = -prof -auto-all
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwHCI_OPTS = $(HC_FLAGS) $(HC_INCLUDE) $(HC_PACKAGE) $(PFE_FLAGS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw####################################################################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## sources for hets
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwnon_sources = Common/LaTeX_maps.svmono.hs CspCASL/Main.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Static/LogicStructured.hs Common/CaslLanguage.hs ./Test.hs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwdrifted_files = Syntax/AS_Architecture.hs Syntax/AS_Library.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Common/AS_Annotation.hs CASL/AS_Basic_CASL.hs Syntax/AS_Structured.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Modal/AS_Modal.hs CoCASL/AS_CoCASL.hs COL/AS_COL.hs CASL_DL/AS_CASL_DL.hs\
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Syntax/AS_Structured.der.hs Syntax/AS_Architecture.der.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCASL_files = CASL/Sublogic.hs CASL/Morphism.hs CASL/Sign.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwHasCASL_files = HasCASL/As.hs HasCASL/Le.hs HasCASL/Morphism.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCspCASL_files = CspCASL/AS_CSP_CASL.hs CspCASL/SignCSP.hs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwatc_logic_files = $(foreach logic, $(logics), $(logic)/ATC_$(logic).der.hs)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwgenerated_rule_files = $(atc_der_files) $(atc_logic_files)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwgendrifted_files = $(patsubst %.der.hs, %.hs, $(generated_rule_files))
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinline_axiom_files = Comorphisms/CASL2PCFOL.hs Comorphisms/PCFOL2FOL.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwgen_inline_axiom_files = $(patsubst %.hs,%.inline.hs, $(inline_axiom_files))
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwderived_sources += $(drifted_files) Driver/Version.hs $(happy_files) \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# sources that have {-# OPTIONS -cpp #-}
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Comorphisms/LogicList.hs Comorphisms/LogicGraph.hs $(happy_files)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(cpp_sources) $(pfe_sources) $(gen_inline_axiom_files) \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Haskell/PreludeString.append.hs Haskell/ProgramaticaPrelude.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw hxt/HXT.hs hxt/Net.hs $(patsubst %.hs, %.der.hs, $(drifted_files))
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# this variable holds the modules that should be documented
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwdoc_sources = $(filter-out $(nondoc_sources), $(sources)) \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwtax_sources = Taxonomy/AbstractGraphView.hs Taxonomy/MMiSSOntology.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw####################################################################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### targets
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw.PHONY : all hets-opt hets-optimized clean d_clean real_clean bin_clean \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw lib_clean distclean check capa hacapa h2h clean_genRules genRules \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw.SECONDARY : %.hs %.d $(generated_rule_files) $(gen_inline_axiom_files)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ghc --make -package-conf /home/luettich/ghc-pkg/package.conf \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw -package WASH-CGI GUI/hets_cgi.hs -o hets.cgi $(HC_INCLUDE) \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(HC) --make -o Taxonomy/taxonomyTool $< -ifgl $(HC_OPTS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw###############################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### TAGS files for (x)emacs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# load them with "M-x" "visit-tags-table" from
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# use "M-." to search for a tag
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# !!Beware this is somewhat instable, because it uses an absolute path!!
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw /home/ger/linux/ghc-5.04.2/bin/i386-unknown-linux/hasktags \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw###############################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### count lines of code
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw###############################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### Documentation via haddock
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# generate haddock documentation with links to sources
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw -t 'Hets - the Heterogeneous Tool Set' \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# sources are not copied here
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw###############################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### release management
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw (cd utils/DrIFT-src; $(HC) --make DrIFT.hs -o ../DrIFT && \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# "hssource" for ghc-5.04.2
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(HC) --make utils/InlineAxioms/InlineAxioms.hs $(HC_WARN) $(HC_PROF) \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw cvs -d :pserver:cvsread@cvs-agbkb.informatik.uni-bremen.de:/repository\
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw if [ -d ../programatica ] ; then \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw (cd HetCATS; $(MAKE) derivedSources; $(MAKE) real_clean; \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw find . -name CVS -o -name \*.o -o -name \*.hi | xargs $(RM) -r; \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ln -s versions/hets-`cat version_nr` hets; $(RM) version_nr)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#############################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### ATC DrIFT-rule generation
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw if [ -f ATC/$(basename $(basename $(notdir $(file)))).header.hs ]; \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ATC/$(basename $(basename $(notdir $(file)))).header.hs $(file); \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw$(atc_der_files): $(atc_files) $(genrule_header_files) utils/genRules
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwHasCASL/ATC_HasCASL.der.hs: $(HasCASL_files) utils/genRules
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwIsabelle/ATC_Isabelle.der.hs: $(Isabelle_files) utils/genRules
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCASL_DL/ATC_CASL_DL.der.hs: $(CASL_DL_files) utils/genRules
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCspCASL/ATC_CspCASL.der.hs: $(CspCASL_files) utils/genRules
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw###############
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### clean up
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### removes *.hi and *.o in all include directories
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### remove binaries
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### additonally removes *.d (dependency files) in every include directory
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### also delete *.d.bak (dependency file backups)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### remove files also in own libraries
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### additionally removes the files that define the sources-variable
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### additionally removes files not in CVS tree
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw####################################################################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### test targets
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw####################################################################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### a parser to test annotation parser and Id parsers
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCommon/test_parser: Common/test_parser.hs Common/AS_Annotation.der.hs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### interactive
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### christian's target
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### CASL parser
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### HasCASL parser
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwHasCASL/hacapa: HasCASL/hacapa.hs Common/*.hs HasCASL/*.hs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### Haskell analysis
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwHaskell/hana: Haskell/hana.hs Haskell/HatAna.hs Haskell/PreludeString.hs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### Haskell to Isabelle-HOLCF translation
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwToHaskell/h2hf: ToHaskell/h2hf.hs ToHaskell/*.hs Haskell/*.hs HasCASL/*.hs Isabelle/*.hs Common/*.hs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### HasCASL to Haskell translation
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwToHaskell/h2h: ToHaskell/h2h.hs ToHaskell/*.hs Haskell/*.hs HasCASL/*.hs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### HetCASL parser
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### HetCASL parser
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### ATC test system
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwatctest2: ATC/ATCTest2.hs Common/SimpPretty.hs Common/ATerm/*.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### ATerm.Lib test system
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwatermlibtest: Common/ATerm/ATermLibTest.hs Common/SimpPretty.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwhatermdiff: Common/ATerm/ATermDiffMain.hs Common/SimpPretty.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### OWL_DL test target
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwOWL_DL/readAStest: OWL_DL/ToHaskellAS.hs Common/ATerm/*.hs \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### HetCASL with dev graph
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw### run tests in other directories
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw####################################################################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## Preparing the version of HetCATS
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(PERL) utils/build_version.pl version_nr < Driver/Version.in > $@
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## two hardcoded dependencies for a correct generation of Version.hs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwDriver/Options.hs Driver/WriteFn.hs Driver/ReadFn.hs: Driver/Version.hs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw####################################################################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## rules for DrIFT
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw echo "{-# OPTIONS -w #-}" > $@
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ($(DRIFT_ENV); export DERIVEPATH; $(DRIFT) $(DRIFT_OPTS) $< > $@)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## rules for inlineAxioms
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## rule for cpp and haddock
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## compiling rules for object and interface files
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## compiling rules for dependencies
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## rule for Modal/ModalSystems.hs needed for ModalLogic Translation