Makefile revision 8037b7d21021a94b69e4a092f5c98e491333d939
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# Makefile
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# $Id$
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# Author: (c) Klaus Luettich, Christian Maeder, Uni Bremen 2002-2009
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# This Makefile will compile the hets system and provides also
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# targets for test programs during implementation phases.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# !!! Note: This makefile is written for GNU make !!!
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# (gmake on solaris)
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerall: hets
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerinclude var.mk
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# the 'replacing spaces' example was taken from the (GNU) Make info manual
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerempty =
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerspace = $(empty) $(empty)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerDRIFT_ENV = DERIVEPATH=$(subst $(space),:,$(PFE_PATHS))
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerDRIFT_deps = utils/DrIFT-src/*hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerGENERATERULES_deps = utils/GenerateRules/*hs $(DRIFT_deps)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerGENITCORRECTIONS_deps = utils/itcor/GenItCorrections.hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerPERL = perl
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerGENRULES = utils/genRules
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerGENRULECALL = $(GENRULES) -r ShATermConvertible \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner -i ATerm.Lib
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerGENRULECALL2 = $(GENRULES) -r ShATermLG \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner -i ATerm.Lib -i ATC.Grothendieck
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerDRIFT = utils/DrIFT
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerHADDOCK = haddock
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen KuksaDTD2HS = utils/DtdToHaskell
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen Kuksaifneq ($(strip $(HAXML_PACKAGE_COMPAT)),)
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen KuksaDTD2HS_src = utils/DtdToHaskell-src/pre-1.22/
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen Kuksaelse
ab4256496e72886018b78571057331f373da6883Eugen KuksaDTD2HS_src = utils/DtdToHaskell-src/current/
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen Kuksaendif
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen Kuksa
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen Kuksaifneq ($(strip $(HAXML_PACKAGE)),)
a389e88e0acb83d8489bdc5e55bc5522b152bbecEugen Kuksaderived_sources += Isabelle/IsaExport.hs
a389e88e0acb83d8489bdc5e55bc5522b152bbecEugen Kuksaendif
a389e88e0acb83d8489bdc5e55bc5522b152bbecEugen Kuksa
a389e88e0acb83d8489bdc5e55bc5522b152bbecEugen KuksaDTD2HS_deps = $(DTD2HS_src)*.hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# list glade files
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerGTK_GLADE_FILES = $(wildcard GUI/Glade/*.glade)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerGTK_GLADE_HSFILES = $(subst .glade,.hs,$(GTK_GLADE_FILES))
60e6795dd310e10194e12bb660575aadf941328bEugen Kuksa
60e6795dd310e10194e12bb660575aadf941328bEugen Kuksaderived_sources += $(GTK_GLADE_HSFILES)
60e6795dd310e10194e12bb660575aadf941328bEugen Kuksa
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# the list of logics that need ShATermConvertible instances
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerlogics = CASL HasCASL Isabelle Modal Hybrid TopHybrid Temporal \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner 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 Elkner FreeCAD OWL2 RDF CSMOF QVTR
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
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
b1f59a4ea7c96f4c03a4d7cfcb9c5e66871cfbbbChristian Maeder
ad270004874ce1d0697fb30d7309f180553bb315Christian Maeder### list of directories to run checks in
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus LuettichTESTDIRS += Common CASL Fpl/test HasCASL test ExtModal/Tries \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder CommonLogic/TestData
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder
1a38107941725211e7c3f051f7a8f5e12199f03acmaederhs_clean_files = Haskell/TiATC.hs Haskell/TiDecorateATC.hs \
ce5b44277ea06257548ff625e928cb1290c6d297cmaeder Haskell/TiPropATC.hs Haskell/ATC_Haskell.der.hs
bab2d88d650448628730ed3b65c9f99c52500e8cChristian Maeder
fa8878c6145f652f615a04a5e9c15a1d1327bc92cmaederPFE_TOOLDIR = $(wildcard programatica/tools)
ce5b44277ea06257548ff625e928cb1290c6d297cmaederifneq ($(strip $(PFE_TOOLDIR)),)
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 Schroeder
3dde4051c307b609159a097f08a05108fdd036efJonathan von SchroederPFE_PATHS = $(addprefix $(PFE_TOOLDIR)/, $(PFE_DIRS))
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroederlogics += Haskell
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroederderived_sources += Haskell/PreludeString.hs
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder
3dde4051c307b609159a097f08a05108fdd036efJonathan von SchroederAPPENDPRELUDESTRING = utils/appendHaskellPreludeString \
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder Haskell/ProgramaticaPrelude.hs
825a1e4ca1e768de4b4883c65a6cb1dce6aa0002Christian Maeder
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder## rule for appendHaskellPreludeString
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian MaederHaskell/PreludeString.hs: Haskell/PreludeString.append.hs \
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder $(APPENDPRELUDESTRING)
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder $(RM) $@
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder $(APPENDPRELUDESTRING) < $< > $@
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder chmod 444 $@
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederAst_Haskell_files = HsDeclStruct HsExpStruct HsFieldsStruct \
4b4a0b61b72cf8478a5d4d5002bca9f699401363Christian Maeder HsGuardsStruct HsKindStruct HsPatStruct HsTypeStruct HsAssocStruct \
4b4a0b61b72cf8478a5d4d5002bca9f699401363Christian Maeder HsModule HsName HsLiteral HsIdent
308834907a120fd8771e18292ed2ca9cd767c12dChristian Maeder
bab2d88d650448628730ed3b65c9f99c52500e8cChristian Maeder#files in base/TI/
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa#Ti_Haskell_files = TiTypes TiKinds TiDecorate TiInstanceDB
8cacad2a09782249243b80985f28e9387019fe40Christian Maeder
6a2dad705deefd1b7a7e09b84fd2d75f2213be47Christian Maeder#Ti_Prop_files = property/TI/TiPropDecorate property/syntax/PropSyntaxRec
a7c27282e71cf4505026645f96d4f5cb8a284e32Christian Maeder
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 \
6aea82c63ba1d2efc0329bc784a14e521469ec20Christian Maeder property/syntax/PropSyntaxStruct
4ba08bfca0cc8d9da65397b8dfd2654fdb4c0e62Christian Maeder
feca1d35123d8c31aee238c9ce79947b0bf65494Christian MaederHaskell_files = $(addsuffix .hs, \
431d34c7007a787331c4e5ec997badb0f8190fc7Christian Maeder $(addprefix $(PFE_TOOLDIR)/base/AST/, $(Ast_Haskell_files)) \
f1541d4a151dbd08002dbd14e7eb1d5dde253689Christian Maeder $(addprefix $(PFE_TOOLDIR)/, $(Other_PFE_files)))
f5c0884429b01e74c6e658ded921fb2e16dfb478Christian Maeder
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 \
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian Maeder -o $@ $(Haskell_files)
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian Maeder
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerhs_der_files += $(hs_clean_files)
961087225d1d2b9534152a346d1a3755ed952fcdJens Elknerifneq ($(strip $(PFE_FLAGS)),)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerTESTDIRS += ToHaskell
961087225d1d2b9534152a346d1a3755ed952fcdJens ElknerTESTTARGETFILES += Haskell/hana.hs Haskell/h2h.hs Haskell/h2hf.hs
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maederendif
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maederelse
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# unset this variable from var.mk because the programatica sources
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# are needed to created our sources!
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederPFE_FLAGS =
9e748851c150e1022fb952bab3315e869aaf0214Christian Maederendif
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# end of programatica stuff
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
ca074a78b8dcccbb8c419586787882f98d0c6163Christian MaederTESTTARGETS = $(subst .hs,,$(TESTTARGETFILES))
a3c6d8e0670bf2aa71bc8e2a3b1f45d56dd65e4cChristian Maeder
dc679edd4ca027663212afdf00926ae2ce19b555Christian MaederGHCVERSION = $(shell ghc --numeric-version)
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maederifneq ($(findstring 12, $(GHCVERSION)),)
ca074a78b8dcccbb8c419586787882f98d0c6163Christian MaederNO_BIND_WARNING = -fno-warn-unused-do-bind
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maederendif
ca074a78b8dcccbb8c419586787882f98d0c6163Christian Maeder
ca074a78b8dcccbb8c419586787882f98d0c6163Christian Maederifneq ($(findstring 7, $(GHCVERSION)),)
ca074a78b8dcccbb8c419586787882f98d0c6163Christian MaederNO_BIND_WARNING = -fno-warn-unused-do-bind
4017ebc0f692820736d796af3110c3b3018c108aChristian Maederendif
ca074a78b8dcccbb8c419586787882f98d0c6163Christian Maeder
ca074a78b8dcccbb8c419586787882f98d0c6163Christian MaederHC_WARN = -Wall -fwarn-tabs \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder -fwarn-unrecognised-pragmas -fno-warn-orphans $(NO_BIND_WARNING)
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder
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
d946c1bfdd7d58aa7c023efe864d5999eb44a61bChristian Maeder
d946c1bfdd7d58aa7c023efe864d5999eb44a61bChristian Maederifneq ($(findstring -O, $(CFLAGS)),)
d946c1bfdd7d58aa7c023efe864d5999eb44a61bChristian MaederHC_DEBIAN_OPT=-O
d946c1bfdd7d58aa7c023efe864d5999eb44a61bChristian Maederendif
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
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
ca074a78b8dcccbb8c419586787882f98d0c6163Christian Maeder
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner# files generated by DriFT
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maederdrifted_files = Common/AS_Annotation.hs \
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 \
ca074a78b8dcccbb8c419586787882f98d0c6163Christian Maeder Propositional/AS_BASIC_Propositional.hs \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder CoCASL/AS_CoCASL.hs COL/AS_COL.hs \
8037b7d21021a94b69e4a092f5c98e491333d939cmaeder CASL_DL/AS_CASL_DL.hs THF/As.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 \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner CommonLogic/AS_CommonLogic.hs Fpl/As.hs \
e6d5dbbc3308f05197868806e0b860f4f53875f1Christian Maeder $(gendrifted_files)
363939beade943a02b31004cea09dec34fa8a6d9Christian Maeder
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 \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner Common/Consistency.hs Common/ProofTree.hs \
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder Static/DgUtils.hs Static/XGraph.hs Static/DevGraph.hs \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Common/Id.hs Common/Result.hs Common/OrderedMap.hs \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Common/Lib/Graph.hs Common/IRI.hs
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
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)
93f5b72fdb9ee734caa750b43dd79bbb590dcd73Christian Maeder
328a85c807f2a95c3f147d10b05927eaf862ebebChristian Maeder# the rules to create ATC .der.hs file for DriFT
8fb127028cb7dd361e348a3252e33487f73428bcJonathan von SchroederATC/Id.der.hs: Common/Id.hs $(GENRULES)
06dd4e7c29f33f6122a910719e3bd9062256e397Andy Gimblett $(GENRULECALL) -o $@ $<
254df6f22d01eacf7c57b85729e0445747b630d9Christian Maeder
4ba08bfca0cc8d9da65397b8dfd2654fdb4c0e62Christian MaederATC/IRI.der.hs: Common/IRI.hs $(GENRULES)
bff4b3f816be4c1e1d8ded76f1d5af786839e1a9Christian Maeder $(GENRULECALL) -i ATC.Id -o $@ $<
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa
5b818f10e11fc79def1fdd5c8a080d64a6438d87Christian MaederATC/Result.der.hs: Common/Result.hs $(GENRULES)
8b0f493ae42bad8b94918cc0957f1af57096cda4Felix Reckers $(GENRULECALL) -i ATC.Id -o $@ $<
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
819e29dba060687cf391e444e0f6ff88c1908cc3Christian MaederATC/OrderedMap.der.hs: Common/OrderedMap.hs $(GENRULES)
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder $(GENRULECALL) -o $@ $<
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder
140287998aa8592c9c403bd9e308e447ba92ae11Christian MaederATC/Graph.der.hs: Common/Lib/Graph.hs $(GENRULES)
c208973c890b8f993297720fd0247bc7481d4304Christian Maeder $(GENRULECALL) -o $@ $<
0d0278c34a374b29c2d6c58b39b8b56e283d48e8Christian Maeder
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederATC/ProofTree.der.hs: Common/ProofTree.hs $(GENRULES)
3554301a34639efb6c9961a8571775d0061284c9Christian Maeder $(GENRULECALL) -o $@ $<
8b0f493ae42bad8b94918cc0957f1af57096cda4Felix Reckers
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederATC/AS_Annotation.der.hs: Common/AS_Annotation.der.hs $(GENRULES)
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder $(GENRULECALL) -i ATC.IRI -i Common.ATerm.ConvInstances -o $@ $<
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder
61fa0ac06ede811c7aad54ec4c4202346727368eChristian MaederATC/Consistency.der.hs: Common/Consistency.hs $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -x Common.Consistency.ConservativityChecker -o $@ $<
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian Maeder
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian MaederATC/LibName.der.hs: Common/LibName.hs $(GENRULES)
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian Maeder $(GENRULECALL) -i ATC.IRI -i Common.ATerm.ConvInstances -o $@ $<
3554301a34639efb6c9961a8571775d0061284c9Christian Maeder
3554301a34639efb6c9961a8571775d0061284c9Christian MaederATC/ExtSign.der.hs: Common/ExtSign.hs $(GENRULES)
3554301a34639efb6c9961a8571775d0061284c9Christian Maeder $(GENRULECALL) -i Common.ATerm.ConvInstances -o $@ $<
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian Maeder
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederATC/DefaultMorphism.der.hs: Common/DefaultMorphism.hs $(GENRULES)
aded505f9b42cc38975559c2a5d175ae95de436bChristian Maeder $(GENRULECALL) -o $@ $<
aded505f9b42cc38975559c2a5d175ae95de436bChristian Maeder
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederATC/AS_Structured.der.hs: Syntax/AS_Structured.der.hs $(GENRULES)
aded505f9b42cc38975559c2a5d175ae95de436bChristian Maeder $(GENRULECALL2) -o $@ $<
aded505f9b42cc38975559c2a5d175ae95de436bChristian Maeder
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian MaederATC/AS_Architecture.der.hs: Syntax/AS_Architecture.der.hs $(GENRULES)
383aa66e5142365fe9b1f88b18c1da5b27cc8c04Christian Maeder $(GENRULECALL2) -i ATC.AS_Structured -o $@ $<
a14767aeac3e78ed100f5b75e210ba563ee10dbaChristian Maeder
a14767aeac3e78ed100f5b75e210ba563ee10dbaChristian MaederATC/AS_Library.der.hs: Syntax/AS_Library.der.hs $(GENRULES)
a14767aeac3e78ed100f5b75e210ba563ee10dbaChristian Maeder $(GENRULECALL2) -i ATC.AS_Architecture -i ATC.LibName -o $@ $<
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder
3554301a34639efb6c9961a8571775d0061284c9Christian MaederATC/GlobalAnnotations.der.hs: Common/GlobalAnnotations.hs $(GENRULES)
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -i ATC.Result -o $@ $<
54ea981a0503c396c2923a1c06421c6235baf27fChristian Maeder
54ea981a0503c396c2923a1c06421c6235baf27fChristian MaederATC/Prover.der.hs: Logic/Prover.hs $(GENRULES)
54ea981a0503c396c2923a1c06421c6235baf27fChristian Maeder $(GENRULECALL) -x Logic.Prover.ProverTemplate \
697e63e30aa3c309a1ef1f9357745111f8dfc5a9Christian Maeder -x Logic.Prover.ConsChecker \
db6729e623b4053149084ccf4b35e5308ac7e359Christian Maeder -i ATC.AS_Annotation -i ATC.OrderedMap -o $@ $<
697e63e30aa3c309a1ef1f9357745111f8dfc5a9Christian Maeder
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian MaederATC/DgUtils.der.hs: Static/DgUtils.hs $(GENRULES)
aded505f9b42cc38975559c2a5d175ae95de436bChristian Maeder $(GENRULECALL2) -i ATC.LibName -i ATC.Consistency -o $@ $<
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian Maeder
819e29dba060687cf391e444e0f6ff88c1908cc3Christian MaederATC/XGraph.der.hs: Static/XGraph.hs $(GENRULES)
819e29dba060687cf391e444e0f6ff88c1908cc3Christian Maeder $(GENRULECALL2) -i ATC.DgUtils -o $@ $<
819e29dba060687cf391e444e0f6ff88c1908cc3Christian Maeder
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian MaederATC/DevGraph.der.hs: Static/DevGraph.hs $(GENRULES)
254df6f22d01eacf7c57b85729e0445747b630d9Christian Maeder $(GENRULECALL2) -i ATC.XGraph -i ATC.AS_Library -o $@ $<
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder# ATC files for every logic
254df6f22d01eacf7c57b85729e0445747b630d9Christian MaederCASL_files = CASL/Sublogic.hs CASL/Morphism.hs CASL/Sign.hs \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder CASL/AS_Basic_CASL.der.hs
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder
254df6f22d01eacf7c57b85729e0445747b630d9Christian MaederHasCASL_files = Common/Prec.hs HasCASL/As.hs HasCASL/Le.hs HasCASL/Sublogic.hs
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian MaederIsabelle_files = Isabelle/IsaSign.hs
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder
aded505f9b42cc38975559c2a5d175ae95de436bChristian MaederPropositional_files = Propositional/Sign.hs Propositional/Morphism.hs \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder Propositional/AS_BASIC_Propositional.hs Propositional/Symbol.hs \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder Propositional/Sublogic.hs
ac34194a668399bb8ef238da77c3a09e93fb253bChristian Maeder
4fc9de0da898448f1d3597ebbd8c04a066464c21Christian MaederHolLight_files = HolLight/Sentence.hs HolLight/Sign.hs \
aded505f9b42cc38975559c2a5d175ae95de436bChristian Maeder HolLight/Sublogic.hs HolLight/Term.hs
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder
c208973c890b8f993297720fd0247bc7481d4304Christian MaederQBF_files = Propositional/Sign.hs QBF/Morphism.hs \
c208973c890b8f993297720fd0247bc7481d4304Christian Maeder QBF/AS_BASIC_QBF.hs QBF/Symbol.hs \
c208973c890b8f993297720fd0247bc7481d4304Christian Maeder QBF/Sublogic.hs
0d0278c34a374b29c2d6c58b39b8b56e283d48e8Christian Maeder
0d0278c34a374b29c2d6c58b39b8b56e283d48e8Christian MaederRS_files = RelationalScheme/AS.hs RelationalScheme/Sign.hs
0d0278c34a374b29c2d6c58b39b8b56e283d48e8Christian Maeder
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
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederTemporal_files = Temporal/AS_BASIC_Temporal.hs Temporal/Sign.hs \
986d3f255182539098a97ac86da9eeee5b7a72e3Christian Maeder Temporal/Symbol.hs Temporal/Morphism.hs
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maeder
4561227a776bdf0ab679b19fb92f1eaaed8786f7Christian MaederConstraintCASL_files = ConstraintCASL/AS_ConstraintCASL.hs
01e278bdd7dce13b9303ed3d79683d83c89d09f9Liam O'ReillyCoCASL_files = CoCASL/AS_CoCASL.hs CoCASL/CoCASLSign.hs
61fa0ac06ede811c7aad54ec4c4202346727368eChristian MaederCOL_files = COL/AS_COL.hs COL/COLSign.hs
5ad5dffe06818a13e1632b1119fbca7881085fc1Dominik Luecke
8c812cd83569e973f10cf69a342424ceabc07af9Christian MaederCspCASL_files = CspCASL/AS_CspCASL.hs CspCASL/AS_CspCASL_Process.hs \
8c812cd83569e973f10cf69a342424ceabc07af9Christian Maeder CspCASL/SignCSP.hs CspCASL/SymbItems.hs CspCASL/Symbol.hs \
8c812cd83569e973f10cf69a342424ceabc07af9Christian Maeder CspCASL/Morphism.hs
1535e1d8c82db5f7e2402261983c4c2ef39f4f39Mihai Codescu
31d6d9286988dc31639d105841296759aeb743e0Jonathan von SchroederCASL_DL_files = CASL_DL/AS_CASL_DL.hs CASL_DL/Sign.hs CASL_DL/Sublogics.hs
1535e1d8c82db5f7e2402261983c4c2ef39f4f39Mihai CodescuSoftFOL_files = SoftFOL/Sign.hs
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von SchroederVSE_files = VSE/As.hs
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von SchroederOMDoc_files = OMDoc/OMDocInterface.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
05a206508bc898f87fe6ab6e069814df3c29d303Dominik LueckeFramework_files = Framework/AS.hs
05a206508bc898f87fe6ab6e069814df3c29d303Dominik Luecke
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederMaude_files = Maude/Sign.hs Maude/Morphism.hs Maude/Sentence.hs \
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von Schroeder Maude/Symbol.hs Maude/AS_Maude.hs
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von Schroeder
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von SchroederExtModal_files = ExtModal/AS_ExtModal.hs ExtModal/ExtModalSign.hs \
d54cd08a4cfa26256c38d8ed12c343adbfe1a0e3Christian Maeder ExtModal/MorphismExtension.hs ExtModal/Sublogic.hs
d54cd08a4cfa26256c38d8ed12c343adbfe1a0e3Christian Maeder
d54cd08a4cfa26256c38d8ed12c343adbfe1a0e3Christian MaederCSL_files = CSL/Sign.hs CSL/Morphism.hs CSL/AS_BASIC_CSL.hs CSL/Symbol.hs \
3b06e23643a9f65390cb8c1caabe83fa7e87a708Till Mossakowski CSL/TreePO.hs
b1f59a4ea7c96f4c03a4d7cfcb9c5e66871cfbbbChristian Maeder
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederCommonLogic_files = CommonLogic/AS_CommonLogic.hs CommonLogic/Sign.hs \
8c812cd83569e973f10cf69a342424ceabc07af9Christian Maeder CommonLogic/Symbol.hs CommonLogic/Morphism.hs CommonLogic/Sublogic.hs
0b349288edfa50fdf38fda1a14e1562d03f92574Christian Maeder
5afff1a0f62394414c33b06141175b3ab0b117a5Christian MaederAdl_files = Adl/As.hs Adl/Sign.hs
5afff1a0f62394414c33b06141175b3ab0b117a5Christian Maeder
61fa0ac06ede811c7aad54ec4c4202346727368eChristian MaederFpl_files = Fpl/As.hs Fpl/Sign.hs
1b3a2f98d1cd01fc9e0591f69507e20526727559Dominik Luecke
f04e8f3ff56405901be968fd4c6e9769239f1a9bKlaus LuettichTHF_files = THF/As.hs THF/Cons.hs THF/Sign.hs THF/Sublogic.hs
e39a1626bee36d6ad13a2c0014a80ef179a65bcbChristian Maeder
f8e1a1eca871a26a535a4ee7d51902ba94b1db1eChristian MaederFreeCAD_files = FreeCAD/As.hs
ea3bff3e547a1ac714d4db39c5efef95e02b2e7dChristian Maeder
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 \
abf2487c3aece95c371ea89ac64319370dcb6483Klaus Luettich OWL2/Profiles.hs
23b4e542dca35852f58d1fb3f7d9078c1de5ab06Christian Maeder
23b4e542dca35852f58d1fb3f7d9078c1de5ab06Christian MaederRDF_files = RDF/AS.hs OWL2/AS.hs RDF/Symbols.hs RDF/Sign.hs RDF/Morphism.hs \
23b4e542dca35852f58d1fb3f7d9078c1de5ab06Christian Maeder RDF/Sublogic.hs
76b9b2974795a6fb31f242fd032de3ff66df6204Christian Maeder
74a992bd019d3319df2f21f9d358ff06cafb5f7eMihaela TurcuCSMOF_files = CSMOF/As.hs CSMOF/Sign.hs
8a78868bae2ec6838c87366c35c57e109154c51eChristian Maeder
878a5ecd6acf973907e25e5be6e4a792ea19a05eEwaryst SchulzQVTR_files = QVTR/As.hs QVTR/Sign.hs
878a5ecd6acf973907e25e5be6e4a792ea19a05eEwaryst Schulz
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)
48aa0645e25883048369afc02aac3f49b14a50daChristian Maeder
01645eac73dbc789392674930adc5745c935f3a0Christian MaederRelationalScheme/ATC_RelationalScheme.der.hs: $(RS_files) $(GENRULES)
01645eac73dbc789392674930adc5745c935f3a0Christian Maeder $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(RS_files)
bff4b3f816be4c1e1d8ded76f1d5af786839e1a9Christian Maeder
bff4b3f816be4c1e1d8ded76f1d5af786839e1a9Christian MaederPropositional/ATC_Propositional.der.hs: $(Propositional_files) $(GENRULES)
3a9fce5398f4621558ca220c66c87cee59adc258Jonathan von Schroeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(Propositional_files)
b5da047a9a875dec3f968b6c0df96af326f90fa9Alexis Tsogias
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst SchulzQBF/ATC_QBF.der.hs: $(QBF_files) $(GENRULES)
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst Schulz $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(QBF_files)
a604cbad8e2202147b5c6bb9f2e06ae61162d654Felix Gabriel Mance
308834907a120fd8771e18292ed2ca9cd767c12dChristian Maeder
80875f917d741946a39d0ec0b5721e46ba609823Till MossakowskiHolLight/ATC_HolLight.der.hs: $(HolLight_files) $(GENRULES)
7834a982096d93301a4626f444dd9ea5f9fe17eaChristian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(HolLight_files)
1f9274bb2aa44ea236327814dce99946be52e348Felix Gabriel Mance
80875f917d741946a39d0ec0b5721e46ba609823Till MossakowskiHasCASL/ATC_HasCASL.der.hs: $(HasCASL_files) $(GENRULES)
bab2d88d650448628730ed3b65c9f99c52500e8cChristian Maeder $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(HasCASL_files)
8fd6a3f938496a502bc62f1923ff7c15f59acf91Christian Maeder
4b4a0b61b72cf8478a5d4d5002bca9f699401363Christian MaederIsabelle/ATC_Isabelle.der.hs: $(Isabelle_files) $(GENRULES)
d62661e54e2662d53b583ae48609f5037701078dcmaeder $(GENRULECALL) -o $@ $(Isabelle_files)
9f226cec9f978edaba67aee4c4e04e3d3b994b87Daniel Calegari
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen KuksaModal/ATC_Modal.der.hs: $(Modal_files) $(GENRULES)
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Modal_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederHybrid/ATC_Hybrid.der.hs: $(Hybrid_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Hybrid_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederTopHybrid/ATC_TopHybrid.der.hs: $(TopHybrid_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(TopHybrid_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederTemporal/ATC_Temporal.der.hs: $(Temporal_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Temporal_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von SchroederConstraintCASL/ATC_ConstraintCASL.der.hs: $(ConstraintCASL_files) $(GENRULES)
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von Schroeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(ConstraintCASL_files)
7a3fe82695aa32657693e05712f84d7f81672f2eJonathan von Schroeder
1535e1d8c82db5f7e2402261983c4c2ef39f4f39Mihai CodescuCASL_DL/ATC_CASL_DL.der.hs: $(CASL_DL_files) $(GENRULES)
1535e1d8c82db5f7e2402261983c4c2ef39f4f39Mihai Codescu $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CASL_DL_files)
1535e1d8c82db5f7e2402261983c4c2ef39f4f39Mihai Codescu
1535e1d8c82db5f7e2402261983c4c2ef39f4f39Mihai CodescuCoCASL/ATC_CoCASL.der.hs: $(CoCASL_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CoCASL_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederCOL/ATC_COL.der.hs: $(COL_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(COL_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederCspCASL/ATC_CspCASL.der.hs: $(CspCASL_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CspCASL_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederSoftFOL/ATC_SoftFOL.der.hs: $(SoftFOL_files) $(GENRULES)
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von Schroeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(SoftFOL_files)
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von Schroeder
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 Schroeder
81f49ee02aaa3bc870401f8883bf52742eb3ea7aJonathan von SchroederOMDoc/ATC_OMDoc.der.hs: $(OMDoc_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.IRI -o $@ $(OMDoc_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederDFOL/ATC_DFOL.der.hs: $(DFOL_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(DFOL_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederLF/ATC_LF.der.hs: $(LF_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(LF_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederFramework/ATC_Framework.der.hs: $(Framework_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(Framework_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederMaude/ATC_Maude.der.hs: $(Maude_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(Maude_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederExtModal/ATC_ExtModal.der.hs: $(ExtModal_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(ExtModal_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederCSL/ATC_CSL.der.hs: $(CSL_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(CSL_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederCommonLogic/ATC_CommonLogic.der.hs: $(CommonLogic_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(CommonLogic_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederAdl/ATC_Adl.der.hs: $(Adl_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(Adl_files)
5199920ca3b698b2149c8cb9d2ce2e98a280ff9dChristian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederFpl/ATC_Fpl.der.hs: $(Fpl_files) $(GENRULES)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Fpl_files)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederTHF/ATC_THF.der.hs: $(THF_files) $(GENRULES)
9f85afecbd79b3df5a0bb17bd28cd0b288dc3213Kristina Sojakova $(GENRULECALL) -i ATC.Id -i ATC.GlobalAnnotations -o $@ $(THF_files)
48aa0645e25883048369afc02aac3f49b14a50daChristian Maeder
9f85afecbd79b3df5a0bb17bd28cd0b288dc3213Kristina SojakovaFreeCAD/ATC_FreeCAD.der.hs: $(FreeCAD_files) $(GENRULES)
79834070d6d3c63a098e570b12fa3405c607dc70Kristina Sojakova $(GENRULECALL) -i Common.ATerm.ConvInstances -o $@ $(FreeCAD_files)
79834070d6d3c63a098e570b12fa3405c607dc70Kristina Sojakova
79834070d6d3c63a098e570b12fa3405c607dc70Kristina SojakovaOWL2/ATC_OWL2.der.hs: $(OWL2_files) $(GENRULES)
23b4e542dca35852f58d1fb3f7d9078c1de5ab06Christian Maeder $(GENRULECALL) -i ATC.Result -o $@ $(OWL2_files)
23b4e542dca35852f58d1fb3f7d9078c1de5ab06Christian Maeder
23b4e542dca35852f58d1fb3f7d9078c1de5ab06Christian MaederRDF/ATC_RDF.der.hs: $(RDF_files) $(GENRULES)
8a78868bae2ec6838c87366c35c57e109154c51eChristian Maeder $(GENRULECALL) -i ATC.Result -o $@ $(RDF_files)
8a78868bae2ec6838c87366c35c57e109154c51eChristian Maeder
8a78868bae2ec6838c87366c35c57e109154c51eChristian MaederCSMOF/ATC_CSMOF.der.hs: $(CSMOF_files) $(GENRULES)
624e6701e0deb7ac6c03c0cba0190fbc5033cf93Ewaryst Schulz $(GENRULECALL) -i Common.ATerm.ConvInstances -o $@ $(CSMOF_files)
624e6701e0deb7ac6c03c0cba0190fbc5033cf93Ewaryst Schulz
c2e192ace9ef7cfb0e59563f1b24477b2b65cff3Dominik DietrichQVTR/ATC_QVTR.der.hs: $(QVTR_files) CSMOF/ATC_CSMOF.hs $(GENRULES)
7165a916d2fa1bf87c4741ec63b253413eebbf69Karl Luc $(GENRULECALL) -i CSMOF.ATC_CSMOF -i Common.ATerm.ConvInstances \
7165a916d2fa1bf87c4741ec63b253413eebbf69Karl Luc -o $@ $(QVTR_files)
7165a916d2fa1bf87c4741ec63b253413eebbf69Karl Luc
01645eac73dbc789392674930adc5745c935f3a0Christian Maeder# all ATC .der.hs files for all logics
01645eac73dbc789392674930adc5745c935f3a0Christian Maederatc_logic_files = $(foreach logic, $(logics), $(logic)/ATC_$(logic).der.hs)
01645eac73dbc789392674930adc5745c935f3a0Christian Maeder
bff4b3f816be4c1e1d8ded76f1d5af786839e1a9Christian Maedergenerated_rule_files = $(atc_der_files) $(atc_logic_files)
bff4b3f816be4c1e1d8ded76f1d5af786839e1a9Christian Maeder
bff4b3f816be4c1e1d8ded76f1d5af786839e1a9Christian Maeder# a rule to create all .der.hs files
b5da047a9a875dec3f968b6c0df96af326f90fa9Alexis TsogiasgenRules: $(generated_rule_files)
fc09e0a6af734edbd944dd8082bb51985c233b43Alexis Tsogias
b5da047a9a875dec3f968b6c0df96af326f90fa9Alexis Tsogias# the final ATC target files created by DriFT
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst Schulzgendrifted_files = $(patsubst %.der.hs, %.hs, $(generated_rule_files))
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst Schulz
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)
18d370f8341357f5d6a4068f4bb6981173ece70fFelix Gabriel Mance
7834a982096d93301a4626f444dd9ea5f9fe17eaChristian Maeder####################################################################
ed1b8e97e72b2e3e92edaf2eb22a4b5373d705f1Felix Gabriel Mance### targets
ed1b8e97e72b2e3e92edaf2eb22a4b5373d705f1Felix Gabriel Mance
0a03acf9fa28e6ff00f4d7c9c6acbae64cf09c56Ewaryst Schulz.NOTPARALLEL : genRules
4b4a0b61b72cf8478a5d4d5002bca9f699401363Christian 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
d62661e54e2662d53b583ae48609f5037701078dcmaeder
9f226cec9f978edaba67aee4c4e04e3d3b994b87Daniel Calegari.FORCE :
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa.SECONDARY : %.hs %.d $(generated_rule_files)
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder# dummy target to force ghc invocation
c70ef4c3b3a62764f715510c9fd67dde3acfe454Christian Maedercallghc:
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maeder
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maederhets-opt:
8b0f493ae42bad8b94918cc0957f1af57096cda4Felix Reckers $(MAKE) distclean
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(MAKE) derivedSources
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(MAKE) clean
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder $(MAKE) hets-optimized
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maederhets-optimized: $(derived_sources)
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder $(HC) --make -O -o hets hets.hs $(HC_OPTS)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
60e6795dd310e10194e12bb660575aadf941328bEugen Kuksacgi:
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maeder $(MAKE) distclean
360ce9b5c746ac021944db12eb26e3df2697b8c7Christian Maeder $(MAKE) derivedSources
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(MAKE) clean
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(MAKE) hets.cgi
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerhets.cgi: GUI/hets_cgi.hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner ghc --make GUI/hets_cgi.hs -o $@ $(HC_OPTS) -O
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# Documentation via haddock
961087225d1d2b9534152a346d1a3755ed952fcdJens Elknerdoc: docs/index.html
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
60e6795dd310e10194e12bb660575aadf941328bEugen KuksaHADDOCK_INTERFACES = $(shell find `ghc --print-libdir`/../.. -name \*.haddock)
857992065be4ed40a72c6296b6c0aec62ab4c5b9Christian Maeder
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerHAD_INTS = $(foreach file, $(HADDOCK_INTERFACES),\
ddbf07996361d7e88cf23858a8f85595fa493514Jonathan von Schroeder -i http://hackage.haskell.org/packages/archive/$(basename $(notdir $(file)))/latest/doc/html,$(file))
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
7c99e334446bb97120e30e967baeeddfdd1278deKlaus LuettichHADDOCK_OPTS = $(addprefix --optghc=, $(HC_OPTS))
f5c9b1e739228c2a2edf055ac419583412569683Christian Maederdocs/index.html:
f5c9b1e739228c2a2edf055ac419583412569683Christian Maeder $(RM) -r docs
f5c9b1e739228c2a2edf055ac419583412569683Christian Maeder mkdir docs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(HADDOCK) -o docs -h -s ../%F $(HAD_INTS) \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner -t 'Hets - the Heterogeneous Tool Set' \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner -p Hets-Haddock-Prologue.txt $(HADDOCK_OPTS) \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(filter-out Scratch.hs, $(wildcard *.hs))
fa21fba9ceb1ddf7b3efd54731a12ed8750191d8Christian Maeder
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerderivedSources: $(derived_sources)
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerdeps: .FORCE $(derived_sources)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(HC) -M -dep-makefile Makefile.deps hets.hs $(HC_OPTS)
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner cat Makefile.deps | grep .hs | awk '{print $$3}' > deps
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
961087225d1d2b9534152a346d1a3755ed952fcdJens Elknercompile_in_steps: deps
011156728d0d9ae2a044ce2d01e62228720b1aa2cmaeder cat deps | xargs -L 200 $(HC) --make -odir=.objs $(HC_OPTS)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner$(DRIFT): $(DRIFT_deps)
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner (cd utils/DrIFT-src; $(HC) --make DrIFT.hs -o ../DrIFT)
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner$(DTD2HS): $(DTD2HS_deps) utils/DtdToHaskell-src/DtdToHaskell.hs
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner mkdir -p utils/DtdToHaskell-src/DtdToHaskell
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner cp -f $(DTD2HS_deps) utils/DtdToHaskell-src/DtdToHaskell
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(HC) --make -iutils/DtdToHaskell-src \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner utils/DtdToHaskell-src/DtdToHaskell.hs -o $@ $(HC_OPTS)
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
961087225d1d2b9534152a346d1a3755ed952fcdJens ElknerIsabelle/IsaExport.hs: $(DTD2HS) Isabelle/IsaExport.dtd
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner ($(DTD2HS) Isabelle/IsaExport.dtd Isabelle/IsaExport.hs Isabelle.)
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner$(GENRULES): $(DRIFT) $(GENERATERULES_deps)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner (cd utils/GenerateRules; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(HC) --make -i../DrIFT-src -i../.. $(HC_WARN) \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner GenerateRules.hs -o ../genRules)
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
961087225d1d2b9534152a346d1a3755ed952fcdJens Elknerutils/appendHaskellPreludeString: utils/appendHaskellPreludeString.hs
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(HC) --make -o $@ $<
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
fa21fba9ceb1ddf7b3efd54731a12ed8750191d8Christian Maeder# release management
961087225d1d2b9534152a346d1a3755ed952fcdJens Elknerrelease:
c7ec85d1103173e089aa5048fd7afb2f9b505124Klaus Luettich $(RM) -r Hets
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner git clone --depth=50 $(HETSBRANCH) https://github.com/spechub/Hets
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner (cd Hets; $(MAKE) derivedSources; $(MAKE) clean; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner cp Makefile Makefile.orig; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner cp ReleaseMakefile Makefile; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner ./clean.sh; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(RM) clean.*; utils/replaceAllHeaders.sh)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(TAR) cf Hets.tar Hets
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# Common/LaTeX_maps.hs generation
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerutils/genItCorrections: $(GENITCORRECTIONS_deps)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(HC) --make -o $@ $<
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
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"
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### clean up
0a5571c8adeddd27548445546491725beb224dddChristian Maederclean_genRules:
0a5571c8adeddd27548445546491725beb224dddChristian Maeder $(RM) $(generated_rule_files) $(gendrifted_files) \
0a5571c8adeddd27548445546491725beb224dddChristian Maeder $(hs_clean_files)
0a5571c8adeddd27548445546491725beb224dddChristian Maeder
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerclean: bin_clean o_clean clean_pretty clean_javastuff
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner### removes all *.o, *.hi and *.p_o files in all subdirectories
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknero_clean:
e642ad0e782f9bb9ba310164358220402eec8cd8Christian Maeder find . -name \*.o -o -name \*.hi -o -name \*.p_o \
f38b3687c5558128515e34fb85d8b466d22dc300Christian Maeder -o -name \*.dyn_hi -o -name \*.dyn_o \
f38b3687c5558128515e34fb85d8b466d22dc300Christian Maeder -o -name \*.exe -o -name \*.exe.manifest | xargs $(RM)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### remove binaries
ddbf07996361d7e88cf23858a8f85595fa493514Jonathan von Schroederbin_clean:
ddbf07996361d7e88cf23858a8f85595fa493514Jonathan von Schroeder $(RM) hets
aebb0b18fe5e6ba7dd7e4c66a16a905611ef7ba9Christian Maeder $(RM) hets.cgi
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(RM) $(TESTTARGETS)
ac0bbbcb2774629bb87986e69cf53d3402c5f575Christian Maeder
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroederclean_pretty:
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(RM) pretty/*.c.* pretty/*.h.* pretty/gen_it_* \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner pretty/generated_words.tex
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(RM) test/*/*.{thy,pp.het,pp.tex,th,dfg.c,xml,log,dvi,aux,sty}
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(RM) test/*/log
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder $(RM) ToHaskell/test/*.{out,output}
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder $(RM) */test/temp*
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(RM) doc/UserGuide.{log,aux,bbl,blg,out,pdf}
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder
aebb0b18fe5e6ba7dd7e4c66a16a905611ef7ba9Christian Maederclean_javastuff:
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(RM) OWL2/*.jar OWL2/java/lib/*.jar
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(RM) -r OWL2/java/build OWL2/lib
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
ac0bbbcb2774629bb87986e69cf53d3402c5f575Christian Maeder### additionally removes the library files
1dfba1f850f6a43094962b459998d1ea11472461Christian Maederreal_clean: clean
1dfba1f850f6a43094962b459998d1ea11472461Christian Maeder
1dfba1f850f6a43094962b459998d1ea11472461Christian Maeder### additionally removes generated files not in the repository tree
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maederdistclean: clean clean_genRules
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus Luettich $(RM) $(derived_sources)
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus Luettich $(RM) utils/appendHaskellPreludeString
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus Luettich $(RM) utils/DrIFT utils/genRules
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus Luettich $(RM) $(DTD2HS)
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus Luettich $(RM) -r utils/DtdToHaskell-src/DtdToHaskell
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(RM) utils/genItCorrections pretty/LaTeX_maps.hs pretty/words.pl.log
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(RM) -r docs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### interactive
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerghci: $(derived_sources)
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus Luettich ghci $(HC_OPTS)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
ab4256496e72886018b78571057331f373da6883Eugen Kuksa### build only, don't link
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen Kuksabuild: hets.hs
ab4256496e72886018b78571057331f373da6883Eugen Kuksa $(HC) --make -c $< $(HC_OPTS)
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### Kif parser
a80c28bb8b7a23ccdf7e08d0fe216fc19cc97273Klaus LuettichfromKif: CASL/fromKif
91432c9a2d813a8322dea3a3f54924c796897f09Eugen Kuksa
91432c9a2d813a8322dea3a3f54924c796897f09Eugen Kuksa### Annos parser
a80c28bb8b7a23ccdf7e08d0fe216fc19cc97273Klaus Luettichannos: Common/annos
b09b9ccdfda2e80094a70dd29514ba42b2f6145eEugen Kuksa
b09b9ccdfda2e80094a70dd29514ba42b2f6145eEugen Kuksa### CASL parser
91432c9a2d813a8322dea3a3f54924c796897f09Eugen Kuksacapa: CASL/capa
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder### HasCASL parser
b9625461755578f3eed04676d42a63fd2caebd0cChristian Maederhacapa: HasCASL/hacapa
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### Haskell analysis
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerhana: Haskell/hana
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### Haskell to Isabelle-HOLCF translation
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerh2hf: Haskell/h2hf
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerHaskell/h2hf: Haskell/h2hf.hs Haskell/*.hs Isabelle/*.hs Common/*.hs \
b1f59a4ea7c96f4c03a4d7cfcb9c5e66871cfbbbChristian Maeder Common/Lib/*.hs Comorphisms/*.hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(HC) -O --make -o $@ $< $(HC_OPTS)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### HasCASL to Haskell translation
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerh2h: Haskell/h2h
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner### test program to check the known provers
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknershowKP: Comorphisms/test/showKP
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
62f5e02856861853dcc9ffb8c0a688835eb729aeJens Elkner### run tests in other directories
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknercheck: $(TESTTARGETS)
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus Luettich for i in $(TESTDIRS); do $(MAKE) -C $$i check; done
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner## Preparing the version of Hets
1365c420ef71be3d52796ebd369dc2defdedc822Christian MaederDriver/Version.hs: Driver/Version.in version_nr rev.txt
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner $(RM) $@
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner cp Driver/Version.in $@
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner echo " ++ \"$(shell cat version_nr), $(shell cat rev.txt)\"" >> $@
62f5e02856861853dcc9ffb8c0a688835eb729aeJens Elkner chmod 444 $@
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder
e420b3848a0e15a9e074b08c413996cbeb5ab06dChristian Maederrev.txt:
ab4256496e72886018b78571057331f373da6883Eugen Kuksa $(RM) $@
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner echo $(shell git log -1 --format=%ct) >> $@
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
961087225d1d2b9534152a346d1a3755ed952fcdJens Elknercheckversion:
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
961087225d1d2b9534152a346d1a3755ed952fcdJens ElknerATC/DevGraph.hs: Static/DevGraph.hs
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
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
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner$(CASL_DEPENDENT_BINARIES): $(derived_sources)
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner## suffix rules
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner.SUFFIXES:
e284004f10a315dbdb624c8b2522f65d485eaa48Martin Kühl
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder## rule for GHC
50515239e7e190f4a34ca581dd685d002148fbddChristian Maeder%: %.hs callghc
50515239e7e190f4a34ca581dd685d002148fbddChristian Maeder $(HC) --make -o $@ $< $(HC_OPTS)
0b349288edfa50fdf38fda1a14e1562d03f92574Christian Maeder
0b349288edfa50fdf38fda1a14e1562d03f92574Christian Maeder## rule for DrIFT
0b349288edfa50fdf38fda1a14e1562d03f92574Christian Maeder%.hs: %.der.hs $(DRIFT)
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder $(RM) $@
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder ($(DRIFT_ENV); export DERIVEPATH; $(DRIFT) $< > $@)
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder chmod 444 $@
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder## compiling rules for object and interface files
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder%.o %.hi: %.hs
8b4c68db8b465107cabef8b9cd5b6bc216e1b156Till Mossakowski $(HC) -c $< $(HC_OPTS)
8b4c68db8b465107cabef8b9cd5b6bc216e1b156Till Mossakowski
8b4c68db8b465107cabef8b9cd5b6bc216e1b156Till Mossakowski%.o %.hi: %.lhs
bcaf979d9babe6346aa343687aa7d596e2894cccPaolo Torrini $(HC) -c $< $(HC_OPTS)
df29370ae8d8b41587957f6bcdcb43a3f1927e47Christian Maeder
bcaf979d9babe6346aa343687aa7d596e2894cccPaolo Torrini## compiling rules for dependencies
5ce19352a9cc47d982819cc889a71cd0a61ac171Christian Maeder%.d : %.hs
5ce19352a9cc47d982819cc889a71cd0a61ac171Christian Maeder $(HC) -M $< $(HC_OPTS) -optdep-f -optdep$@
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
bcaf979d9babe6346aa343687aa7d596e2894cccPaolo Torrini%.d : %.lhs
23ab8855c58adfbd03a0730584b917b24c603901Christian Maeder $(HC) -M $< $(HC_OPTS) -optdep-f -optdep$@
df29370ae8d8b41587957f6bcdcb43a3f1927e47Christian Maeder
23ab8855c58adfbd03a0730584b917b24c603901Christian Maeder## Rule to generate hs files from glade files. Needed for GTK
e50e41135ece589f7202bd4ef8d6b97531c2a56eKlaus Luettich%.hs: %.glade utils/appendHaskellPreludeString \
47b0e9f3cb008cb7997f4e3bae26e4d62dcc887aChristian Maeder GUI/Glade/Template.append.hs
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder b=`basename $< .glade`; \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder cat GUI/Glade/Template.append.hs | sed "s/\%s/$$b/" | \
431d34c7007a787331c4e5ec997badb0f8190fc7Christian Maeder utils/appendHaskellPreludeString $< > $@
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# directory for installers
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerINSTALLER_DIR = ../installers
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elknerifeq ($(strip $(HETS_VERSION)),)
9096f6c6aaded6cd8288656ceccd4c7b3bd0747eChristian MaederHETS_VERSION := `cat version_nr`
9096f6c6aaded6cd8288656ceccd4c7b3bd0747eChristian Maeder# or `date +%F`
e112e83352048f3db8c8f93ae104193e7338c10fChristian Maederendif
e112e83352048f3db8c8f93ae104193e7338c10fChristian Maeder
e62d49c0dc2893da75faad896bd135e2e9a7087bKlaus Luettich# prepare installer creation
e62d49c0dc2893da75faad896bd135e2e9a7087bKlaus Luettichinitialize_installer:
e62d49c0dc2893da75faad896bd135e2e9a7087bKlaus Luettich mkdir -p $(INSTALLER_DIR)
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder sed "s/^\(HETS_VERSION =\).*/\1$(HETS_VERSION)/" Makefile.installer \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner > $(INSTALLER_DIR)/Makefile
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder @echo Please do
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder @echo " -> cd $(INSTALLER_DIR)"
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maeder @echo " -> make"
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder @echo and wait until it is finished
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder
f8597aabc9db75dcf504e3151faf220a165c90d1Eugen Kuksa# check out java parts for OWL
961087225d1d2b9534152a346d1a3755ed952fcdJens Elknerowl_java:
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner $(RM) -r OWL2/java/OwlApi
c72c1e75a969ff4c336e77481c2a8e42603f13eeChristian Maeder svn export -q \
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder --non-interactive \
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder --trust-server-cert \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner https://github.com/owlcs/owlapi/tags/owlapi-parent-3.4.8 \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder OWL2/java/OwlApi
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maederinitialize_java: owl_java
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner ant -q init
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maederjava-libs:
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner ant -q java-libs
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maederjava-files:
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder ant -q java-files
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maederjava-clean:
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder ant -q java-clean
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner
1a6464613c59e35072b90ca296ae402cbe956144Christian Maeder# download dependencies for RDF Jena-api
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maederrdf_java:
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder mkdir -p RDF/java/lib
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 else \
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; \
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder fi
f78ce817f35574674d54e30ad1861a9b4ced20caChristian Maeder if [ -f RDF/java/lib/icu4j-3.4.4.jar ]; then \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner echo "File icu4j-3.4.4.jar already exists"; \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner else \
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 fi
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner if [ -f RDF/java/lib/iri-0.8.jar ]; then \
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner echo "File iri-0.8.jar already exists"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner else \
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 fi
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner if [ -f RDF/java/lib/jena-2.6.4.jar ]; then \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner echo "File jena-2.6.4.jar already exists"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner else \
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 fi
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner if [ -f RDF/java/lib/junit-4.5.jar ]; then \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner echo "File junit-4.5.jar already exists"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner else \
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 fi
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner if [ -f RDF/java/lib/log4j-1.2.13.jar ]; then \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner echo "File log4j-1.2.13.jar already exists"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner else \
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 fi
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"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner else \
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 fi
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 else \
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 fi
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 else \
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 fi
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"; \
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner else \
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 fi
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"; \
b446bf54c1dc78690aa12e86aadc49cdd8585847Christian Maeder else \
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 fi
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 else \
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; \
60e6795dd310e10194e12bb660575aadf941328bEugen Kuksa fi
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# download rdf4h, unpack and install
961087225d1d2b9534152a346d1a3755ed952fcdJens Elknerrdf4h:
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner cabal install http://protempore.net/rdf4h/rdf4h-0.6.1.tar.gz
961087225d1d2b9534152a346d1a3755ed952fcdJens Elkner# DO NOT DELETE: Beginning of Haskell dependencies
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerCSMOF/CSMOF/As.o : CSMOF/As.hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerCSMOF/CSMOF/Test_As.o : CSMOF/Test_As.hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens ElknerCSMOF/CSMOF/Test_As.o : CSMOF/As.hi
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner#QVTR/QVTR/As.o : QVTR/As.hs
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner# DO NOT DELETE: End of Haskell dependencies
a84a8d508a0778b13a4d097a6dd34b95feae78acJens Elkner