Makefile revision 4485d1c9ef1ff5a45c3ac3f76b7e952099625678
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# Author: (c) Klaus L�ttich, Christian Maeder, Uni Bremen 2002-2005
547fb02c28c77b0552d275db0cfd8a119fb2d3f9trawick# Year: 2004
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick# This Makefile will compile the new hets system and provides also
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick# targets for test programs during implementation phases.
89b9c7a65bba9be805a8581f0b64903906fc883ctrawick# !!! Note: This makefile is written for GNU make !!!
89b9c7a65bba9be805a8581f0b64903906fc883ctrawick# (gmake on solaris)
c03f87dadc2d062777971ea11995aa428d8f5d25jwoolley####################################################################
c03f87dadc2d062777971ea11995aa428d8f5d25jwoolley## Some varibles, which control the compilation
5866fd6f9cba06306e84d940fc29973e50001b51trawickHAIFA_PATHS = Network Network/Server Org Org/W3 Org/W3/N2001 \
5866fd6f9cba06306e84d940fc29973e50001b51trawick Org/Xmlsoap Org/Xmlsoap/Schemas Org/Xmlsoap/Schemas/Soap \
5866fd6f9cba06306e84d940fc29973e50001b51trawick Text Text/XML Text/XML/HXT Text/XML/Schema Text/XML/Schema/TypeMapper \
8dc154408549195c828b823e9dc7396f107f2512jorton utils utils/DrIFT-src utils/GenerateRules utils/InlineAxioms Common \
ca2504b59d48a926af23f6b18af550c1e892d8a6jorton Common/Lib Common/ATerm Logic CASL CASL/CCC CASL/CompositionTable \
ca2504b59d48a926af23f6b18af550c1e892d8a6jorton Syntax Static GUI HasCASL Haskell Modal CoCASL COL ConstraintCASL \
ca2504b59d48a926af23f6b18af550c1e892d8a6jorton CspCASL ATC Proofs Comorphisms Isabelle Driver Modifications \
d3f3e8ccbbfbd8d453c1bacf34030f71cae3a422jorton Taxonomy CASL_DL SoftFOL OWL OMDoc PGIP Propositional RelationalScheme \
d3f3e8ccbbfbd8d453c1bacf34030f71cae3a422jorton# the 'replacing spaces' example was taken from the (GNU) Make info manual
6126fad8adeca94e9813812c691747afeca164dftrawickDRIFT_ENV = DERIVEPATH=$(subst $(space),:,$(PFE_PATHS))
6126fad8adeca94e9813812c691747afeca164dftrawick# override on commandline for other architectures
7ed5992392d5babab20be4ce4029ad17ae062b5aianh /home/www/agbkb/forschung/formal_methods/CoFI/hets/`utils/sysname.sh`
aee8a2ca9a5fb2f838c994d665695e418ea7262ftrawickGENERATERULES_deps = utils/GenerateRules/*hs $(DRIFT_deps)
aee8a2ca9a5fb2f838c994d665695e418ea7262ftrawickGENITCORRECTIONS_deps = utils/itcor/GenItCorrections.hs
b7973a1e572a3ff7cdedb48ed1f9481ece700bf9trawickINLINEAXIOMS_deps = utils/InlineAxioms/InlineAxioms.hs \
b7973a1e572a3ff7cdedb48ed1f9481ece700bf9trawick Modal/Parse_AS.hs Modal/ModalSign.hs Modal/Print_AS.hs Modal/StatAna.hs
0b9c9e9650d1f90baa78e4466fb78c5384a7545bndGENRULECALL = $(GENRULES) -r Typeable -r ShATermConvertible \
7cd5419264796cfeaf8215383cf0f89130a81fectrawickSETUPPREFIX = --prefix=$(HOME)/.ghc/$(ARCH)-$(OSBYUNAME)-hets-packages
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawick ../$(SETUP) build; ../$(SETUP) haddock; ../$(SETUP) install --user
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawick# list glade files
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawickGTK_GLADE_HSFILES = $(subst .glade,.hs,$(GTK_GLADE_FILES))
6c4c113ce85934b11c9e78399e1bb8ec7a568af9ndlogics = CASL HasCASL Isabelle Modal CoCASL COL CspCASL CASL_DL SoftFOL \
6c4c113ce85934b11c9e78399e1bb8ec7a568af9nd ConstraintCASL Propositional OWL DL RelationalScheme VSE OMDoc
679cafe33462d8c6bd0a74cc4359e561d19a0aafndTESTTARGETFILES += CASL/fromKif.hs CASL/capa.hs HasCASL/hacapa.hs \
81ef3d132c8f335006465f297c42319f8734825dnd ATC/ATCTest.hs ATC/ATCTest2.hs Common/ATerm/ATermLibTest.hs \
81ef3d132c8f335006465f297c42319f8734825dnd Common/ATerm/ATermDiffMain.hs Common/annos.hs Common/test_parser.hs \
81ef3d132c8f335006465f297c42319f8734825dnd SoftFOL/tests/PrintTPTPTests.hs Comorphisms/test/showKP.hs \
925932040ee7871b6a2418edc3b4b6f4378bbe2and SoftFOL/tests/soapTest.hs Comorphisms/test/sublogicGraph.hs \
73291de2e17c97d3549f2f8aa085ca43d27e108and### list of directories to run checks in
73291de2e17c97d3549f2f8aa085ca43d27e108andhs_clean_files = Haskell/TiATC.hs Haskell/TiDecorateATC.hs \
36f2369ee230c310fed3b600e9e99cf5770804a3wrowePFE_DIRS = base/AST base/TI base/parse2 base/parse2/Lexer base/parse2/Parser \
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantz base/parse2/LexerGen base/parse2/LexerSpec base/tests/HbcLibraries \
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolley base/pretty base/syntax base/lib base/lib/Monads base/Modules base/defs \
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolley base/transforms base/transforms/Deriving property \
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolley property/TI property/defs property/parse2 property/parse2/Parser
36f2369ee230c310fed3b600e9e99cf5770804a3wrowepfe_sources = $(wildcard $(addsuffix /*hs, $(PFE_PATHS)))
fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6ndhappy_files += $(PFE_TOOLDIR)/property/parse2/Parser/PropParser.hs
5c76205ce580dbac0020fbba74bcf211de3923d3ndprogramatica_pkg: $(PFE_TOOLDIR)/property/parse2/Parser/PropParser.hs \
5fb2e8564729922524cd011b11e2d4f5d76f5a8dnd echo "of programatica package found"; else \
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4nd echo "{-# OPTIONS -w #-}" > $@
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4nd$(LEX_DIR)Gen/HsLexerGen: $(LEX_DIR)Gen/*.hs $(LEX_DIR)Spec/*.hs \
d1c46782edbd6bd5ae4592c0174969950c5ca8aetrawickderived_sources += Haskell/PreludeString.hs $(LEX_DIR)/HsLex.hs \
ab56518227d474ee08f039e4c5540011c1b8a913trawickAPPENDPRELUDESTRING = utils/appendHaskellPreludeString \
4e330708371c3e9b04d1043f0a1ac9368bfbd768coar## rule for appendHaskellPreludeString
dbb916b882c33a4e340b0dba7d75506cfdd85640trawickHaskell/PreludeString.hs: Haskell/PreludeString.append.hs \
36f2369ee230c310fed3b600e9e99cf5770804a3wroweAst_Haskell_files = HsDeclStruct HsExpStruct HsFieldsStruct \
a18a308d7a942230edcde1bf00d7ae9b4b143c90trawick HsGuardsStruct HsKindStruct HsPatStruct HsTypeStruct HsAssocStruct \
fc25339741311efd7d460f18b6287ef38d76bbe6madhum#Ti_Haskell_files = TiTypes TiKinds TiDecorate TiInstanceDB
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe#Ti_Prop_files = property/TI/TiPropDecorate property/syntax/PropSyntaxRec
fcdca175a52fe517f2317ba0e2b6e6d14522b869madhumOther_PFE_files = property/AST/HsPropStruct base/defs/PNT \
19fdbc5566bf67dde644be9e8d38d62db4dd0ba5jerenkrantz base/defs/UniqueNames base/Modules/TypedIds base/Modules/Ents \
ebecc16986604cce1369d5075eff65032e3dd0deianh $(addprefix $(PFE_TOOLDIR)/base/AST/, $(Ast_Haskell_files)) \
764315969cef40e50cdc6a5e9638454e10c1c06end## rule for ATC generation
a2c036f0ca71e35c085b4cd9451a6d3718bc65daakeTESTTARGETFILES += Haskell/hana.hs Haskell/h2h.hs Haskell/h2hf.hs
402d23baca89e8c4fcb4e52ad8b2d66a6904baaetrawick# remove -fno-warn-orphans for older ghcs and add -ifgl
402d23baca89e8c4fcb4e52ad8b2d66a6904baaetrawick# INCLUDE_PATH =
4caa28863a3418d26cc20a998dc368c3de3b7e19jerenkrantz# uncomment for profiling
4caa28863a3418d26cc20a998dc368c3de3b7e19jerenkrantz# HC_PROF = -prof -auto-all -osuf p_o +RTS -K100m -RTS
a3f2646ef3d8a3a5234a5601de0f95f10308c2a6jerenkrantz# -ddump-minimal-imports
9e398d701dd430f073ff5418fb720642e064046ajerenkrantz# uncomment to above line to generate .imports files for displayDependencyGraph
9e398d701dd430f073ff5418fb720642e064046ajerenkrantz####################################################################
1a5b9e0071f0c662036250b482d566ad87ff0b4bjerenkrantz## sources for hets
1a5b9e0071f0c662036250b482d566ad87ff0b4bjerenkrantznon_sources = Common/LaTeX_maps.svmono.hs Common/CaslLanguage.hs ./Test.hs \
aac2b82fe4f1ac117e2a0702438d6615542642dand Syntax/AS_Structured.hs Syntax/AS_Architecture.hs Syntax/AS_Library.hs \
36f2369ee230c310fed3b600e9e99cf5770804a3wroweatc_files = Common/AS_Annotation.der.hs Common/DefaultMorphism.hs \
99d360dcbb5ac2be27694be74cc6124dbadf3315jerenkrantz Syntax/AS_Structured.der.hs Syntax/AS_Architecture.der.hs \
3ded62d7f2c9b12616d718b8c97d3044baa9ecdbjerenkrantz Common/GlobalAnnotations.hs Syntax/AS_Library.der.hs \
3ded62d7f2c9b12616d718b8c97d3044baa9ecdbjerenkrantz Logic/Prover.hs Common/LibName.hs Common/ExtSign.hs \
4cdc5446050c19b9d519a273a129188586e8d445jerenkrantzATC/AS_Annotation.der.hs: Common/AS_Annotation.der.hs $(GENRULES)
47fe07199bddec6124ab7251c6be5c6c9ac00485jerenkrantzATC/DefaultMorphism.der.hs: Common/DefaultMorphism.hs $(GENRULES)
6646a289c2d4778c8cd43d62b5a1cc966a356f85jerenkrantzATC/AS_Structured.der.hs: Syntax/AS_Structured.der.hs $(GENRULES)
6646a289c2d4778c8cd43d62b5a1cc966a356f85jerenkrantz $(GENRULECALL) -i ATC.AS_Annotation -i ATC.Grothendieck -o $@ $<
aec70520ebe1e33e0d5e83c3626649d2a41dbe68wroweATC/AS_Architecture.der.hs: Syntax/AS_Architecture.der.hs $(GENRULES)
ad451e2e428a069086d1c18c9e3372f8846ec617wroweATC/AS_Library.der.hs: Syntax/AS_Library.der.hs $(GENRULES)
ad451e2e428a069086d1c18c9e3372f8846ec617wrowe $(GENRULECALL) -i ATC.AS_Architecture -i ATC.LibName -o $@ $<
de9ac31ae22a1111c3305da66f8a0b289469150ftrawickATC/GlobalAnnotations.der.hs: Common/GlobalAnnotations.hs $(GENRULES)
69a2f591a7db749c7b5d07c847b94aa55c378521rederpj $(GENRULECALL) -i ATC.LibName -i ATC.Grothendieck -o $@ $<
69a2f591a7db749c7b5d07c847b94aa55c378521rederpjCASL_files = CASL/Sublogic.hs CASL/Morphism.hs CASL/Sign.hs \
0f27f7efd99f727b3dc16c7cbe03e8ff477790f4stasHasCASL_files = Common/Prec.hs HasCASL/As.hs HasCASL/Le.hs HasCASL/Sublogic.hs
0f27f7efd99f727b3dc16c7cbe03e8ff477790f4stasPropositional_files = Propositional/Sign.hs Propositional/Morphism.hs \
34460b4bbbc11663429978600a97abfbf38fc38atrawick Propositional/AS_BASIC_Propositional.hs Propositional/Symbol.hs \
34460b4bbbc11663429978600a97abfbf38fc38atrawickRS_files = RelationalScheme/AS.hs RelationalScheme/Sign.hs
34460b4bbbc11663429978600a97abfbf38fc38atrawickConstraintCASL_files = ConstraintCASL/AS_ConstraintCASL.hs
32316124ea6961dc3aaa63272844bc2f919c0827jortonCoCASL_files = CoCASL/AS_CoCASL.hs CoCASL/CoCASLSign.hs
32316124ea6961dc3aaa63272844bc2f919c0827jortonCspCASL_files = CspCASL/AS_CspCASL.hs CspCASL/AS_CspCASL_Process.hs \
32316124ea6961dc3aaa63272844bc2f919c0827jortonCASL_DL_files = CASL_DL/AS_CASL_DL.hs CASL_DL/Sign.hs CASL_DL/Sublogics.hs
ec7f4f32825686dbd6fc4cb9a4aa024b807dae8brederpjatc_logic_files = $(foreach logic, $(logics), $(logic)/ATC_$(logic).der.hs)
ec7f4f32825686dbd6fc4cb9a4aa024b807dae8brederpjgenerated_rule_files = $(atc_der_files) $(atc_logic_files)
ec7f4f32825686dbd6fc4cb9a4aa024b807dae8brederpjgendrifted_files = $(patsubst %.der.hs, %.hs, $(generated_rule_files))
c41285f93f9d382af7fee08bbdf1ff173be0da77ndgen_inline_axiom_files = $(patsubst %.hs,%.inline.hs, $(inline_axiom_files))
812be02eda26272b189161e3be099155b195b667trawickderived_sources += $(drifted_files) Driver/Version.hs $(happy_files) \
812be02eda26272b189161e3be099155b195b667trawick $(inline_axiom_files) Modal/ModalSystems.hs $(hs_der_files)
452eaf978884ae5c01422f563ec77b8ef17d12b8trawick# sources that have {-# OPTIONS -cpp #-}
452eaf978884ae5c01422f563ec77b8ef17d12b8trawick SoftFOL/Logic_SoftFOL.hs GUI/Utils.hs Driver/WriteFn.hs \
beeffe96b9eca176aa9120df8c0b7df8c94138adtrawick Propositional/Logic_Propositional.hs GUI/GraphMenu.hs \
beeffe96b9eca176aa9120df8c0b7df8c94138adtrawick Comorphisms/KnownProvers.hs hets.hs $(happy_files) \
de9ac31ae22a1111c3305da66f8a0b289469150ftrawick PGIP/InfoCommands.hs OWL/Logic_OWL.hs GUI/ShowGraph.hs \
de9ac31ae22a1111c3305da66f8a0b289469150ftrawick# unused, remove when header files are gone
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe $(cpp_sources) $(pfe_sources) $(gen_inline_axiom_files) \
bbe046d7cbb950ab3e372e4119ae001a5fe52ed4striker $(PFE_TOOLDIR)/property/parse2/Parser/PropParser.hspp \
2963f1c4b67ba02ba20c26ec8f0102261c758440nd Haskell/PreludeString.append.hs Haskell/ProgramaticaPrelude.hs \
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe# this variable holds the modules that should be documented
741e26a23be86c7e457455b09501ee68b1118e1bstasdoc_sources = $(filter-out $(nondoc_sources), $(sources) $(hspp_sources))
e65b630463d750b296566135c16a30a551aa8cb4trawicktax_sources = Taxonomy/AbstractGraphView.hs Taxonomy/MMiSSOntology.hs \
e65b630463d750b296566135c16a30a551aa8cb4trawick Taxonomy/MMiSSOntologyGraph.hs Taxonomy/OntoParser.hs
b1a4bfe2ea1faafd10cad5051e07503e7596b1f0fielding####################################################################
6562ca01f461db28f8b2ce4626b548627644ce12nd.PHONY : all hets-opt hets-optimized clean o_clean clean_pretty \
e41198355d5d81236db1da8892402a4cdd89525drederpj base64_pkg http_pkg syb_pkg shellac_pkg shread_pkg shcompat_pkg \
b1a4bfe2ea1faafd10cad5051e07503e7596b1f0fielding tagsoup_pkg hxt_pkg hxtfilter_pkg haifa_pkg programatica_pkg \
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe check capa hacapa h2h h2hf showKP clean_genRules genRules \
d701aa8681316e8735d511d4912eb7b9b492fb68rederpj.SECONDARY : %.hs %.d $(generated_rule_files) $(gen_inline_axiom_files)
2657c07d01de3105a1cf72aa3b708f2e9d8b9f08striker echo "of syb-generics package found"; else \
ac22e37364071bc5160c4c1956fa64577988ce2dstriker echo "of HAIFA package found"; else \
26280128921459eadd3f76a44aee9ba2f7f941c2trawick @echo 'File : Maintainer' > $@
26280128921459eadd3f76a44aee9ba2f7f941c2trawick @echo " done"
acba1dfc9d36dbd7d307769f0f7c74f776d2458btrawick###############################
acba1dfc9d36dbd7d307769f0f7c74f776d2458btrawick### count lines of code
dd4dfb1a26f821768f4174cf0465fee13556b68ejerenkrantz###############################
dd4dfb1a26f821768f4174cf0465fee13556b68ejerenkrantz### Documentation via haddock
acba1dfc9d36dbd7d307769f0f7c74f776d2458btrawick# generate haddock documentation with links to sources
acba1dfc9d36dbd7d307769f0f7c74f776d2458btrawick# the interface treatment is stolen from uni/mk/suffix.mk
f2af12bd7c7b0506678b4dc981482d59e49f08d3nd -t 'Hets - the Heterogeneous Tool Set' \
321f88f4de9d60b5f846555b10f866348b7d598cjerenkrantz# sources are not copied here
85bf271a2a8d88736575e93504528639f5971f97nd###############################
85bf271a2a8d88736575e93504528639f5971f97nd### release management
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe (cd utils/DrIFT-src; $(HC) --make DrIFT.hs -o ../DrIFT && \
cde00ab9085ea6e93db4a27bf6fe9a9b6eda4addnd# "-package hssource" for ghc-5.04.2
cde00ab9085ea6e93db4a27bf6fe9a9b6eda4addnd $(HC) --make utils/InlineAxioms/InlineAxioms.hs $(HC_WARN) $(HC_PROF) \
159d95df05b3100bbef7a60cb5f5d7d8d5a3328etrawick -i../.. -o $(INLINEAXIOMS)
159d95df05b3100bbef7a60cb5f5d7d8d5a3328etrawickutils/appendHaskellPreludeString: utils/appendHaskellPreludeString.hs
9768955299008e29705461b314b763a79104e576nd svn co https://svn-agbkb.informatik.uni-bremen.de/Hets/$(REV) Hets
03e310ef946842b4dfa718776c870d012fc9ec67striker if [ -d ../programatica ] ; then \
03e310ef946842b4dfa718776c870d012fc9ec67striker ln -s ../../programatica/tools programatica/tools ; fi
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe find . -name .svn -o -name \*.o -o -name \*.hi | xargs $(RM) -r; \
f59888906d0566361498848fa95b4c416fad976cstriker cp -p hets $(INSTALLDIR)/versions/hets-`cat version_nr`
6a3078c438bee65f22004ac65cd2eb4fa521bbfastriker ln -s versions/hets-`cat version_nr` hets; $(RM) version_nr)
29ecc0949b383793b24cdd0741cb86c02138ab36strikerpack/install-%.jar: pack/install-%.xml pack/UserInputSpec-%.xml hets.in hets
29ecc0949b383793b24cdd0741cb86c02138ab36striker ## TODO: add more dependencies and use hets-opt
29ecc0949b383793b24cdd0741cb86c02138ab36striker# compile $< -b . -k web -o $@
29ecc0949b383793b24cdd0741cb86c02138ab36striker###################################
6fb9d10c529c2be3bb1833b0eefdd27ba4df1610trawickpretty/LaTeX_maps.hs: utils/words.pl utils/genItCorrections \
6fb9d10c529c2be3bb1833b0eefdd27ba4df1610trawick pretty/words.input pretty/fonts.input pretty/width-table.tex.templ
6fb9d10c529c2be3bb1833b0eefdd27ba4df1610trawick @echo -n "Generating pretty/LaTeX_maps.hs ... "
368a950bc36b428b737d079f77e8962c831f88aand @(cd pretty >/dev/null; $(PERL) ../utils/words.pl > words.pl.log)
368a950bc36b428b737d079f77e8962c831f88aand @echo "ready"
9768955299008e29705461b314b763a79104e576nd @echo "please copy the file manually to Common"
9768955299008e29705461b314b763a79104e576nd#############################
9768955299008e29705461b314b763a79104e576nd### ATC DrIFT-rule generation
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(CASL_files)
1005ad40d72c4a1df2c0f1b95b770a4c43c49a47mjc $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(DL_files)
1005ad40d72c4a1df2c0f1b95b770a4c43c49a47mjcRelationalScheme/ATC_RelationalScheme.der.hs: $(RS_files) $(GENRULES)
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(RS_files)
da5a84048552168ea64c3012573acd4de1434dcdjerenkrantzPropositional/ATC_Propositional.der.hs: $(Propositional_files) $(GENRULES)
da5a84048552168ea64c3012573acd4de1434dcdjerenkrantz $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(Propositional_files)
da5a84048552168ea64c3012573acd4de1434dcdjerenkrantzHasCASL/ATC_HasCASL.der.hs: $(HasCASL_files) $(GENRULES)
da5a84048552168ea64c3012573acd4de1434dcdjerenkrantz $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(HasCASL_files)
da5a84048552168ea64c3012573acd4de1434dcdjerenkrantzIsabelle/ATC_Isabelle.der.hs: $(Isabelle_files) $(GENRULES)
da5a84048552168ea64c3012573acd4de1434dcdjerenkrantzModal/ATC_Modal.der.hs: $(Modal_files) $(GENRULES)
19fdbc5566bf67dde644be9e8d38d62db4dd0ba5jerenkrantz $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Modal_files)
19fdbc5566bf67dde644be9e8d38d62db4dd0ba5jerenkrantzConstraintCASL/ATC_ConstraintCASL.der.hs: $(ConstraintCASL_files) $(GENRULES)
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(ConstraintCASL_files)
19fdbc5566bf67dde644be9e8d38d62db4dd0ba5jerenkrantzCASL_DL/ATC_CASL_DL.der.hs: $(CASL_DL_files) $(GENRULES)
19fdbc5566bf67dde644be9e8d38d62db4dd0ba5jerenkrantz $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CASL_DL_files)
19fdbc5566bf67dde644be9e8d38d62db4dd0ba5jerenkrantzCoCASL/ATC_CoCASL.der.hs: $(CoCASL_files) $(GENRULES)
36f2369ee230c310fed3b600e9e99cf5770804a3wroweSoftFOL/ATC_SoftFOL.der.hs: $(SoftFOL_files) $(GENRULES)
b617020883fa3b18bc9b5be5e896ceed79a7ff7fnd $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(SoftFOL_files)
68a80326bd8b6f717ae0c44d4bb7273023aad1edwrowe $(GENRULECALL) -x VSE.As.FoldRec -i CASL.ATC_CASL -o $@ $(VSE_files)
6838d0e05a193cb77265db36e3549201b3df57e6wrowe $(RM) $(generated_rule_files) $(gendrifted_files) $(hspp_sources) \
6838d0e05a193cb77265db36e3549201b3df57e6wrowe###############
903c124068c87c957f1327de486017a19cccd348stoddard### clean up
732269e2780cb818c1b48aeffa0b432b0ce4ee5eaaron### removes all *.o, *.hi and *.p_o files in all subdirectories
20aa030accab9a4df293294283fbe6a4ae961588trawick find . -name \*.o -o -name \*.hi -o -name \*.p_o | xargs $(RM)
20aa030accab9a4df293294283fbe6a4ae961588trawick### remove binaries
e08b3783b570fdea39520da5e6c174394e956d17nd### additionally removes the library files
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe### clean user packages
340e970018246649e86dd3ebbd34f4719e3ceaf7trawick### additionally removes generated files not in the CVS tree
340e970018246649e86dd3ebbd34f4719e3ceaf7trawick $(RM) Modal/GeneratePatterns.inline.hs utils/appendHaskellPreludeString
1360e9b0036040edfbcd2273ae18db83a93536detrawick $(RM) utils/genItCorrections pretty/LaTeX_maps.hs pretty/words.pl.log
1360e9b0036040edfbcd2273ae18db83a93536detrawick $(RM) -r $(HOME)/.ghc/$(ARCH)-$(OSBYUNAME)-hets-packages
c3f32ea297c5350948a0c4472c1ff8433ea4e6bastoddard####################################################################
c3f32ea297c5350948a0c4472c1ff8433ea4e6bastoddard### test targets
c3f32ea297c5350948a0c4472c1ff8433ea4e6bastoddard####################################################################
6838d0e05a193cb77265db36e3549201b3df57e6wrowe### interactive
946f7bd76a0dec6d67af79af56a8cff3cb6ef9c1nd### christian's target
946f7bd76a0dec6d67af79af56a8cff3cb6ef9c1nd### CASL parser
8c038cdb417502a969599568ccc4020576d82a10nd### Annos parser
8c038cdb417502a969599568ccc4020576d82a10nd### CASL parser
6838d0e05a193cb77265db36e3549201b3df57e6wrowe### HasCASL parser
83938932cb2dbe320eda488799bb7a0c04156bcdake### Haskell analysis
6838d0e05a193cb77265db36e3549201b3df57e6wrowe### Haskell to Isabelle-HOLCF translation
6fbf645df300ffa9c9693399571f2cd821af06fdtrawickHaskell/h2hf: Haskell/h2hf.hs Haskell/*.hs Isabelle/*.hs Common/*.hs \
6fbf645df300ffa9c9693399571f2cd821af06fdtrawick### HasCASL to Haskell translation
c8ff8621370eb28a3f697a00bf5e6b3bc1a0d9f1minfrin### test program to check the known provers
c8989f842c2ad4533950c13d99d3dfb099da0d67minfrin### run tests in other directories
97610ac677a5eda4a3bb366c5bb34a27eeb4288cminfrin####################################################################
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe## Preparing the version of Hets
761fb8d21084bd7b7eb590fbd54a925dfdf806bbnd## two hardcoded dependencies for a correct generation of Version.hs
761fb8d21084bd7b7eb590fbd54a925dfdf806bbndDriver/Options.hs Driver/WriteFn.hs Driver/ReadFn.hs: Driver/Version.hs
761fb8d21084bd7b7eb590fbd54a925dfdf806bbnd## two dependencies for avoidence of circular prerequisites
761fb8d21084bd7b7eb590fbd54a925dfdf806bbnd Common/annos Common/test_parser Comorphisms/test/showKP \
761fb8d21084bd7b7eb590fbd54a925dfdf806bbnd CspCASL/print_csp HasCASL/hacapa Haskell/h2h Haskell/h2hf \
367cefc17f8dcfe65651c9c16cb3151589c6cecetrawick$(CASL_DEPENDENT_BINARIES): $(sources) $(derived_sources)
d8f54fe5534b61afa68100dddbe2eb98285d1100wrowe####################################################################
d8f54fe5534b61afa68100dddbe2eb98285d1100wrowe## rules for DrIFT
18f36c8bdc74f9fd18739b9a154852c541b18900minfrin echo "{-# OPTIONS -w #-}" > $@
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe## rules for inlineAxioms
5d6ffa7b5c77dd4132ed6d7f0dd63548b1c3c1c9nd## rule for cpp and haddock
5d6ffa7b5c77dd4132ed6d7f0dd63548b1c3c1c9nd -DUNI_PACKAGE -DCASLEXTENSIONS -DPROGRAMATICA -optP -P $<
144b1e2ebb48b2878017a8ac9a4cad1e771bc1b6stoddard## compiling rules for object and interface files
ebecc16986604cce1369d5075eff65032e3dd0deianh## compiling rules for dependencies
ebecc16986604cce1369d5075eff65032e3dd0deianh## Rule to generate hs files from glade files. Needed for GTK
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe cat GUI/Glade/Template.append.hs | sed "s/\%s/$$b/" | \
d225a894172ec361d2c6791638bacf604a8c6fa4nd## generate the inline file for the predefined CASL_DL sign
d225a894172ec361d2c6791638bacf604a8c6fa4nd CASL_DL/PredefinedSign.inline.hs.in utils/appendHaskellPreludeString \
d225a894172ec361d2c6791638bacf604a8c6fa4nd utils/appendHaskellPreludeString CASL_DL/PredDatatypes.het \
70f28b17978da5478a97843ab7cbcb4baf7a8711nd echo " )" >> $@
ac539bd6714277d9ce7c39361de4cc11d1fb8eadnd# Warning: Don't change the order of the depencies!!
ac539bd6714277d9ce7c39361de4cc11d1fb8eadndCASL_DL/PredDatatypes.het: utils/transformLibAsBasicSpec.pl \
f5208b93c14accca0cd5f5acb042332b20172fb1nd $(PERL) $+ > $@
1125f364c5cb4fd9bff71e89b5d4cbf551590035bnicholes## rule for Modal/ModalSystems.hs needed for ModalLogic Translation
1125f364c5cb4fd9bff71e89b5d4cbf551590035bnicholes# uses intransparently utils/outlineAxioms
1125f364c5cb4fd9bff71e89b5d4cbf551590035bnicholesModal/ModalSystems.hs: Modal/GeneratePatterns.inline.hs.in \
f19141958ebbfa8feb78e27007b4023d710d1c7etrawick# or `date +%F`
3ac9911bdb9c066a068041218d5b05bc851340bdtrawick sed "s/^\(HETS_VERSION =\).*/\1$(HETS_VERSION)/" Makefile.installer \
c5c445b5614e4d5040d3c0994d2456f1ac8cb9b5jerenkrantz @echo " -> make"