Makefile revision f5c0884429b01e74c6e658ded921fb2e16dfb478
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 Typeable -r ShATermConvertible \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerGENRULECALL2 = $(GENRULES) -r Typeable -r ShATermLG \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner -i Data.Typeable -i ATerm.Lib -i ATC.Grothendieck
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 Temporal CoCASL COL CspCASL CASL_DL \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner SoftFOL ConstraintCASL Propositional RelationalScheme VSE OMDoc DFOL \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner LF Framework Maude ExtModal CommonLogic CSL QBF Adl HolLight Fpl THF \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerTESTTARGETFILES += Scratch.hs CASL/fromKif.hs CASL/capa.hs HasCASL/hacapa.hs \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner Haskell/wrap.hs Isabelle/isa.hs Syntax/hetpa.hs \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner ATC/ATCTest.hs ATC/ATCTest2.hs Common/ATerm/ATermLibTest.hs \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner SoftFOL/tests/PrintTPTPTests.hs Comorphisms/test/showKP.hs \
c9a7e6af169a2adfb92f42331cd578065ed83a2bChristian Maeder Comorphisms/test/sublogicGraph.hs PGIP/ParseProofScript.hs \
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder Common/testxupdate.hs Common/testxpath.hs \
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder SoftFOL/dfg.hs Adl/adl.hs GUI/displayDependencyGraph.hs
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder### list of directories to run checks in
c0c2380bced8159ff0297ece14eba948bd236471Christian MaederTESTDIRS += Common CASL Fpl/test HasCASL test ExtModal/Tries \
ad270004874ce1d0697fb30d7309f180553bb315Christian Maederhs_clean_files = Haskell/TiATC.hs Haskell/TiDecorateATC.hs \
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus Luettich Haskell/TiPropATC.hs Haskell/ATC_Haskell.der.hs
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian MaederPFE_TOOLDIR = $(wildcard programatica/tools)
ce5b44277ea06257548ff625e928cb1290c6d297cmaederPFE_DIRS = base/AST base/TI base/parse2 base/parse2/Lexer base/parse2/Parser \
bab2d88d650448628730ed3b65c9f99c52500e8cChristian Maeder base/parse2/LexerGen base/parse2/LexerSpec base/tests/HbcLibraries \
fa8878c6145f652f615a04a5e9c15a1d1327bc92cmaeder base/pretty base/syntax base/lib base/lib/Monads base/Modules base/defs \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder property/syntax property/AST property/transforms \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder 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
3dde4051c307b609159a097f08a05108fdd036efJonathan von SchroederHaskell/PreludeString.hs: Haskell/PreludeString.append.hs \
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian MaederAst_Haskell_files = HsDeclStruct HsExpStruct HsFieldsStruct \
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder HsGuardsStruct HsKindStruct HsPatStruct HsTypeStruct HsAssocStruct \
4b4a0b61b72cf8478a5d4d5002bca9f699401363Christian Maeder#Ti_Haskell_files = TiTypes TiKinds TiDecorate TiInstanceDB
308834907a120fd8771e18292ed2ca9cd767c12dChristian Maeder#Ti_Prop_files = property/TI/TiPropDecorate property/syntax/PropSyntaxRec
d62661e54e2662d53b583ae48609f5037701078dcmaederOther_PFE_files = property/AST/HsPropStruct base/defs/PNT \
8cacad2a09782249243b80985f28e9387019fe40Christian Maeder base/defs/UniqueNames base/Modules/TypedIds base/Modules/Ents \
6a2dad705deefd1b7a7e09b84fd2d75f2213be47Christian Maeder base/parse2/SourceNames base/syntax/SyntaxRec \
f04e8f3ff56405901be968fd4c6e9769239f1a9bKlaus Luettich $(addprefix $(PFE_TOOLDIR)/base/AST/, $(Ast_Haskell_files)) \
6aea82c63ba1d2efc0329bc784a14e521469ec20Christian Maeder $(addprefix $(PFE_TOOLDIR)/, $(Other_PFE_files)))
feca1d35123d8c31aee238c9ce79947b0bf65494Christian Maeder## rule for ATC generation
431d34c7007a787331c4e5ec997badb0f8190fc7Christian MaederHaskell/ATC_Haskell.der.hs: $(Haskell_files) $(GENRULES)
f1541d4a151dbd08002dbd14e7eb1d5dde253689Christian Maeder $(GENRULECALL) -i Haskell.BaseATC -o $@ $(Haskell_files)
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian MaederTESTTARGETFILES += Haskell/hana.hs Haskell/h2h.hs Haskell/h2hf.hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# unset this variable from var.mk because the programatica sources
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner# are needed to created our sources!
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# end of programatica stuff
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederTESTTARGETS = $(subst .hs,,$(TESTTARGETFILES))
dc679edd4ca027663212afdf00926ae2ce19b555Christian MaederNO_BIND_WARNING = -fno-warn-unused-do-bind -fno-warn-warnings-deprecations
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederHC_WARN = -Wall -fno-warn-orphans $(NO_BIND_WARNING)
ca074a78b8dcccbb8c419586787882f98d0c6163Christian Maeder# uncomment HC_PROF for profiling (and comment out packages in var.mk)
ca074a78b8dcccbb8c419586787882f98d0c6163Christian Maeder# call resulting binary with a final +RTS -p to get a file <binary>.prof
4017ebc0f692820736d796af3110c3b3018c108aChristian Maeder# HC_PROF = -prof -auto-all -osuf p_o +RTS -K100m -RTS
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian MaederHC_OPTS += $(HC_WARN) $(HC_PROF) $(HC_DEBIAN_OPT)
d946c1bfdd7d58aa7c023efe864d5999eb44a61bChristian Maeder# -ddump-minimal-imports
d946c1bfdd7d58aa7c023efe864d5999eb44a61bChristian Maeder# uncomment the above line to generate .imports files for displayDependencyGraph
d946c1bfdd7d58aa7c023efe864d5999eb44a61bChristian Maeder# files generated by DriFT
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder Syntax/AS_Structured.hs Syntax/AS_Architecture.hs Syntax/AS_Library.hs \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner CspCASL/AS_CspCASL_Process.hs CspCASL/AS_CspCASL.hs \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder RelationalScheme/AS.hs ATC/Grothendieck.hs \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder ExtModal/AS_ExtModal.hs QBF/AS_BASIC_QBF.hs \
8037b7d21021a94b69e4a092f5c98e491333d939cmaeder# files to extract data types from to generate ShATermConvertible instances
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkneratc_files = Common/AS_Annotation.der.hs Common/DefaultMorphism.hs \
f1541d4a151dbd08002dbd14e7eb1d5dde253689Christian Maeder Syntax/AS_Structured.der.hs Syntax/AS_Architecture.der.hs \
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian Maeder Common/GlobalAnnotations.hs Syntax/AS_Library.der.hs \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner Logic/Prover.hs Common/LibName.hs Common/ExtSign.hs \
e6d5dbbc3308f05197868806e0b860f4f53875f1Christian Maeder Common/Consistency.hs Common/ProofTree.hs \
363939beade943a02b31004cea09dec34fa8a6d9Christian Maeder Static/DgUtils.hs Static/XGraph.hs Static/DevGraph.hs \
e4f4d096e5e6d60dd91c746d0e833d0ac7a29c50Christian Maeder Common/Id.hs Common/Result.hs Common/OrderedMap.hs \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner# files generated by genRules as input for DriFT
f1541d4a151dbd08002dbd14e7eb1d5dde253689Christian Maederatc_der_files = $(foreach file, $(atc_files), \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner ATC/$(basename $(basename $(notdir $(file)))).der.hs)
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# the rules to create ATC .der.hs file for DriFT
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von SchroederATC/Result.der.hs: Common/Result.hs $(GENRULES)
328a85c807f2a95c3f147d10b05927eaf862ebebChristian MaederATC/OrderedMap.der.hs: Common/OrderedMap.hs $(GENRULES)
254df6f22d01eacf7c57b85729e0445747b630d9Christian MaederATC/Graph.der.hs: Common/Lib/Graph.hs $(GENRULES)
5b818f10e11fc79def1fdd5c8a080d64a6438d87Christian MaederATC/ProofTree.der.hs: Common/ProofTree.hs $(GENRULES)
819e29dba060687cf391e444e0f6ff88c1908cc3Christian MaederATC/AS_Annotation.der.hs: Common/AS_Annotation.der.hs $(GENRULES)
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder $(GENRULECALL) -i ATC.Id -i Common.ATerm.ConvInstances -o $@ $<
140287998aa8592c9c403bd9e308e447ba92ae11Christian MaederATC/Consistency.der.hs: Common/Consistency.hs $(GENRULES)
c208973c890b8f993297720fd0247bc7481d4304Christian Maeder $(GENRULECALL) -x Common.Consistency.ConservativityChecker -o $@ $<
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederATC/LibName.der.hs: Common/LibName.hs $(GENRULES)
3554301a34639efb6c9961a8571775d0061284c9Christian Maeder $(GENRULECALL) -i ATC.Id -i Common.ATerm.ConvInstances -o $@ $<
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederATC/ExtSign.der.hs: Common/ExtSign.hs $(GENRULES)
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder $(GENRULECALL) -i Common.ATerm.ConvInstances -o $@ $<
61fa0ac06ede811c7aad54ec4c4202346727368eChristian MaederATC/DefaultMorphism.der.hs: Common/DefaultMorphism.hs $(GENRULES)
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian MaederATC/AS_Structured.der.hs: Syntax/AS_Structured.der.hs $(GENRULES)
3554301a34639efb6c9961a8571775d0061284c9Christian MaederATC/AS_Architecture.der.hs: Syntax/AS_Architecture.der.hs $(GENRULES)
3554301a34639efb6c9961a8571775d0061284c9Christian Maeder $(GENRULECALL2) -i ATC.AS_Structured -o $@ $<
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederATC/AS_Library.der.hs: Syntax/AS_Library.der.hs $(GENRULES)
aded505f9b42cc38975559c2a5d175ae95de436bChristian Maeder $(GENRULECALL2) -i ATC.AS_Architecture -i ATC.LibName -o $@ $<
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederATC/GlobalAnnotations.der.hs: Common/GlobalAnnotations.hs $(GENRULES)
aded505f9b42cc38975559c2a5d175ae95de436bChristian Maeder $(GENRULECALL) -i ATC.AS_Annotation -i ATC.Result -o $@ $<
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian MaederATC/Prover.der.hs: Logic/Prover.hs $(GENRULES)
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian Maeder $(GENRULECALL) -x Logic.Prover.ProverTemplate \
a14767aeac3e78ed100f5b75e210ba563ee10dbaChristian Maeder -i ATC.AS_Annotation -i ATC.OrderedMap -o $@ $<
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian MaederATC/DgUtils.der.hs: Static/DgUtils.hs $(GENRULES)
3554301a34639efb6c9961a8571775d0061284c9Christian Maeder $(GENRULECALL2) -i ATC.LibName -i ATC.Consistency -o $@ $<
54ea981a0503c396c2923a1c06421c6235baf27fChristian MaederATC/XGraph.der.hs: Static/XGraph.hs $(GENRULES)
697e63e30aa3c309a1ef1f9357745111f8dfc5a9Christian MaederATC/DevGraph.der.hs: Static/DevGraph.hs $(GENRULES)
db6729e623b4053149084ccf4b35e5308ac7e359Christian Maeder $(GENRULECALL2) -i ATC.XGraph -i ATC.AS_Library -o $@ $<
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian Maeder# ATC files for every logic
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederCASL_files = CASL/Sublogic.hs CASL/Morphism.hs CASL/Sign.hs \
819e29dba060687cf391e444e0f6ff88c1908cc3Christian MaederHasCASL_files = Common/Prec.hs HasCASL/As.hs HasCASL/Le.hs HasCASL/Sublogic.hs
254df6f22d01eacf7c57b85729e0445747b630d9Christian MaederPropositional_files = Propositional/Sign.hs Propositional/Morphism.hs \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder Propositional/AS_BASIC_Propositional.hs Propositional/Symbol.hs \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian MaederHolLight_files = HolLight/Sentence.hs HolLight/Sign.hs \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian MaederQBF_files = Propositional/Sign.hs QBF/Morphism.hs \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian MaederRS_files = RelationalScheme/AS.hs RelationalScheme/Sign.hs
4fc9de0da898448f1d3597ebbd8c04a066464c21Christian MaederModal_files = Modal/AS_Modal.hs Modal/ModalSign.hs
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederTemporal_files = Temporal/AS_BASIC_Temporal.hs Temporal/Sign.hs \
c208973c890b8f993297720fd0247bc7481d4304Christian MaederConstraintCASL_files = ConstraintCASL/AS_ConstraintCASL.hs
c208973c890b8f993297720fd0247bc7481d4304Christian MaederCoCASL_files = CoCASL/AS_CoCASL.hs CoCASL/CoCASLSign.hs
0d0278c34a374b29c2d6c58b39b8b56e283d48e8Christian MaederCspCASL_files = CspCASL/AS_CspCASL.hs CspCASL/AS_CspCASL_Process.hs \
1842453990fed8a1bd7a5ac792d7982c1d2bfcd5Christian Maeder CspCASL/SignCSP.hs CspCASL/SymbItems.hs CspCASL/Symbol.hs \
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederCASL_DL_files = CASL_DL/AS_CASL_DL.hs CASL_DL/Sign.hs CASL_DL/Sublogics.hs
4561227a776bdf0ab679b19fb92f1eaaed8786f7Christian MaederDFOL_files = DFOL/AS_DFOL.hs DFOL/Sign.hs DFOL/Morphism.hs DFOL/Symbol.hs
8c812cd83569e973f10cf69a342424ceabc07af9Christian MaederMaude_files = Maude/Sign.hs Maude/Morphism.hs Maude/Sentence.hs \
1535e1d8c82db5f7e2402261983c4c2ef39f4f39Mihai CodescuExtModal_files = ExtModal/AS_ExtModal.hs ExtModal/ExtModalSign.hs \
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von SchroederCSL_files = CSL/Sign.hs CSL/Morphism.hs CSL/AS_BASIC_CSL.hs CSL/Symbol.hs \
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von SchroederCommonLogic_files = CommonLogic/AS_CommonLogic.hs CommonLogic/Sign.hs \
05a206508bc898f87fe6ab6e069814df3c29d303Dominik Luecke CommonLogic/Symbol.hs CommonLogic/Morphism.hs CommonLogic/Sublogic.hs
d54cd08a4cfa26256c38d8ed12c343adbfe1a0e3Christian MaederTHF_files = THF/As.hs THF/Cons.hs THF/Sign.hs
b1f59a4ea7c96f4c03a4d7cfcb9c5e66871cfbbbChristian MaederOWL2_files = OWL2/AS.hs OWL2/Symbols.hs OWL2/Sign.hs OWL2/MS.hs \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder OWL2/Morphism.hs OWL2/ProfilesAndSublogics.hs OWL2/Sublogic.hs \
5afff1a0f62394414c33b06141175b3ab0b117a5Christian Maeder# ATC DrIFT-rule generation for logics
5afff1a0f62394414c33b06141175b3ab0b117a5Christian MaederCASL/ATC_CASL.der.hs: $(CASL_files) $(GENRULES)
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maeder $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(CASL_files)
f04e8f3ff56405901be968fd4c6e9769239f1a9bKlaus LuettichRelationalScheme/ATC_RelationalScheme.der.hs: $(RS_files) $(GENRULES)
e39a1626bee36d6ad13a2c0014a80ef179a65bcbChristian Maeder $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(RS_files)
ea3bff3e547a1ac714d4db39c5efef95e02b2e7dChristian MaederPropositional/ATC_Propositional.der.hs: $(Propositional_files) $(GENRULES)
dd6f22b9dcff2695181b86372e4df03d5b96e92dKristina Sojakova $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(Propositional_files)
23b4e542dca35852f58d1fb3f7d9078c1de5ab06Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(QBF_files)
76b9b2974795a6fb31f242fd032de3ff66df6204Christian MaederHolLight/ATC_HolLight.der.hs: $(HolLight_files) $(GENRULES)
74a992bd019d3319df2f21f9d358ff06cafb5f7eMihaela Turcu $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(HolLight_files)
878a5ecd6acf973907e25e5be6e4a792ea19a05eEwaryst SchulzHasCASL/ATC_HasCASL.der.hs: $(HasCASL_files) $(GENRULES)
878a5ecd6acf973907e25e5be6e4a792ea19a05eEwaryst Schulz $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(HasCASL_files)
6b75c206b317eb30a08d88a8f27e0295ffeb1546Christian MaederIsabelle/ATC_Isabelle.der.hs: $(Isabelle_files) $(GENRULES)
01645eac73dbc789392674930adc5745c935f3a0Christian MaederModal/ATC_Modal.der.hs: $(Modal_files) $(GENRULES)
01645eac73dbc789392674930adc5745c935f3a0Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Modal_files)
bff4b3f816be4c1e1d8ded76f1d5af786839e1a9Christian MaederTemporal/ATC_Temporal.der.hs: $(Temporal_files) $(GENRULES)
3a9fce5398f4621558ca220c66c87cee59adc258Jonathan von Schroeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Temporal_files)
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst SchulzConstraintCASL/ATC_ConstraintCASL.der.hs: $(ConstraintCASL_files) $(GENRULES)
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst Schulz $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(ConstraintCASL_files)
308834907a120fd8771e18292ed2ca9cd767c12dChristian MaederCASL_DL/ATC_CASL_DL.der.hs: $(CASL_DL_files) $(GENRULES)
308834907a120fd8771e18292ed2ca9cd767c12dChristian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CASL_DL_files)
1f9274bb2aa44ea236327814dce99946be52e348Felix Gabriel ManceCoCASL/ATC_CoCASL.der.hs: $(CoCASL_files) $(GENRULES)
1f9274bb2aa44ea236327814dce99946be52e348Felix Gabriel Mance $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CoCASL_files)
8fd6a3f938496a502bc62f1923ff7c15f59acf91Christian MaederCOL/ATC_COL.der.hs: $(COL_files) $(GENRULES)
4b4a0b61b72cf8478a5d4d5002bca9f699401363Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(COL_files)
9f226cec9f978edaba67aee4c4e04e3d3b994b87Daniel CalegariCspCASL/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)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(SoftFOL_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederVSE/ATC_VSE.der.hs: $(VSE_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -x VSE.As.FoldRec -i CASL.ATC_CASL -o $@ $(VSE_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederOMDoc/ATC_OMDoc.der.hs: $(OMDoc_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i OMDoc.ATerm -o $@ $(OMDoc_files)
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von SchroederDFOL/ATC_DFOL.der.hs: $(DFOL_files) $(GENRULES)
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von Schroeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(DFOL_files)
1535e1d8c82db5f7e2402261983c4c2ef39f4f39Mihai Codescu $(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)
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von SchroederCSL/ATC_CSL.der.hs: $(CSL_files) $(GENRULES)
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von Schroeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(CSL_files)
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von SchroederCommonLogic/ATC_CommonLogic.der.hs: $(CommonLogic_files) $(GENRULES)
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von Schroeder $(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)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.Id -i ATC.GlobalAnnotations -o $@ $(THF_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederFreeCAD/ATC_FreeCAD.der.hs: $(FreeCAD_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i Common.ATerm.ConvInstances -o $@ $(FreeCAD_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederOWL2/ATC_OWL2.der.hs: $(OWL2_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.Result -o $@ $(OWL2_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder# all ATC .der.hs files for all logics
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maederatc_logic_files = $(foreach logic, $(logics), $(logic)/ATC_$(logic).der.hs)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maedergenerated_rule_files = $(atc_der_files) $(atc_logic_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder# a rule to create all .der.hs files
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder# the final ATC target files created by DriFT
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maedergendrifted_files = $(patsubst %.der.hs, %.hs, $(generated_rule_files))
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder# all sources that need to be created before ghc can be called
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maederderived_sources += $(drifted_files) Driver/Version.hs $(hs_der_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder####################################################################
9f85afecbd79b3df5a0bb17bd28cd0b288dc3213Kristina Sojakova.PHONY : all hets-opt hets-optimized clean o_clean clean_pretty \
79834070d6d3c63a098e570b12fa3405c607dc70Kristina Sojakova real_clean bin_clean distclean maintainer-clean annos \
79834070d6d3c63a098e570b12fa3405c607dc70Kristina Sojakova check capa hacapa h2h h2hf showKP clean_genRules genRules \
79834070d6d3c63a098e570b12fa3405c607dc70Kristina Sojakova count doc fromKif derivedSources release cgi ghci build callghc
23b4e542dca35852f58d1fb3f7d9078c1de5ab06Christian Maeder.SECONDARY : %.hs %.d $(generated_rule_files)
8a78868bae2ec6838c87366c35c57e109154c51eChristian Maeder# dummy target to force ghc invocation
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst Schulz ghc --make GUI/hets_cgi.hs -o $@ $(HC_OPTS) -O
bab2d88d650448628730ed3b65c9f99c52500e8cChristian Maeder# Documentation via haddock
ed1b8e97e72b2e3e92edaf2eb22a4b5373d705f1Felix Gabriel ManceHADDOCK_INTERFACES = $(shell find `ghc --print-libdir`/../.. -name \*.haddock)
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst SchulzHAD_INTS = $(foreach file, $(HADDOCK_INTERFACES),\
4b4a0b61b72cf8478a5d4d5002bca9f699401363Christian Maeder -i http://hackage.haskell.org/packages/archive/$(basename $(notdir $(file)))/latest/doc/html,$(file))
4b4a0b61b72cf8478a5d4d5002bca9f699401363Christian MaederHADDOCK_OPTS = $(addprefix --optghc=, $(HC_OPTS))
9f226cec9f978edaba67aee4c4e04e3d3b994b87Daniel Calegari $(HADDOCK) --ignore-all-exports -o docs -h -s ../%F $(HAD_INTS) \
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder -t 'Hets - the Heterogeneous Tool Set' \
c70ef4c3b3a62764f715510c9fd67dde3acfe454Christian Maeder -p Hets-Haddock-Prologue.txt $(HADDOCK_OPTS) \
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maeder Syntax/ADoc.hs $(filter-out Scratch.hs, $(wildcard *.hs))
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder (cd utils/DrIFT-src; $(HC) --make DrIFT.hs -o ../DrIFT)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(HC) --make -i../DrIFT-src -i../.. $(HC_WARN) \
360ce9b5c746ac021944db12eb26e3df2697b8c7Christian Maederutils/appendHaskellPreludeString: utils/appendHaskellPreludeString.hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# release management
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner svn co https://svn-agbkb.informatik.uni-bremen.de/Hets/$(REV) Hets
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner (cd Hets; $(MAKE) derivedSources; $(MAKE) clean; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner find . -name .svn -o -name \*.o -o -name \*.hi | xargs $(RM) -r; \
ddbf07996361d7e88cf23858a8f85595fa493514Jonathan von Schroeder $(RM) clean.*; utils/replaceAllHeaders.sh)
f5c9b1e739228c2a2edf055ac419583412569683Christian Maederutils/genItCorrections: $(GENITCORRECTIONS_deps)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerpretty/LaTeX_maps.hs: utils/words.pl utils/genItCorrections \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner pretty/words.input pretty/fonts.input pretty/width-table.tex.templ
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner @echo -n "Generating pretty/LaTeX_maps.hs ... "
fa21fba9ceb1ddf7b3efd54731a12ed8750191d8Christian Maeder @(cd pretty >/dev/null; $(PERL) ../utils/words.pl > words.pl.log)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner @(cd pretty >/dev/null; ../utils/genItCorrections \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner gen_it_characters gen_it_words >> LaTeX_maps.hs)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner @echo "ready"
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner @echo "please copy the file manually to Common"
961087225d1d2b9534152a346d1a3755ed952fcdJens Elknerclean: bin_clean o_clean clean_pretty clean_javastuff
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner### removes all *.o, *.hi and *.p_o files in all subdirectories
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner find . -name \*.o -o -name \*.hi -o -name \*.p_o \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner -o -name \*.exe -o -name \*.exe.manifest | xargs $(RM)
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner### remove binaries
a84a8d508a0778b13a4d097a6dd34b95feae78acJens 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}
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### additionally removes the library files
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### additionally removes generated files not in the CVS tree
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(RM) utils/genItCorrections pretty/LaTeX_maps.hs pretty/words.pl.log
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(RM) -r $(HOME)/.ghc/$(ARCH)-$(OSBYUNAME)-hets-packages
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder### interactive
0a5571c8adeddd27548445546491725beb224dddChristian Maeder### build only, don't link
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### Kif parser
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### Annos parser
f38b3687c5558128515e34fb85d8b466d22dc300Christian Maeder### CASL parser
ddbf07996361d7e88cf23858a8f85595fa493514Jonathan von Schroeder### HasCASL parser
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner### Haskell analysis
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner### Haskell to Isabelle-HOLCF translation
961087225d1d2b9534152a346d1a3755ed952fcdJens ElknerHaskell/h2hf: Haskell/h2hf.hs Haskell/*.hs Isabelle/*.hs Common/*.hs \
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder### HasCASL to Haskell translation
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner### test program to check the known provers
1dfba1f850f6a43094962b459998d1ea11472461Christian Maeder### run tests in other directories
1dfba1f850f6a43094962b459998d1ea11472461Christian Maeder for i in $(TESTDIRS); do $(MAKE) -C $$i check; done
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus Luettich## Preparing the version of Hets
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus LuettichDriver/Version.hs: Driver/Version.in version_nr
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus Luettich LANG=C $(PERL) utils/build_version.pl version_nr \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner## two hardcoded dependencies for a correct generation of Version.hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerDriver/Options.hs Driver/WriteFn.hs Driver/ReadFn.hs: Driver/Version.hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner## two dependencies to avoid circular prerequisites
a80c28bb8b7a23ccdf7e08d0fe216fc19cc97273Klaus LuettichCASL_DEPENDENT_BINARIES = hets CASL/capa CASL/fromKif \
82e29b77f0ef4cccd7ed734692c5e1e93dbbc645Christian Maeder Common/annos Common/test_parser Comorphisms/test/showKP \
a80c28bb8b7a23ccdf7e08d0fe216fc19cc97273Klaus Luettich CspCASL/print_csp HasCASL/hacapa Haskell/h2h Haskell/h2hf \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner Haskell/hana Haskell/wrap Isabelle/isa Syntax/hetpa
b9625461755578f3eed04676d42a63fd2caebd0cChristian Maeder## suffix rules
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner## rule for GHC
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder## rule for DrIFT
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner ($(DRIFT_ENV); export DERIVEPATH; $(DRIFT) $< > $@)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner## compiling rules for object and interface files
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus Luettich## compiling rules for dependencies
62f5e02856861853dcc9ffb8c0a688835eb729aeJens Elkner## Rule to generate hs files from glade files. Needed for GTK
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder%.hs: %.glade utils/appendHaskellPreludeString \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner cat GUI/Glade/Template.append.hs | sed "s/\%s/$$b/" | \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner# directory for installers
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# or `date +%F`
5580ab3e64410186ccd36cde8a94282d8757ac0dChristian Maeder# prepare installer creation
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner sed "s/^\(HETS_VERSION =\).*/\1$(HETS_VERSION)/" Makefile.installer \
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder @echo " -> make"
0b349288edfa50fdf38fda1a14e1562d03f92574Christian Maeder# check out java parts for OWL
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder https://owlapi.svn.sourceforge.net/svnroot/owlapi/v3/trunk \
bcaf979d9babe6346aa343687aa7d596e2894cccPaolo Torrini# download dependencies for RDF Jena-api
23ab8855c58adfbd03a0730584b917b24c603901Christian Maeder if [ -f RDF/java/lib/arq-2.8.7.jar ]; then \
e50e41135ece589f7202bd4ef8d6b97531c2a56eKlaus Luettich echo "File arq-2.8.7.jar already exists"; \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian 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; \
431d34c7007a787331c4e5ec997badb0f8190fc7Christian Maeder if [ -f RDF/java/lib/icu4j-3.4.4.jar ]; then \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder echo "File icu4j-3.4.4.jar already exists"; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens 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; \
99afa6000472f3d291fdf9193ea19d334a58658dChristian Maeder 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; \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder 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; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner echo "File junit-4.5.jar already exists"; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner curl -o RDF/java/lib/junit-4.5.jar http://repo1.maven.org/maven2/junit/junit/4.5/junit-4.5.jar; \
e62d49c0dc2893da75faad896bd135e2e9a7087bKlaus Luettich echo "File log4j-1.2.13.jar already exists"; \
9096f6c6aaded6cd8288656ceccd4c7b3bd0747eChristian Maeder 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; \
e112e83352048f3db8c8f93ae104193e7338c10fChristian Maeder if [ -f RDF/java/lib/lucene-core-2.3.1.jar ]; then \
e62d49c0dc2893da75faad896bd135e2e9a7087bKlaus Luettich echo "File lucene-core-2.3.1.jar already exists"; \
e62d49c0dc2893da75faad896bd135e2e9a7087bKlaus Luettich 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; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner if [ -f RDF/java/lib/slf4j-api-1.5.8.jar ]; then \
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder echo "File slf4j-api-1.5.8.jar already exists"; \
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maeder 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; \
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder if [ -f RDF/java/lib/slf4j-log4j12-1.5.8.jar ]; then \
f5c9b1e739228c2a2edf055ac419583412569683Christian Maeder 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; \
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder if [ -f RDF/java/lib/stax-api-1.0.1.jar ]; then \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder echo "File stax-api-1.0.1.jar already exists"; \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder curl -o RDF/java/lib/stax-api-1.0.1.jar http://dist.codehaus.org/stax/jars/stax-api-1.0.1.jar; \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder if [ -f RDF/java/lib/wstx-asl-3.2.9.jar ]; then \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner echo "File wstx-asl-3.2.9.jar already exists"; \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder 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; \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder if [ -f RDF/java/lib/xercesImpl-2.7.1.jar ]; then \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder echo "File xercesImpl-2.7.1.jar already exists"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens 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; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner# download rdf4h, unpack and install