Makefile revision 8037b7d21021a94b69e4a092f5c98e491333d939
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# Author: (c) Klaus Luettich, Christian Maeder, Uni Bremen 2002-2009
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# This Makefile will compile the hets system and provides also
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# targets for test programs during implementation phases.
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# !!! Note: This makefile is written for GNU make !!!
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# (gmake on solaris)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# the 'replacing spaces' example was taken from the (GNU) Make info manual
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerDRIFT_ENV = DERIVEPATH=$(subst $(space),:,$(PFE_PATHS))
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerGENERATERULES_deps = utils/GenerateRules/*hs $(DRIFT_deps)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerGENITCORRECTIONS_deps = utils/itcor/GenItCorrections.hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerGENRULECALL = $(GENRULES) -r ShATermConvertible \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# list glade files
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerGTK_GLADE_HSFILES = $(subst .glade,.hs,$(GTK_GLADE_FILES))
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# the list of logics that need ShATermConvertible instances
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerlogics = CASL HasCASL Isabelle Modal Hybrid TopHybrid Temporal \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner SoftFOL ConstraintCASL Propositional RelationalScheme VSE OMDoc DFOL \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner LF Framework Maude ExtModal CommonLogic CSL QBF Adl HolLight Fpl THF \
60e6795dd310e10194e12bb660575aadf941328bEugen KuksaTESTTARGETFILES += Scratch.hs CASL/fromKif.hs CASL/capa.hs HasCASL/hacapa.hs \
c9a7e6af169a2adfb92f42331cd578065ed83a2bChristian Maeder Haskell/wrap.hs Isabelle/isa.hs Syntax/hetpa.hs \
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder ATC/ATCTest.hs ATC/ATCTest2.hs Common/ATerm/ATermLibTest.hs \
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder Common/ATerm/ATermDiffMain.hs Common/annos.hs \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder SoftFOL/tests/PrintTPTPTests.hs Comorphisms/test/showKP.hs \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder Comorphisms/test/sublogicGraph.hs PGIP/ParseProofScript.hs \
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder Common/testxupdate.hs Common/testxpath.hs \
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus Luettich SoftFOL/dfg.hs Adl/adl.hs GUI/displayDependencyGraph.hs
ad270004874ce1d0697fb30d7309f180553bb315Christian Maeder### list of directories to run checks in
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus LuettichTESTDIRS += Common CASL Fpl/test HasCASL test ExtModal/Tries \
1a38107941725211e7c3f051f7a8f5e12199f03acmaederhs_clean_files = Haskell/TiATC.hs Haskell/TiDecorateATC.hs \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederPFE_DIRS = base/AST base/TI base/parse2 base/parse2/Lexer base/parse2/Parser \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder base/parse2/LexerGen base/parse2/LexerSpec base/tests/HbcLibraries \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder base/pretty base/syntax base/lib base/lib/Monads base/Modules base/defs \
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder base/transforms base/transforms/Deriving property \
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder property/syntax property/AST property/transforms \
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder property/TI property/defs property/parse2 property/parse2/Parser
3dde4051c307b609159a097f08a05108fdd036efJonathan von SchroederPFE_PATHS = $(addprefix $(PFE_TOOLDIR)/, $(PFE_DIRS))
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroederderived_sources += Haskell/PreludeString.hs
3dde4051c307b609159a097f08a05108fdd036efJonathan von SchroederAPPENDPRELUDESTRING = utils/appendHaskellPreludeString \
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder## rule for appendHaskellPreludeString
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian MaederHaskell/PreludeString.hs: Haskell/PreludeString.append.hs \
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederAst_Haskell_files = HsDeclStruct HsExpStruct HsFieldsStruct \
4b4a0b61b72cf8478a5d4d5002bca9f699401363Christian Maeder HsGuardsStruct HsKindStruct HsPatStruct HsTypeStruct HsAssocStruct \
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa#Ti_Haskell_files = TiTypes TiKinds TiDecorate TiInstanceDB
6a2dad705deefd1b7a7e09b84fd2d75f2213be47Christian Maeder#Ti_Prop_files = property/TI/TiPropDecorate property/syntax/PropSyntaxRec
363939beade943a02b31004cea09dec34fa8a6d9Christian MaederOther_PFE_files = property/AST/HsPropStruct base/defs/PNT \
014dc30f64ec25e4790cca987d4d1e6635430510Christian Maeder base/defs/UniqueNames base/Modules/TypedIds base/Modules/Ents \
f04e8f3ff56405901be968fd4c6e9769239f1a9bKlaus Luettich base/parse2/SourceNames base/syntax/SyntaxRec \
431d34c7007a787331c4e5ec997badb0f8190fc7Christian Maeder $(addprefix $(PFE_TOOLDIR)/base/AST/, $(Ast_Haskell_files)) \
f1541d4a151dbd08002dbd14e7eb1d5dde253689Christian Maeder $(addprefix $(PFE_TOOLDIR)/, $(Other_PFE_files)))
db675e8302ddb0d6528088ce68f5e98a00e890e3Christian Maeder## rule for ATC generation
f1541d4a151dbd08002dbd14e7eb1d5dde253689Christian MaederHaskell/ATC_Haskell.der.hs: $(Haskell_files) $(GENRULES)
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian Maeder $(GENRULECALL) -r Typeable -i Data.Typeable -i Haskell.BaseATC \
961087225d1d2b9534152a346d1a3755ed952fcdJens ElknerTESTTARGETFILES += Haskell/hana.hs Haskell/h2h.hs Haskell/h2hf.hs
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# unset this variable from var.mk because the programatica sources
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# are needed to created our sources!
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# end of programatica stuff
ca074a78b8dcccbb8c419586787882f98d0c6163Christian MaederTESTTARGETS = $(subst .hs,,$(TESTTARGETFILES))
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder -fwarn-unrecognised-pragmas -fno-warn-orphans $(NO_BIND_WARNING)
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# uncomment HC_PROF for profiling (and comment out packages in var.mk)
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder# call resulting binary with a final +RTS -p to get a file <binary>.prof
d946c1bfdd7d58aa7c023efe864d5999eb44a61bChristian Maeder# HC_PROF = -prof -auto-all -osuf p_o +RTS -K100m -RTS
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian MaederHC_OPTS += $(HC_WARN) $(HC_PROF) $(HC_DEBIAN_OPT)
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# -ddump-minimal-imports
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# uncomment the above line to generate .imports files for displayDependencyGraph
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner# files generated by DriFT
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder CASL/AS_Basic_CASL.hs Modal/AS_Modal.hs Hybrid/AS_Hybrid.hs TopHybrid/AS_TopHybrid.hs \
ca074a78b8dcccbb8c419586787882f98d0c6163Christian Maeder Syntax/AS_Structured.hs Syntax/AS_Architecture.hs Syntax/AS_Library.hs \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner CspCASL/AS_CspCASL_Process.hs CspCASL/AS_CspCASL.hs \
f1541d4a151dbd08002dbd14e7eb1d5dde253689Christian Maeder RelationalScheme/AS.hs ATC/Grothendieck.hs \
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian Maeder ExtModal/AS_ExtModal.hs QBF/AS_BASIC_QBF.hs \
e4f4d096e5e6d60dd91c746d0e833d0ac7a29c50Christian Maeder# files to extract data types from to generate ShATermConvertible instances
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkneratc_files = Common/AS_Annotation.der.hs Common/DefaultMorphism.hs \
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maeder Syntax/AS_Structured.der.hs Syntax/AS_Architecture.der.hs \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner Common/GlobalAnnotations.hs Syntax/AS_Library.der.hs \
f1541d4a151dbd08002dbd14e7eb1d5dde253689Christian Maeder Logic/Prover.hs Common/LibName.hs Common/ExtSign.hs \
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder Static/DgUtils.hs Static/XGraph.hs Static/DevGraph.hs \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Common/Id.hs Common/Result.hs Common/OrderedMap.hs \
93f5b72fdb9ee734caa750b43dd79bbb590dcd73Christian Maeder# files generated by genRules as input for DriFT
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von Schroederatc_der_files = $(foreach file, $(atc_files), \
93f5b72fdb9ee734caa750b43dd79bbb590dcd73Christian Maeder ATC/$(basename $(basename $(notdir $(file)))).der.hs)
328a85c807f2a95c3f147d10b05927eaf862ebebChristian Maeder# the rules to create ATC .der.hs file for DriFT
8fb127028cb7dd361e348a3252e33487f73428bcJonathan von SchroederATC/Id.der.hs: Common/Id.hs $(GENRULES)
5b818f10e11fc79def1fdd5c8a080d64a6438d87Christian MaederATC/Result.der.hs: Common/Result.hs $(GENRULES)
819e29dba060687cf391e444e0f6ff88c1908cc3Christian MaederATC/OrderedMap.der.hs: Common/OrderedMap.hs $(GENRULES)
140287998aa8592c9c403bd9e308e447ba92ae11Christian MaederATC/Graph.der.hs: Common/Lib/Graph.hs $(GENRULES)
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederATC/ProofTree.der.hs: Common/ProofTree.hs $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederATC/AS_Annotation.der.hs: Common/AS_Annotation.der.hs $(GENRULES)
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder $(GENRULECALL) -i ATC.IRI -i Common.ATerm.ConvInstances -o $@ $<
61fa0ac06ede811c7aad54ec4c4202346727368eChristian MaederATC/Consistency.der.hs: Common/Consistency.hs $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -x Common.Consistency.ConservativityChecker -o $@ $<
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian MaederATC/LibName.der.hs: Common/LibName.hs $(GENRULES)
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian Maeder $(GENRULECALL) -i ATC.IRI -i Common.ATerm.ConvInstances -o $@ $<
3554301a34639efb6c9961a8571775d0061284c9Christian MaederATC/ExtSign.der.hs: Common/ExtSign.hs $(GENRULES)
3554301a34639efb6c9961a8571775d0061284c9Christian Maeder $(GENRULECALL) -i Common.ATerm.ConvInstances -o $@ $<
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederATC/DefaultMorphism.der.hs: Common/DefaultMorphism.hs $(GENRULES)
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederATC/AS_Structured.der.hs: Syntax/AS_Structured.der.hs $(GENRULES)
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian MaederATC/AS_Architecture.der.hs: Syntax/AS_Architecture.der.hs $(GENRULES)
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian Maeder $(GENRULECALL2) -i ATC.AS_Structured -o $@ $<
a14767aeac3e78ed100f5b75e210ba563ee10dbaChristian MaederATC/AS_Library.der.hs: Syntax/AS_Library.der.hs $(GENRULES)
a14767aeac3e78ed100f5b75e210ba563ee10dbaChristian Maeder $(GENRULECALL2) -i ATC.AS_Architecture -i ATC.LibName -o $@ $<
3554301a34639efb6c9961a8571775d0061284c9Christian MaederATC/GlobalAnnotations.der.hs: Common/GlobalAnnotations.hs $(GENRULES)
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -i ATC.Result -o $@ $<
54ea981a0503c396c2923a1c06421c6235baf27fChristian MaederATC/Prover.der.hs: Logic/Prover.hs $(GENRULES)
54ea981a0503c396c2923a1c06421c6235baf27fChristian Maeder $(GENRULECALL) -x Logic.Prover.ProverTemplate \
db6729e623b4053149084ccf4b35e5308ac7e359Christian Maeder -i ATC.AS_Annotation -i ATC.OrderedMap -o $@ $<
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian MaederATC/DgUtils.der.hs: Static/DgUtils.hs $(GENRULES)
aded505f9b42cc38975559c2a5d175ae95de436bChristian Maeder $(GENRULECALL2) -i ATC.LibName -i ATC.Consistency -o $@ $<
819e29dba060687cf391e444e0f6ff88c1908cc3Christian MaederATC/XGraph.der.hs: Static/XGraph.hs $(GENRULES)
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian MaederATC/DevGraph.der.hs: Static/DevGraph.hs $(GENRULES)
254df6f22d01eacf7c57b85729e0445747b630d9Christian Maeder $(GENRULECALL2) -i ATC.XGraph -i ATC.AS_Library -o $@ $<
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder# ATC files for every logic
254df6f22d01eacf7c57b85729e0445747b630d9Christian MaederCASL_files = CASL/Sublogic.hs CASL/Morphism.hs CASL/Sign.hs \
254df6f22d01eacf7c57b85729e0445747b630d9Christian MaederHasCASL_files = Common/Prec.hs HasCASL/As.hs HasCASL/Le.hs HasCASL/Sublogic.hs
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederPropositional_files = Propositional/Sign.hs Propositional/Morphism.hs \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder Propositional/AS_BASIC_Propositional.hs Propositional/Symbol.hs \
4fc9de0da898448f1d3597ebbd8c04a066464c21Christian MaederHolLight_files = HolLight/Sentence.hs HolLight/Sign.hs \
c208973c890b8f993297720fd0247bc7481d4304Christian MaederQBF_files = Propositional/Sign.hs QBF/Morphism.hs \
0d0278c34a374b29c2d6c58b39b8b56e283d48e8Christian MaederRS_files = RelationalScheme/AS.hs RelationalScheme/Sign.hs
1842453990fed8a1bd7a5ac792d7982c1d2bfcd5Christian MaederModal_files = Modal/AS_Modal.hs Modal/ModalSign.hs
0d0278c34a374b29c2d6c58b39b8b56e283d48e8Christian MaederHybrid_files = Hybrid/AS_Hybrid.hs Hybrid/HybridSign.hs
1842453990fed8a1bd7a5ac792d7982c1d2bfcd5Christian MaederTopHybrid_files = TopHybrid/AS_TopHybrid.hs TopHybrid/TopHybridSign.hs
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederTemporal_files = Temporal/AS_BASIC_Temporal.hs Temporal/Sign.hs \
4561227a776bdf0ab679b19fb92f1eaaed8786f7Christian MaederConstraintCASL_files = ConstraintCASL/AS_ConstraintCASL.hs
01e278bdd7dce13b9303ed3d79683d83c89d09f9Liam O'ReillyCoCASL_files = CoCASL/AS_CoCASL.hs CoCASL/CoCASLSign.hs
8c812cd83569e973f10cf69a342424ceabc07af9Christian MaederCspCASL_files = CspCASL/AS_CspCASL.hs CspCASL/AS_CspCASL_Process.hs \
8c812cd83569e973f10cf69a342424ceabc07af9Christian Maeder CspCASL/SignCSP.hs CspCASL/SymbItems.hs CspCASL/Symbol.hs \
31d6d9286988dc31639d105841296759aeb743e0Jonathan von SchroederCASL_DL_files = CASL_DL/AS_CASL_DL.hs CASL_DL/Sign.hs CASL_DL/Sublogics.hs
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von SchroederDFOL_files = DFOL/AS_DFOL.hs DFOL/Sign.hs DFOL/Morphism.hs DFOL/Symbol.hs
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von SchroederLF_files = LF/Sign.hs LF/Morphism.hs LF/AS.hs
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederMaude_files = Maude/Sign.hs Maude/Morphism.hs Maude/Sentence.hs \
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von SchroederExtModal_files = ExtModal/AS_ExtModal.hs ExtModal/ExtModalSign.hs \
d54cd08a4cfa26256c38d8ed12c343adbfe1a0e3Christian Maeder ExtModal/MorphismExtension.hs ExtModal/Sublogic.hs
d54cd08a4cfa26256c38d8ed12c343adbfe1a0e3Christian MaederCSL_files = CSL/Sign.hs CSL/Morphism.hs CSL/AS_BASIC_CSL.hs CSL/Symbol.hs \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederCommonLogic_files = CommonLogic/AS_CommonLogic.hs CommonLogic/Sign.hs \
8c812cd83569e973f10cf69a342424ceabc07af9Christian Maeder CommonLogic/Symbol.hs CommonLogic/Morphism.hs CommonLogic/Sublogic.hs
f04e8f3ff56405901be968fd4c6e9769239f1a9bKlaus LuettichTHF_files = THF/As.hs THF/Cons.hs THF/Sign.hs THF/Sublogic.hs
dd6f22b9dcff2695181b86372e4df03d5b96e92dKristina SojakovaOWL2_files = OWL2/AS.hs OWL2/Symbols.hs OWL2/Sign.hs OWL2/MS.hs \
005e0f0c6b0cc898003b03801158c208f3071fc5Kristina Sojakova OWL2/Morphism.hs OWL2/ProfilesAndSublogics.hs OWL2/Sublogic.hs \
23b4e542dca35852f58d1fb3f7d9078c1de5ab06Christian MaederRDF_files = RDF/AS.hs OWL2/AS.hs RDF/Symbols.hs RDF/Sign.hs RDF/Morphism.hs \
c2e192ace9ef7cfb0e59563f1b24477b2b65cff3Dominik Dietrich# ATC DrIFT-rule generation for logics
6b75c206b317eb30a08d88a8f27e0295ffeb1546Christian MaederCASL/ATC_CASL.der.hs: $(CASL_files) $(GENRULES)
9a4b469ca0a7f44a598e551a973c75195207db58Eugen Kuksa $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(CASL_files)
01645eac73dbc789392674930adc5745c935f3a0Christian MaederRelationalScheme/ATC_RelationalScheme.der.hs: $(RS_files) $(GENRULES)
01645eac73dbc789392674930adc5745c935f3a0Christian Maeder $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(RS_files)
bff4b3f816be4c1e1d8ded76f1d5af786839e1a9Christian MaederPropositional/ATC_Propositional.der.hs: $(Propositional_files) $(GENRULES)
3a9fce5398f4621558ca220c66c87cee59adc258Jonathan von Schroeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(Propositional_files)
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst Schulz $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(QBF_files)
80875f917d741946a39d0ec0b5721e46ba609823Till MossakowskiHolLight/ATC_HolLight.der.hs: $(HolLight_files) $(GENRULES)
7834a982096d93301a4626f444dd9ea5f9fe17eaChristian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(HolLight_files)
80875f917d741946a39d0ec0b5721e46ba609823Till MossakowskiHasCASL/ATC_HasCASL.der.hs: $(HasCASL_files) $(GENRULES)
bab2d88d650448628730ed3b65c9f99c52500e8cChristian Maeder $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(HasCASL_files)
4b4a0b61b72cf8478a5d4d5002bca9f699401363Christian MaederIsabelle/ATC_Isabelle.der.hs: $(Isabelle_files) $(GENRULES)
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen KuksaModal/ATC_Modal.der.hs: $(Modal_files) $(GENRULES)
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Modal_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederHybrid/ATC_Hybrid.der.hs: $(Hybrid_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Hybrid_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederTopHybrid/ATC_TopHybrid.der.hs: $(TopHybrid_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(TopHybrid_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederTemporal/ATC_Temporal.der.hs: $(Temporal_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Temporal_files)
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von SchroederConstraintCASL/ATC_ConstraintCASL.der.hs: $(ConstraintCASL_files) $(GENRULES)
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von Schroeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(ConstraintCASL_files)
1535e1d8c82db5f7e2402261983c4c2ef39f4f39Mihai CodescuCASL_DL/ATC_CASL_DL.der.hs: $(CASL_DL_files) $(GENRULES)
1535e1d8c82db5f7e2402261983c4c2ef39f4f39Mihai Codescu $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CASL_DL_files)
1535e1d8c82db5f7e2402261983c4c2ef39f4f39Mihai CodescuCoCASL/ATC_CoCASL.der.hs: $(CoCASL_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CoCASL_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederCOL/ATC_COL.der.hs: $(COL_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(COL_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederCspCASL/ATC_CspCASL.der.hs: $(CspCASL_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CspCASL_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederSoftFOL/ATC_SoftFOL.der.hs: $(SoftFOL_files) $(GENRULES)
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von Schroeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(SoftFOL_files)
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von SchroederVSE/ATC_VSE.der.hs: $(VSE_files) $(GENRULES)
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von Schroeder $(GENRULECALL) -x VSE.As.FoldRec -i CASL.ATC_CASL -o $@ $(VSE_files)
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von SchroederOMDoc/ATC_OMDoc.der.hs: $(OMDoc_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.IRI -o $@ $(OMDoc_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederDFOL/ATC_DFOL.der.hs: $(DFOL_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(DFOL_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(LF_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederFramework/ATC_Framework.der.hs: $(Framework_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(Framework_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederMaude/ATC_Maude.der.hs: $(Maude_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(Maude_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederExtModal/ATC_ExtModal.der.hs: $(ExtModal_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(ExtModal_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederCSL/ATC_CSL.der.hs: $(CSL_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(CSL_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederCommonLogic/ATC_CommonLogic.der.hs: $(CommonLogic_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(CommonLogic_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederAdl/ATC_Adl.der.hs: $(Adl_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(Adl_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederFpl/ATC_Fpl.der.hs: $(Fpl_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Fpl_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederTHF/ATC_THF.der.hs: $(THF_files) $(GENRULES)
9f85afecbd79b3df5a0bb17bd28cd0b288dc3213Kristina Sojakova $(GENRULECALL) -i ATC.Id -i ATC.GlobalAnnotations -o $@ $(THF_files)
9f85afecbd79b3df5a0bb17bd28cd0b288dc3213Kristina SojakovaFreeCAD/ATC_FreeCAD.der.hs: $(FreeCAD_files) $(GENRULES)
79834070d6d3c63a098e570b12fa3405c607dc70Kristina Sojakova $(GENRULECALL) -i Common.ATerm.ConvInstances -o $@ $(FreeCAD_files)
79834070d6d3c63a098e570b12fa3405c607dc70Kristina SojakovaOWL2/ATC_OWL2.der.hs: $(OWL2_files) $(GENRULES)
23b4e542dca35852f58d1fb3f7d9078c1de5ab06Christian Maeder $(GENRULECALL) -i ATC.Result -o $@ $(OWL2_files)
23b4e542dca35852f58d1fb3f7d9078c1de5ab06Christian MaederRDF/ATC_RDF.der.hs: $(RDF_files) $(GENRULES)
8a78868bae2ec6838c87366c35c57e109154c51eChristian Maeder $(GENRULECALL) -i ATC.Result -o $@ $(RDF_files)
8a78868bae2ec6838c87366c35c57e109154c51eChristian MaederCSMOF/ATC_CSMOF.der.hs: $(CSMOF_files) $(GENRULES)
624e6701e0deb7ac6c03c0cba0190fbc5033cf93Ewaryst Schulz $(GENRULECALL) -i Common.ATerm.ConvInstances -o $@ $(CSMOF_files)
c2e192ace9ef7cfb0e59563f1b24477b2b65cff3Dominik DietrichQVTR/ATC_QVTR.der.hs: $(QVTR_files) CSMOF/ATC_CSMOF.hs $(GENRULES)
7165a916d2fa1bf87c4741ec63b253413eebbf69Karl Luc $(GENRULECALL) -i CSMOF.ATC_CSMOF -i Common.ATerm.ConvInstances \
01645eac73dbc789392674930adc5745c935f3a0Christian Maeder# all ATC .der.hs files for all logics
01645eac73dbc789392674930adc5745c935f3a0Christian Maederatc_logic_files = $(foreach logic, $(logics), $(logic)/ATC_$(logic).der.hs)
bff4b3f816be4c1e1d8ded76f1d5af786839e1a9Christian Maedergenerated_rule_files = $(atc_der_files) $(atc_logic_files)
bff4b3f816be4c1e1d8ded76f1d5af786839e1a9Christian Maeder# a rule to create all .der.hs files
b5da047a9a875dec3f968b6c0df96af326f90fa9Alexis Tsogias# the final ATC target files created by DriFT
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst Schulzgendrifted_files = $(patsubst %.der.hs, %.hs, $(generated_rule_files))
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst Schulz# all sources that need to be created before ghc can be called
bab2d88d650448628730ed3b65c9f99c52500e8cChristian Maederderived_sources += $(drifted_files) Driver/Version.hs $(hs_der_files)
7834a982096d93301a4626f444dd9ea5f9fe17eaChristian Maeder####################################################################
fc1bf40b1196cf62c6ce5c971633b5ebfc5936efChristian Maeder.PHONY : all hets-opt hets-optimized clean o_clean clean_pretty \
4b4a0b61b72cf8478a5d4d5002bca9f699401363Christian Maeder real_clean bin_clean distclean annos checkversion \
d62661e54e2662d53b583ae48609f5037701078dcmaeder check capa hacapa h2h h2hf showKP clean_genRules genRules \
d62661e54e2662d53b583ae48609f5037701078dcmaeder count doc fromKif derivedSources release cgi ghci build callghc
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder# dummy target to force ghc invocation
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# Documentation via haddock
60e6795dd310e10194e12bb660575aadf941328bEugen KuksaHADDOCK_INTERFACES = $(shell find `ghc --print-libdir`/../.. -name \*.haddock)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerHAD_INTS = $(foreach file, $(HADDOCK_INTERFACES),\
ddbf07996361d7e88cf23858a8f85595fa493514Jonathan von Schroeder -i http://hackage.haskell.org/packages/archive/$(basename $(notdir $(file)))/latest/doc/html,$(file))
7c99e334446bb97120e30e967baeeddfdd1278deKlaus LuettichHADDOCK_OPTS = $(addprefix --optghc=, $(HC_OPTS))
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner -t 'Hets - the Heterogeneous Tool Set' \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(HC) -M -dep-makefile Makefile.deps hets.hs $(HC_OPTS)
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner cat Makefile.deps | grep .hs | awk '{print $$3}' > deps
011156728d0d9ae2a044ce2d01e62228720b1aa2cmaeder cat deps | xargs -L 200 $(HC) --make -odir=.objs $(HC_OPTS)
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner (cd utils/DrIFT-src; $(HC) --make DrIFT.hs -o ../DrIFT)
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner$(DTD2HS): $(DTD2HS_deps) utils/DtdToHaskell-src/DtdToHaskell.hs
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner cp -f $(DTD2HS_deps) utils/DtdToHaskell-src/DtdToHaskell
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner utils/DtdToHaskell-src/DtdToHaskell.hs -o $@ $(HC_OPTS)
961087225d1d2b9534152a346d1a3755ed952fcdJens ElknerIsabelle/IsaExport.hs: $(DTD2HS) Isabelle/IsaExport.dtd
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner ($(DTD2HS) Isabelle/IsaExport.dtd Isabelle/IsaExport.hs Isabelle.)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(HC) --make -i../DrIFT-src -i../.. $(HC_WARN) \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elknerutils/appendHaskellPreludeString: utils/appendHaskellPreludeString.hs
fa21fba9ceb1ddf7b3efd54731a12ed8750191d8Christian Maeder# release management
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner git clone --depth=50 $(HETSBRANCH) https://github.com/spechub/Hets
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner (cd Hets; $(MAKE) derivedSources; $(MAKE) clean; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elknerpretty/LaTeX_maps.hs: utils/words.pl utils/genItCorrections \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner pretty/words.input pretty/fonts.input pretty/width-table.tex.templ
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner @echo -n "Generating pretty/LaTeX_maps.hs ... "
b905126bab9454b89041f92b3c50bb9efc85e427Klaus Luettich @(cd pretty >/dev/null; $(PERL) ../utils/words.pl > words.pl.log)
756f31c6dd0843b4435c0ca66485ec19139eb1a8Eugen Kuksa @(cd pretty >/dev/null; ../utils/genItCorrections \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner gen_it_characters gen_it_words >> LaTeX_maps.hs)
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder @echo "ready"
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner @echo "please copy the file manually to Common"
0a5571c8adeddd27548445546491725beb224dddChristian Maeder $(RM) $(generated_rule_files) $(gendrifted_files) \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerclean: bin_clean o_clean clean_pretty clean_javastuff
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner### removes all *.o, *.hi and *.p_o files in all subdirectories
e642ad0e782f9bb9ba310164358220402eec8cd8Christian Maeder find . -name \*.o -o -name \*.hi -o -name \*.p_o \
f38b3687c5558128515e34fb85d8b466d22dc300Christian Maeder -o -name \*.exe -o -name \*.exe.manifest | xargs $(RM)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### remove binaries
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(RM) pretty/*.c.* pretty/*.h.* pretty/gen_it_* \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(RM) test/*/*.{thy,pp.het,pp.tex,th,dfg.c,xml,log,dvi,aux,sty}
ac0bbbcb2774629bb87986e69cf53d3402c5f575Christian Maeder### additionally removes the library files
1dfba1f850f6a43094962b459998d1ea11472461Christian Maeder### additionally removes generated files not in the repository tree
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(RM) utils/genItCorrections pretty/LaTeX_maps.hs pretty/words.pl.log
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### interactive
ab4256496e72886018b78571057331f373da6883Eugen Kuksa### build only, don't link
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### Kif parser
91432c9a2d813a8322dea3a3f54924c796897f09Eugen Kuksa### Annos parser
b09b9ccdfda2e80094a70dd29514ba42b2f6145eEugen Kuksa### CASL parser
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder### HasCASL parser
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### Haskell analysis
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### Haskell to Isabelle-HOLCF translation
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerHaskell/h2hf: Haskell/h2hf.hs Haskell/*.hs Isabelle/*.hs Common/*.hs \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### HasCASL to Haskell translation
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### test program to check the known provers
62f5e02856861853dcc9ffb8c0a688835eb729aeJens Elkner### run tests in other directories
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus Luettich for i in $(TESTDIRS); do $(MAKE) -C $$i check; done
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner## Preparing the version of Hets
1365c420ef71be3d52796ebd369dc2defdedc822Christian MaederDriver/Version.hs: Driver/Version.in version_nr rev.txt
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner echo " ++ \"$(shell cat version_nr), $(shell cat rev.txt)\"" >> $@
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner echo $(shell git log -1 --format=%ct) >> $@
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner## two dependencies to avoid circular prerequisites
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian MaederCASL_DEPENDENT_BINARIES = hets CASL/capa CASL/fromKif \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Common/annos Common/test_parser Comorphisms/test/showKP \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner CspCASL/print_csp HasCASL/hacapa Haskell/h2h Haskell/h2hf \
4c7cb5671b356d873d67829ec8062a5083c1ee0eEugen Kuksa Haskell/hana Haskell/wrap Isabelle/isa Syntax/hetpa
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner## suffix rules
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder## rule for GHC
0b349288edfa50fdf38fda1a14e1562d03f92574Christian Maeder## rule for DrIFT
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder ($(DRIFT_ENV); export DERIVEPATH; $(DRIFT) $< > $@)
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder## compiling rules for object and interface files
bcaf979d9babe6346aa343687aa7d596e2894cccPaolo Torrini## compiling rules for dependencies
23ab8855c58adfbd03a0730584b917b24c603901Christian Maeder## Rule to generate hs files from glade files. Needed for GTK
e50e41135ece589f7202bd4ef8d6b97531c2a56eKlaus Luettich%.hs: %.glade utils/appendHaskellPreludeString \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder cat GUI/Glade/Template.append.hs | sed "s/\%s/$$b/" | \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# directory for installers
9096f6c6aaded6cd8288656ceccd4c7b3bd0747eChristian Maeder# or `date +%F`
e62d49c0dc2893da75faad896bd135e2e9a7087bKlaus Luettich# prepare installer creation
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder sed "s/^\(HETS_VERSION =\).*/\1$(HETS_VERSION)/" Makefile.installer \
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maeder @echo " -> make"
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen Kuksa# check out java parts for OWL
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner https://github.com/owlcs/owlapi/tags/owlapi-parent-3.4.8 \
1a6464613c59e35072b90ca296ae402cbe956144Christian Maeder# download dependencies for RDF Jena-api
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder if [ -f RDF/java/lib/arq-2.8.7.jar ]; then \
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder echo "File arq-2.8.7.jar already exists"; \
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder curl -o RDF/java/lib/arq-2.8.7.jar http://repo1.maven.org/maven2/com/hp/hpl/jena/arq/2.8.7/arq-2.8.7.jar; \
f78ce817f35574674d54e30ad1861a9b4ced20caChristian Maeder if [ -f RDF/java/lib/icu4j-3.4.4.jar ]; then \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner echo "File icu4j-3.4.4.jar already exists"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner curl -o RDF/java/lib/icu4j-3.4.4.jar http://repo1.maven.org/maven2/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner echo "File iri-0.8.jar already exists"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner curl -o RDF/java/lib/iri-0.8.jar http://repo1.maven.org/maven2/com/hp/hpl/jena/iri/0.8/iri-0.8.jar; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner echo "File jena-2.6.4.jar already exists"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner curl -o RDF/java/lib/jena-2.6.4.jar http://repo1.maven.org/maven2/com/hp/hpl/jena/jena/2.6.4/jena-2.6.4.jar; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner echo "File junit-4.5.jar already exists"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner curl -o RDF/java/lib/junit-4.5.jar http://repo1.maven.org/maven2/junit/junit/4.5/junit-4.5.jar; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner echo "File log4j-1.2.13.jar already exists"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner curl -o RDF/java/lib/log4j-1.2.13.jar http://repo1.maven.org/maven2/log4j/log4j/1.2.13/log4j-1.2.13.jar; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner if [ -f RDF/java/lib/lucene-core-2.3.1.jar ]; then \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner echo "File lucene-core-2.3.1.jar already exists"; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner curl -o RDF/java/lib/lucene-core-2.3.1.jar http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/2.3.1/lucene-core-2.3.1.jar; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner if [ -f RDF/java/lib/slf4j-api-1.5.8.jar ]; then \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner echo "File slf4j-api-1.5.8.jar already exists"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner curl -o RDF/java/lib/slf4j-api-1.5.8.jar http://repo2.maven.org/maven2/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner if [ -f RDF/java/lib/slf4j-log4j12-1.5.8.jar ]; then \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner echo "File slf4j-log4j12-1.5.8.jar already exists"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner curl -o RDF/java/lib/slf4j-log4j12-1.5.8.jar http://repo2.maven.org/maven2/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner if [ -f RDF/java/lib/stax-api-1.0.1.jar ]; then \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner echo "File stax-api-1.0.1.jar already exists"; \
ae3e4689adbf4de67f4e1cdda6db2c0e406027d0Francisc Nicolae Bungiu curl -o RDF/java/lib/stax-api-1.0.1.jar http://dist.codehaus.org/stax/jars/stax-api-1.0.1.jar; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner if [ -f RDF/java/lib/wstx-asl-3.2.9.jar ]; then \
ae3e4689adbf4de67f4e1cdda6db2c0e406027d0Francisc Nicolae Bungiu echo "File wstx-asl-3.2.9.jar already exists"; \
60e6795dd310e10194e12bb660575aadf941328bEugen Kuksa curl -o RDF/java/lib/wstx-asl-3.2.9.jar http://repo1.maven.org/maven2/org/codehaus/woodstox/wstx-asl/3.2.9/wstx-asl-3.2.9.jar; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner if [ -f RDF/java/lib/xercesImpl-2.7.1.jar ]; then \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner echo "File xercesImpl-2.7.1.jar already exists"; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner curl -o RDF/java/lib/xercesImpl-2.7.1.jar http://mirrors.ibiblio.org/pub/mirrors/maven2/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# download rdf4h, unpack and install
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner cabal install http://protempore.net/rdf4h/rdf4h-0.6.1.tar.gz
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner# DO NOT DELETE: Beginning of Haskell dependencies
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# DO NOT DELETE: End of Haskell dependencies