Makefile revision 38352346eb1a67ba0f4eab8ad6f718528cf0cde0
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Author: (c) Klaus L�ttich, Christian Maeder, Uni Bremen 2002-2005
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Year: 2004
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock# This Makefile will compile the new hets system and provides also
fa9e4066f08beec538e775443c5be79dd423fcabahrens# targets for test programs during implementation phases.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# !!! Note: This makefile is written for GNU make !!!
fa9e4066f08beec538e775443c5be79dd423fcabahrens# (gmake on solaris)
fa9e4066f08beec538e775443c5be79dd423fcabahrens####################################################################
fa9e4066f08beec538e775443c5be79dd423fcabahrens## Some varibles, which control the compilation
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMMONLIB_PATH = Common/Lib Common/ATerm fgl/Data/Graph \
fa9e4066f08beec538e775443c5be79dd423fcabahrens fgl/Data/Graph/Inductive fgl/Data/Graph/Inductive/Internal \
fa9e4066f08beec538e775443c5be79dd423fcabahrens fgl/Data/Graph/Inductive/Monad fgl/Data/Graph/Inductive/Query
fa9e4066f08beec538e775443c5be79dd423fcabahrensCLEAN_PATH = . utils/DrIFT-src utils/GenerateRules utils/InlineAxioms Common \
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby Logic CASL CASL/CCC Syntax Static GUI HasCASL Haskell Modal CoCASL COL \
94dd93aee32d1616436eb51fb7b58094b9a8d3e8George Wilson CspCASL ATC ToHaskell Proofs Comorphisms Isabelle Driver $(INCLUDE_PATH) \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Haskell/Hatchet Hatchet Taxonomy CASL_DL SPASS $(PFE_PATHS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens# the 'replacing spaces' example was taken from the (GNU) Make info manual
fa9e4066f08beec538e775443c5be79dd423fcabahrens## set ghc imports properly for your system
fa9e4066f08beec538e775443c5be79dd423fcabahrens DERIVEPATH=.:ghc:$(GHC_IMPORTS):$(subst $(space),:,$(PFE_PATHS))
fa9e4066f08beec538e775443c5be79dd423fcabahrens# override on commandline for other architectures
c9431fa1e59a88c2f0abf611f25b97af964449e5ahl /home/www/agbkb/forschung/formal_methods/CoFI/hets/`utils/sysname.sh`
5ad820458efd0fdb914baff9c1447c22b819fa23ndGENERATERULES_deps = utils/GenerateRules/*hs $(DRIFT_deps) Common/Utils.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrensINLINEAXIOMS_deps = utils/InlineAxioms/InlineAxioms.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Common/Lib/Pretty.hs Common/Keywords.hs Common/Lib/Set.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Common/Lib/Map.hs Common/Lib/Rel.hs Common/Lib/State.hs Common/Id.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Common/AS_Annotation.hs CASL/AS_Basic_CASL.hs CASL/ShowMixfix.hs \
feef89cf5f5fee792c1a396bb0e48070935cf65aVictor Latushkin CASL/Utils.hs Common/Lexer.hs Common/Token.hs Common/Anno_Parser.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Common/Print_AS_Annotation.hs Common/PPUtils.hs CASL/LiteralFuns.hs \
5679c89fcd2facbb4334df8870d3d7a4d2b11673jv CASL/Print_AS_Basic.hs Common/AnnoState.hs CASL/Formula.hs \
283b84606b6fc326692c03273de1774e8c122f9aGeorge.Wilson CASL/OpItem.hs CASL/SortItem.hs CASL/Inject.hs Common/Result.hs \
94dd93aee32d1616436eb51fb7b58094b9a8d3e8George Wilson Common/ConvertLiteral.hs Common/Earley.hs CASL/MixfixParser.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrensHC_FLAGS = $(HC_WARN) -fglasgow-exts -fno-monomorphism-restriction \
fa9e4066f08beec538e775443c5be79dd423fcabahrens -fallow-overlapping-instances -fallow-undecidable-instances
fa9e4066f08beec538e775443c5be79dd423fcabahrens# -ddump-minimal-imports
fa9e4066f08beec538e775443c5be79dd423fcabahrens# flags also come in via ../uni/uni-package.conf
fa9e4066f08beec538e775443c5be79dd423fcabahrens# but added it here in case of compilation without uni
fa9e4066f08beec538e775443c5be79dd423fcabahrenslogics = CASL HasCASL Isabelle Modal CoCASL COL CspCASL Hatchet CASL_DL SPASS
fa9e4066f08beec538e775443c5be79dd423fcabahrensUNI_PACKAGE_CONF = $(wildcard ../uni/uni-package.conf)
44cb6abc89aa591c23f5e58296c6d2a29302344abmcHC_PACKAGE = -package-conf $(UNI_PACKAGE_CONF) -package uni-davinci \
44cb6abc89aa591c23f5e58296c6d2a29302344abmc# some modules from uni for haddock
44cb6abc89aa591c23f5e58296c6d2a29302344abmc# if uni/server is included also HaXml sources are needed
44cb6abc89aa591c23f5e58296c6d2a29302344abmcuni_sources = $(wildcard $(addsuffix /haddock/*.hs, $(uni_dirs))) \
44cb6abc89aa591c23f5e58296c6d2a29302344abmc### list of directories to run checks in
44cb6abc89aa591c23f5e58296c6d2a29302344abmcPFE_DIRS = base/AST base/TI base/parse2 base/parse2/Lexer base/parse2/Parser \
44cb6abc89aa591c23f5e58296c6d2a29302344abmc base/parse2/LexerGen base/parse2/LexerSpec base/tests/HbcLibraries \
44cb6abc89aa591c23f5e58296c6d2a29302344abmc base/pretty base/syntax base/lib base/lib/Monads base/Modules base/defs \
44cb6abc89aa591c23f5e58296c6d2a29302344abmc property/TI property/defs property/parse2 property/parse2/Parser
fa9e4066f08beec538e775443c5be79dd423fcabahrenspfe_sources = $(wildcard $(addsuffix /*hs, $(PFE_PATHS)))
fa9e4066f08beec538e775443c5be79dd423fcabahrensPFE_FLAGS = -package data -package text $(PFE_PATH) -DPROGRAMATICA
fa9e4066f08beec538e775443c5be79dd423fcabahrenshappy_files += $(PFE_TOOLDIR)/property/parse2/Parser/PropParser.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrens$(LEX_DIR)Gen/HsLexerGen: $(LEX_DIR)Gen/*.hs $(LEX_DIR)Spec/*.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrensderived_sources += Haskell/PreludeString.hs $(LEX_DIR)/HsLex.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrensAPPENDPRELUDESTRING = utils/appendHaskellPreludeString \
fa9e4066f08beec538e775443c5be79dd423fcabahrens## rule for appendHaskellPreludeString
fa9e4066f08beec538e775443c5be79dd423fcabahrensHaskell/PreludeString.hs: Haskell/PreludeString.append.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrensAst_Haskell_files = HsDeclStruct HsExpStruct HsFieldsStruct \
fa9e4066f08beec538e775443c5be79dd423fcabahrens HsGuardsStruct HsKindStruct HsPatStruct HsTypeStruct HsAssocStruct \
fa9e4066f08beec538e775443c5be79dd423fcabahrensOther_PFE_files = property/AST/HsPropStruct base/defs/PNT \
c25056de36a33f2a76f79dcf64593f731d258013gw base/defs/UniqueNames base/Modules/TypedIds base/TI/TiKinds \
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(addprefix $(PFE_TOOLDIR)/base/AST/, $(Ast_Haskell_files)) \
fa9e4066f08beec538e775443c5be79dd423fcabahrens## rule for ATC generation
fa9e4066f08beec538e775443c5be79dd423fcabahrensHaskell/ATC_Haskell.der.hs: $(Haskell_files) ATC/Haskell.header.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens utils/genRules -r $(rule) -o Haskell -h ATC/Haskell.header.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens### Profiling (only for debugging)
fa9e4066f08beec538e775443c5be79dd423fcabahrens### Attention every module must be compiled with profiling or the linker
fa9e4066f08beec538e775443c5be79dd423fcabahrens### cannot link the various .o files properly. So after switching on
fa9e4066f08beec538e775443c5be79dd423fcabahrens### Profiling, do an 'gmake real_clean; gmake'
c25056de36a33f2a76f79dcf64593f731d258013gw### and comment out HC_PACKAGE variable definition above.
fa9e4066f08beec538e775443c5be79dd423fcabahrens### Comment in the following line for switching on profiling.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#HC_PROF = -prof -auto-all
fa9e4066f08beec538e775443c5be79dd423fcabahrensHCI_OPTS = $(HC_FLAGS) $(HC_INCLUDE) $(HC_PACKAGE) $(PFE_FLAGS)
fa9e4066f08beec538e775443c5be79dd423fcabahrensHC_OPTS = $(HCI_OPTS) $(HC_PROF) -DHATCHET -DCASLEXTENSIONS
fa9e4066f08beec538e775443c5be79dd423fcabahrens####################################################################
fa9e4066f08beec538e775443c5be79dd423fcabahrens## sources for hets
fa9e4066f08beec538e775443c5be79dd423fcabahrensnon_sources = Common/LaTeX_maps.svmono.hs CspCASL/Main.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Static/LogicStructured.hs Common/CaslLanguage.hs ./Test.hs
c25056de36a33f2a76f79dcf64593f731d258013gwdrifted_files = Syntax/AS_Architecture.hs Syntax/AS_Library.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Common/AS_Annotation.hs CASL/AS_Basic_CASL.hs Syntax/AS_Structured.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Modal/AS_Modal.hs CoCASL/AS_CoCASL.hs COL/AS_COL.hs CASL_DL/AS_CASL_DL.hs\
fa9e4066f08beec538e775443c5be79dd423fcabahrens Syntax/AS_Structured.der.hs Syntax/AS_Architecture.der.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Common/GlobalAnnotations.hs Syntax/AS_Library.der.hs \
745cd3c5371d020efae7a911c58c526aa1fd0dbamaybee ATC/$(basename $(basename $(notdir $(file)))).der.hs)
fa9e4066f08beec538e775443c5be79dd423fcabahrensCASL_files = CASL/Sublogic.hs CASL/Morphism.hs CASL/Sign.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrensHasCASL_files = HasCASL/As.hs HasCASL/Le.hs HasCASL/Morphism.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrensCoCASL_files = CoCASL/AS_CoCASL.hs CoCASL/CoCASLSign.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrensCspCASL_files = CspCASL/AS_CSP_CASL.hs CspCASL/SignCSP.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrens Haskell/Hatchet/MultiModuleBasics.hs Haskell/Hatchet/HsSyn.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Haskell/Hatchet/Representation.hs Haskell/Hatchet/Class.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Haskell/Hatchet/KindInference.hs Haskell/Hatchet/Env.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrensatc_logic_files = $(foreach logic, $(logics), $(logic)/ATC_$(logic).der.hs)
fa9e4066f08beec538e775443c5be79dd423fcabahrensgenerated_rule_files = $(atc_der_files) $(atc_logic_files)
fa9e4066f08beec538e775443c5be79dd423fcabahrensgendrifted_files = $(patsubst %.der.hs, %.hs, $(generated_rule_files))
fa9e4066f08beec538e775443c5be79dd423fcabahrensinline_axiom_files = Comorphisms/CASL2PCFOL.hs Comorphisms/PCFOL2FOL.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Comorphisms/Modal2CASL.hs Comorphisms/CASL2TopSort.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrensgen_inline_axiom_files = $(patsubst %.hs,%.inline.hs, $(inline_axiom_files))
fa9e4066f08beec538e775443c5be79dd423fcabahrensderived_sources += $(drifted_files) Driver/Version.hs $(happy_files) \
fa9e4066f08beec538e775443c5be79dd423fcabahrens# sources that have {-# OPTIONS -cpp #-}
c25056de36a33f2a76f79dcf64593f731d258013gwcpp_sources = Haskell/Hatchet/FiniteMaps.hs Common/DynamicUtils.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Isabelle/Logic_Isabelle.hs Isabelle/CreateTheories.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Comorphisms/LogicList.hs Comorphisms/LogicGraph.hs $(happy_files)
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(cpp_sources) $(pfe_sources) $(gen_inline_axiom_files) \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Haskell/PreludeString.append.hs Haskell/ProgramaticaPrelude.hs \
5ad820458efd0fdb914baff9c1447c22b819fa23nd hxt/HXT.hs hxt/Net.hs $(patsubst %.hs, %.der.hs, $(drifted_files))
fa9e4066f08beec538e775443c5be79dd423fcabahrens# this variable holds the modules that should be documented
fa9e4066f08beec538e775443c5be79dd423fcabahrensdoc_sources = $(filter-out $(nondoc_sources), $(sources)) \
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(patsubst %.hs, %.hspp, $(cpp_sources)) $(uni_sources)
5ad820458efd0fdb914baff9c1447c22b819fa23ndtax_sources = Taxonomy/AbstractGraphView.hs Taxonomy/MMiSSOntology.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens Taxonomy/MMiSSOntologyGraph.hs Taxonomy/OntoParser.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrens####################################################################
5ad820458efd0fdb914baff9c1447c22b819fa23nd.PHONY : all hets-opt hets-optimized clean d_clean real_clean bin_clean \
5ad820458efd0fdb914baff9c1447c22b819fa23nd lib_clean distclean check capa hacapa h2h clean_genRules genRules \
fa9e4066f08beec538e775443c5be79dd423fcabahrens.SECONDARY : %.hs %.d $(generated_rule_files) $(gen_inline_axiom_files)
fa9e4066f08beec538e775443c5be79dd423fcabahrens ghc --make -package-conf /home/luettich/ghc-pkg/package.conf \
fa9e4066f08beec538e775443c5be79dd423fcabahrens -package WASH-CGI GUI/hets_cgi.hs -o hets.cgi $(HC_INCLUDE) \
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(HC) --make -o Taxonomy/taxonomyTool $< -ifgl $(HC_OPTS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens###############################
fa9e4066f08beec538e775443c5be79dd423fcabahrens### TAGS files for (x)emacs
fa9e4066f08beec538e775443c5be79dd423fcabahrens# load them with "M-x" "visit-tags-table" from
fa9e4066f08beec538e775443c5be79dd423fcabahrens# use "M-." to search for a tag
fa9e4066f08beec538e775443c5be79dd423fcabahrens# !!Beware this is somewhat instable, because it uses an absolute path!!
fa9e4066f08beec538e775443c5be79dd423fcabahrens /home/ger/linux/ghc-5.04.2/bin/i386-unknown-linux/hasktags \
fa9e4066f08beec538e775443c5be79dd423fcabahrens###############################
fa9e4066f08beec538e775443c5be79dd423fcabahrens### count lines of code
fa9e4066f08beec538e775443c5be79dd423fcabahrens###############################
fa9e4066f08beec538e775443c5be79dd423fcabahrens### Documentation via haddock
fa9e4066f08beec538e775443c5be79dd423fcabahrens# generate haddock documentation with links to sources
fa9e4066f08beec538e775443c5be79dd423fcabahrens -t 'Hets - the Heterogeneous Tool Set' \
fa9e4066f08beec538e775443c5be79dd423fcabahrens# sources are not copied here
fa9e4066f08beec538e775443c5be79dd423fcabahrens###############################
fa9e4066f08beec538e775443c5be79dd423fcabahrens### release management
fa9e4066f08beec538e775443c5be79dd423fcabahrens (cd utils/DrIFT-src; $(HC) --make DrIFT.hs -o ../DrIFT && \
fa9e4066f08beec538e775443c5be79dd423fcabahrens GenerateRules.hs -o ../genRules && strip ../genRules)
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(HC) --make utils/InlineAxioms/InlineAxioms.hs $(HC_WARN) $(HC_PROF) \
fa9e4066f08beec538e775443c5be79dd423fcabahrens -i../.. -o $(INLINEAXIOMS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens cvs -d :pserver:cvsread@cvs-agbkb.informatik.uni-bremen.de:/repository\
fa9e4066f08beec538e775443c5be79dd423fcabahrens if [ -d ../programatica ] ; then \
fa9e4066f08beec538e775443c5be79dd423fcabahrens ln -s ../../programatica/tools programatica/tools ; fi
fa9e4066f08beec538e775443c5be79dd423fcabahrens (cd HetCATS; $(MAKE) derivedSources; $(MAKE) real_clean; \
fa9e4066f08beec538e775443c5be79dd423fcabahrens find . -name CVS -o -name \*.o -o -name \*.hi | xargs $(RM) -r; \
fa9e4066f08beec538e775443c5be79dd423fcabahrens cp -p hets $(INSTALLDIR)/versions/hets-`cat version_nr`
fa9e4066f08beec538e775443c5be79dd423fcabahrens ln -s versions/hets-`cat version_nr` hets; $(RM) version_nr)
fa9e4066f08beec538e775443c5be79dd423fcabahrens#############################
fa9e4066f08beec538e775443c5be79dd423fcabahrens### ATC DrIFT-rule generation
fa9e4066f08beec538e775443c5be79dd423fcabahrens if [ -f ATC/$(basename $(basename $(notdir $(file)))).header.hs ]; \
fa9e4066f08beec538e775443c5be79dd423fcabahrens ATC/$(basename $(basename $(notdir $(file)))).header.hs $(file); \
fa9e4066f08beec538e775443c5be79dd423fcabahrens$(atc_der_files): $(atc_files) $(genrule_header_files) utils/genRules
fa9e4066f08beec538e775443c5be79dd423fcabahrensHasCASL/ATC_HasCASL.der.hs: $(HasCASL_files) utils/genRules
fa9e4066f08beec538e775443c5be79dd423fcabahrens utils/genRules -r $(rule) -o HasCASL $(HasCASL_files)
fa9e4066f08beec538e775443c5be79dd423fcabahrensIsabelle/ATC_Isabelle.der.hs: $(Isabelle_files) utils/genRules
fa9e4066f08beec538e775443c5be79dd423fcabahrens utils/genRules -r $(rule) -o Isabelle $(Isabelle_files)
fa9e4066f08beec538e775443c5be79dd423fcabahrensCASL_DL/ATC_CASL_DL.der.hs: $(CASL_DL_files) utils/genRules
fa9e4066f08beec538e775443c5be79dd423fcabahrens utils/genRules -r $(rule) -o CASL_DL $(CASL_DL_files)
fa9e4066f08beec538e775443c5be79dd423fcabahrensCoCASL/ATC_CoCASL.der.hs: $(CoCASL_files) utils/genRules
fa9e4066f08beec538e775443c5be79dd423fcabahrensCspCASL/ATC_CspCASL.der.hs: $(CspCASL_files) utils/genRules
fa9e4066f08beec538e775443c5be79dd423fcabahrens utils/genRules -r $(rule) -o CspCASL $(CspCASL_files)
fa9e4066f08beec538e775443c5be79dd423fcabahrensHatchet/ATC_Hatchet.der.hs: $(Hatchet_files) ATC/Hatchet.header.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens utils/genRules -r $(rule) -o Hatchet -h ATC/Hatchet.header.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens###############
fa9e4066f08beec538e775443c5be79dd423fcabahrens### clean up
fa9e4066f08beec538e775443c5be79dd423fcabahrens### removes *.hi and *.o in all include directories
fa9e4066f08beec538e775443c5be79dd423fcabahrens### remove binaries
095bcd6622e3b3520eb3b71039a3be5cfab25b74George Wilson### additonally removes *.d (dependency files) in every include directory
095bcd6622e3b3520eb3b71039a3be5cfab25b74George Wilson### also delete *.d.bak (dependency file backups)
fa9e4066f08beec538e775443c5be79dd423fcabahrens### remove files also in own libraries
fa9e4066f08beec538e775443c5be79dd423fcabahrens### additionally removes the files that define the sources-variable
fa9e4066f08beec538e775443c5be79dd423fcabahrens### additionally removes files not in CVS tree
fa9e4066f08beec538e775443c5be79dd423fcabahrens####################################################################
fa9e4066f08beec538e775443c5be79dd423fcabahrens### test targets
fa9e4066f08beec538e775443c5be79dd423fcabahrens####################################################################
fa9e4066f08beec538e775443c5be79dd423fcabahrens### a parser to test annotation parser and Id parsers
fa9e4066f08beec538e775443c5be79dd423fcabahrensCommon/test_parser: Common/test_parser.hs Common/AS_Annotation.der.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrens### interactive
fa9e4066f08beec538e775443c5be79dd423fcabahrens### christian's target
fa9e4066f08beec538e775443c5be79dd423fcabahrens### CASL parser
fa9e4066f08beec538e775443c5be79dd423fcabahrens### HasCASL parser
fa9e4066f08beec538e775443c5be79dd423fcabahrensHasCASL/hacapa: HasCASL/hacapa.hs Common/*.hs HasCASL/*.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrens### Haskell analysis
fa9e4066f08beec538e775443c5be79dd423fcabahrensHaskell/hana: Haskell/hana.hs Haskell/HatAna.hs Haskell/PreludeString.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrens### Haskell to Isabelle-HOLCF translation
fa9e4066f08beec538e775443c5be79dd423fcabahrensToHaskell/h2hf: ToHaskell/h2hf.hs ToHaskell/*.hs Haskell/*.hs HasCASL/*.hs Isabelle/*.hs Common/*.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrens### HasCASL to Haskell translation
fa9e4066f08beec538e775443c5be79dd423fcabahrensToHaskell/h2h: ToHaskell/h2h.hs ToHaskell/*.hs Haskell/*.hs HasCASL/*.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrens### HetCASL parser
fa9e4066f08beec538e775443c5be79dd423fcabahrens### HetCASL parser
fa9e4066f08beec538e775443c5be79dd423fcabahrens### ATC test system
fa9e4066f08beec538e775443c5be79dd423fcabahrensatctest2: ATC/ATCTest2.hs Common/SimpPretty.hs Common/ATerm/*.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens### ATerm.Lib test system
fa9e4066f08beec538e775443c5be79dd423fcabahrensatermlibtest: Common/ATerm/ATermLibTest.hs Common/SimpPretty.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrenshatermdiff: Common/ATerm/ATermDiffMain.hs Common/SimpPretty.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens### OWL_DL test target
fa9e4066f08beec538e775443c5be79dd423fcabahrensOWL_DL/readAStest: OWL_DL/ToHaskellAS.hs Common/ATerm/*.hs \
fa9e4066f08beec538e775443c5be79dd423fcabahrens### HetCASL with dev graph
fa9e4066f08beec538e775443c5be79dd423fcabahrens### run tests in other directories
fa9e4066f08beec538e775443c5be79dd423fcabahrens####################################################################
fa9e4066f08beec538e775443c5be79dd423fcabahrens## Preparing the version of HetCATS
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(PERL) utils/build_version.pl version_nr < Driver/Version.in > $@
fa9e4066f08beec538e775443c5be79dd423fcabahrens## two hardcoded dependencies for a correct generation of Version.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrensDriver/Options.hs Driver/WriteFn.hs Driver/ReadFn.hs: Driver/Version.hs
fa9e4066f08beec538e775443c5be79dd423fcabahrens####################################################################
fa9e4066f08beec538e775443c5be79dd423fcabahrens## rules for DrIFT
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(HAPPY) -o $@ $<
fa9e4066f08beec538e775443c5be79dd423fcabahrens ($(DRIFT_ENV); export DERIVEPATH; $(DRIFT) $(DRIFT_OPTS) $< > $@)
fa9e4066f08beec538e775443c5be79dd423fcabahrens## rules for inlineAxioms
fa9e4066f08beec538e775443c5be79dd423fcabahrens## rule for cpp and haddock
fa9e4066f08beec538e775443c5be79dd423fcabahrens## compiling rules for object and interface files
fa9e4066f08beec538e775443c5be79dd423fcabahrens## compiling rules for dependencies
fa9e4066f08beec538e775443c5be79dd423fcabahrens## rule for Modal/ModalSystems.hs needed for ModalLogic Translation