rules revision 01e383014b555bbcf639c0ca60c5810b3eff83c0
3845N/ADRIFT_deps = utils/DrIFT-src/*hs
3845N/AINLINEAXIOMS_deps = utils/InlineAxioms/InlineAxioms.hs \
3845N/AGENRULES = utils/genRules
3845N/AGENRULECALL = $(GENRULES) -r ShATermConvertible -i Common.ATerm.Lib
3845N/ADRIFT = utils/DrIFT
3845N/AINLINEAXIOMS = utils/outlineAxioms
3845N/A# flags also come in via ../uni/uni-package.conf
3845N/AUNI_PACKAGE_CONF = $(wildcard ../uni/uni-package.conf)
3845N/A# if uni/server is included also HaXml sources are needed
3845N/A $(wildcard ../uni/htk/haddock/*/*.hs)
3845N/APFE_TOOLDIR = $(wildcard ../programatica/tools)
3845N/Ahappy_files += $(PFE_TOOLDIR)/property/parse2/Parser/PropParser.hs
3845N/ALEX_DIR = $(PFE_TOOLDIR)/base/parse2/Lexer
3845N/A$(LEX_DIR)Gen/HsLexerGen: $(LEX_DIR)Gen/*.hs $(LEX_DIR)Spec/*.hs \
3845N/A $(LEX_DIR)/HsTokens.hs
3845N/A -i$(PFE_TOOLDIR)/base/tests/HbcLibraries \
3845N/A $(LEX_DIR)Gen/HsLexerGen
3845N/AAPPENDPRELUDESTRING = utils/appendHaskellPreludeString \
3845N/AHaskell/ATC_Haskell.der.hs: $(Haskell_files) $(GENRULES)
3845N/A $(GENRULECALL) -i Haskell.BaseATC -o $@ $(Haskell_files)
3845N/Aatc_files = Common/AS_Annotation.der.hs \
3845N/A $(GENRULECALL) -i ATC.AS_Structured -o $@ $<
3845N/A $(GENRULECALL) -i ATC.AS_Architecture -o $@ $<
3845N/A $(GENRULECALL) -i ATC.AS_Annotation -o $@ $<
3845N/A $(GENRULECALL) -x ProverTemplate -i ATC.AS_Annotation -o $@ $<
3845N/A $(GENRULECALL) -i ATC.DevGraph -o $@ $<
3845N/AIsabelle_files = Isabelle/IsaSign.hs
3845N/ASPASS_files = SPASS/Sign.hs
3845N/AOWL_DL_files = OWL_DL/Sign.hs
3845N/Agen_inline_axiom_files = $(patsubst %.hs,%.inline.hs, $(inline_axiom_files))
3845N/Aderived_sources += $(drifted_files) Driver/Version.hs $(happy_files) \
3845N/A $(inline_axiom_files) Modal/ModalSystems.hs
3845N/Acpp_sources = Common/DynamicUtils.hs \
3845N/Agenrule_header_files = $(wildcard ATC/*.header.hs)
3845N/Anondoc_sources = $(wildcard utils/DrIFT-src/*.hs) \
3845N/A $(wildcard utils/DrIFT-src/*.lhs) \
3845N/A $(wildcard utils/GenerateRules/*.hs) \
3845N/A $(wildcard utils/InlineAxioms/*.hs) \
3845N/A $(PFE_TOOLDIR)/property/parse2/Parser/PropParser.hspp \
3845N/A ghc --make -package-conf $(HOME)/wash-pkg/package.conf \
3845N/A -package WASH GUI/hets_cgi.hs -o $@ $(HC_INCLUDE) \
3845N/Ataxonomy: Taxonomy/taxonomyTool.hs $(tax_sources)
3845N/A $(HC) --make -o Taxonomy/taxonomyTool $< -ifgl $(HC_OPTS)
3845N/Ahetcats.TAGS: $(sources)
3845N/A $(sources); mv TAGS $@; mv tags hetcats.tags
3845N/Ahets_maintainers.txt: $(sources)
3845N/A# the interface treatment is stolen from uni/mk/suffix.mk
3845N/Adocs/index.html: $(doc_sources)
3845N/A -p Hets-Haddock-Prologue.txt $(doc_sources)
3845N/A $(PERL) utils/post_process_docs.pl a-docs \
3845N/A $(PERL) utils/post_process_docs.pl a-docs \
3845N/Autils/DrIFT: $(DRIFT_deps)
3845N/Autils/genRules: $(GENERATERULES_deps)
3845N/A (cd utils/GenerateRules; \
3845N/A GenerateRules.hs -o ../genRules && strip ../genRules)
3845N/A $(HC) --make utils/InlineAxioms/InlineAxioms.hs $(HC_WARN) $(HC_PROF) \
3845N/A cp Makefile Makefile.orig; \
3845N/A tar cvf HetCATS.tar HetCATS
3845N/A cp -p hets $(INSTALLDIR)/versions/hets-`cat version_nr`
3845N/A ln -s versions/hets-`cat version_nr` hets; $(RM) version_nr)
3845N/ACASL/ATC_CASL.der.hs: $(CASL_files) $(GENRULES)
3845N/A $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(CASL_files)
3845N/AHasCASL/ATC_HasCASL.der.hs: $(HasCASL_files) $(GENRULES)
3845N/A $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(HasCASL_files)
3845N/AIsabelle/ATC_Isabelle.der.hs: $(Isabelle_files) $(GENRULES)
3845N/A $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(Isabelle_files)
3845N/AModal/ATC_Modal.der.hs: $(Modal_files) $(GENRULES)
3845N/A $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Modal_files)
3845N/ACASL_DL/ATC_CASL_DL.der.hs: $(CASL_DL_files) $(GENRULES)
3845N/A $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CASL_DL_files)
3845N/ACoCASL/ATC_CoCASL.der.hs: $(CoCASL_files) $(GENRULES)
3845N/A $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CoCASL_files)
3845N/ACOL/ATC_COL.der.hs: $(COL_files) $(GENRULES)
3845N/A $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(COL_files)
3845N/ACspCASL/ATC_CspCASL.der.hs: $(CspCASL_files) $(GENRULES)
3845N/A $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CspCASL_files)
3845N/ASPASS/ATC_SPASS.der.hs: $(SPASS_files) $(GENRULES)
3845N/A $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(SPASS_files)
3845N/AOWL_DL/ATC_OWL_DL.der.hs: $(OWL_DL_files) $(GENRULES)
3845N/A $(RM) HasCASL/hacapa
3845N/A $(RM) Haskell/hapa
3845N/A $(RM) Haskell/hana
3845N/A $(RM) Haskell/wrap
3845N/A $(RM) ToHaskell/h2h
3845N/A $(RM) Syntax/hetpa
3845N/A $(RM) Static/hetana
3845N/A $(RM) Common/annos
3845N/A $(RM) Taxonomy/taxonomyTool
3845N/Atest_parser: Common/test_parser
3845N/Ahacapa: HasCASL/hacapa
3845N/Ahana: Haskell/hana
3845N/Ah2hf: ToHaskell/h2hf
3845N/AToHaskell/h2hf: ToHaskell/h2hf.hs ToHaskell/*.hs Haskell/*.hs HasCASL/*.hs Isabelle/*.hs Common/*.hs
3845N/Ah2h: ToHaskell/h2h
3845N/Ahetpa: Syntax/hetpa.hs Syntax/*.hs
hetana: Static/hetana.hs Static/*.hs
atctest: ATC/ATCTest.hs ATC/*.hs
Common/Lib/*.hs
### ATerm.Lib test system
Common/Lib/*.hs OWL_DL/*.hs
hetdg: GUI/hetdg.hs $(drifted_files) *.hs
## two hardcoded dependencies for a correct generation of Version.hs
%.hs: %.der.hs $(DRIFT)
%.hs: %.inline.hs $(INLINEAXIOMS)
## rule for Modal/ModalSystems.hs needed for ModalLogic Translation
# uses intransparently utils/outlineAxioms
utils/genTransMFormFunc.pl $(INLINEAXIOMS)
$(PERL) utils/genTransMFormFunc.pl $< $@