Makefile revision 7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7f
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Authors: (c) Klaus Luettich, Christian Maeder, Uni Bremen 2002-2009
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Jens Elkner, Uni Magdeburg 2016
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# This GNU Makefile will compile the hets system and provides also
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# targets for test programs during implementation phases.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringNO_BIND_WARNING := -fno-warn-unused-do-bind
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering -fwarn-unrecognised-pragmas -fno-warn-orphans $(NO_BIND_WARNING)
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# uncomment HC_PROF for profiling (and comment out packages in var.mk)
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# call resulting binary with a final +RTS -p to get a file <binary>.prof
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering#HC_PROF := -prof -auto-all -osuf p_o +RTS -K100m -RTS
1b00a255225bd65bcc3f6257bd4b1e2089f231b4Tollef Fog Heen# -ddump-minimal-imports
e99e38bbdcca3fe5956823bdb3d38544ccf93221Lennart Poettering# uncomment the above line to generate .imports files for displayDependencyGraph
1b322bdb2a147e999c3861cba8a6b3ac0f3b712aTollef Fog Heen# *.bin variants here to let them survive a 'make clean'
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Documentation (no haddock stuff, i.e. "docs/index.html", since developer can
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# generated it on demand by themselves and other users dont't need it). Other
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# papers (doc/*.pdf) are already pre-generated.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Upgrade haskell-stack
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Create the build environment
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering $(STACK) build --install-ghc --only-dependencies $(STACK_DEPENDENCIES_FLAGS)
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringSED := $(shell [ "$(OSNAME)" = 'SunOS' ] && printf 'gsed' || printf 'sed')
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringTAR := $(shell [ "$(OSNAME)" = 'SunOS' ] && printf 'gtar' || printf 'tar')
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringINSTALL := $(shell [ "$(OSNAME)" = 'SunOS' ] && printf 'ginstall' || printf 'install')
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering -e '/^hetsVersionNumeric =/ { s/.*"\([^"]*\)".*/\1/; p; q; }' \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering# indicate, whether working on an exported repo
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringEXPORTED := $(shell [ -d .git ] || printf 1)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering# the 'replacing spaces' example was taken from the (GNU) Make info manual
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringGENERATERULES_deps = utils/GenerateRules/*hs $(DRIFT_deps)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringGENITCORRECTIONS_deps = utils/itcor/GenItCorrections.hs
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringGENRULECALL = $(GENRULES) -r ShATermConvertible \
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart PoetteringDTD2HS_src = utils/DtdToHaskell-src/pre-1.22/
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart PoetteringDTD2HS_src = utils/DtdToHaskell-src/current/
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# list glade files
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringGTK_GLADE_FILES = $(wildcard GUI/Glade/*.glade)
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringGTK_GLADE_HSFILES = $(subst .glade,.hs,$(GTK_GLADE_FILES))
e1ce2c2782015579f042d4d6963ed039333fb8c2Lennart Poettering# the list of logics that need ShATermConvertible instances
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poetteringlogics = CASL HasCASL Isabelle Modal Hybrid TopHybrid Temporal \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering SoftFOL ConstraintCASL Propositional RelationalScheme VSE OMDoc DFOL \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering LF Framework Maude ExtModal CommonLogic CSL QBF Adl HolLight Fpl THF \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringTESTTARGETFILES += Scratch.hs CASL/fromKif.hs CASL/capa.hs HasCASL/hacapa.hs \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering Haskell/wrap.hs Isabelle/isa.hs Syntax/hetpa.hs \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering ATC/ATCTest.hs ATC/ATCTest2.hs Common/ATerm/ATermLibTest.hs \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering Common/ATerm/ATermDiffMain.hs Common/annos.hs \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering SoftFOL/tests/PrintTPTPTests.hs Comorphisms/test/showKP.hs \
53f7d807bff9c39e9e565ad2fb20f29b4306af40Lennart Poettering Comorphisms/test/sublogicGraph.hs PGIP/ParseProofScript.hs \
53f7d807bff9c39e9e565ad2fb20f29b4306af40Lennart Poettering Common/testxupdate.hs Common/testxpath.hs \
53f7d807bff9c39e9e565ad2fb20f29b4306af40Lennart Poettering SoftFOL/dfg.hs Adl/adl.hs GUI/displayDependencyGraph.hs
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering### list of directories to run checks in
0213c3f8102bdc934c629d11a44ca0b408762287Lennart PoetteringTESTDIRS += Common CASL Fpl/test HasCASL test ExtModal/Tries \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringhs_clean_files = Haskell/TiATC.hs Haskell/TiDecorateATC.hs \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering Haskell/TiPropATC.hs Haskell/ATC_Haskell.der.hs
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart PoetteringPFE_TOOLDIR := $(wildcard $(dir $(PFE_SETUP)))
0213c3f8102bdc934c629d11a44ca0b408762287Lennart PoetteringPFE_DIRS := base/AST base/TI base/parse2 base/parse2/Lexer base/parse2/Parser \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering base/parse2/LexerGen base/parse2/LexerSpec base/tests/HbcLibraries \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering base/pretty base/syntax base/lib base/lib/Monads base/Modules base/defs \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering base/transforms base/transforms/Deriving property \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering property/syntax property/AST property/transforms \
812cce323db081634f37e4ec6d29f2b9328a3f52Lennart Poettering property/TI property/defs property/parse2 property/parse2/Parser
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart PoetteringPFE_PATHS := $(addprefix $(PFE_TOOLDIR)/, $(PFE_DIRS))
0213c3f8102bdc934c629d11a44ca0b408762287Lennart PoetteringDRIFT_ENV := DERIVEPATH=$(subst $(space),:,$(PFE_PATHS))
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poetteringderived_sources += Haskell/PreludeString.hs
0213c3f8102bdc934c629d11a44ca0b408762287Lennart PoetteringAPPENDPRELUDESTRING = utils/appendHaskellPreludeString \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering## rule for appendHaskellPreludeString
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart PoetteringHaskell/PreludeString.hs: Haskell/PreludeString.append.hs \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart PoetteringAst_Haskell_files = HsDeclStruct HsExpStruct HsFieldsStruct \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering HsGuardsStruct HsKindStruct HsPatStruct HsTypeStruct HsAssocStruct \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering#Ti_Haskell_files = TiTypes TiKinds TiDecorate TiInstanceDB
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering#Ti_Prop_files = property/TI/TiPropDecorate property/syntax/PropSyntaxRec
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart PoetteringOther_PFE_files := property/AST/HsPropStruct base/defs/PNT \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering base/defs/UniqueNames base/Modules/TypedIds base/Modules/Ents \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering base/parse2/SourceNames base/syntax/SyntaxRec \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering $(addprefix $(PFE_TOOLDIR)/base/AST/, $(Ast_Haskell_files)) \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering $(addprefix $(PFE_TOOLDIR)/, $(Other_PFE_files)))
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering## rule for ATC generation
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart PoetteringHaskell/ATC_Haskell.der.hs: $(Haskell_files) $(GENRULES)
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering $(GENRULECALL) -r Typeable -i Data.Typeable -i Haskell.BaseATC \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart PoetteringTESTTARGETFILES += Haskell/hana.hs Haskell/h2h.hs Haskell/h2hf.hs
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer# end of programatica stuff (PFE_FLAGS)
a9b5b03212f9c854938483b8901e433c2ba6619bMichael TremerTESTTARGETS := $(subst .hs,,$(TESTTARGETFILES))
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer# files generated by DriFT
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer CASL/AS_Basic_CASL.hs Modal/AS_Modal.hs Hybrid/AS_Hybrid.hs TopHybrid/AS_TopHybrid.hs \
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer Syntax/AS_Structured.hs Syntax/AS_Architecture.hs Syntax/AS_Library.hs \
e12891f70c264683f4f2b99dd6c535c73f1d26a5Robert Gerus CspCASL/AS_CspCASL_Process.hs CspCASL/AS_CspCASL.hs \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering RelationalScheme/AS.hs ATC/Grothendieck.hs \
42e39f0b326d27f6392a81a7400f9af7cf0af3abLennart Poettering ExtModal/AS_ExtModal.hs QBF/AS_BASIC_QBF.hs \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering CommonLogic/AS_CommonLogic.hs Fpl/As.hs \
5e6afdd3d359fc42de7ac432243e98673577e81fLennart Poettering# files to extract data types from to generate ShATermConvertible instances
5e6afdd3d359fc42de7ac432243e98673577e81fLennart Poetteringatc_files = Common/AS_Annotation.der.hs Common/DefaultMorphism.hs \
9f2c5942e1e10099027f0da438aafdd9f40440baLennart Poettering Syntax/AS_Structured.der.hs Syntax/AS_Architecture.der.hs \
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering Common/GlobalAnnotations.hs Syntax/AS_Library.der.hs \
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering Logic/Prover.hs Common/LibName.hs Common/ExtSign.hs \
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering Common/Consistency.hs Common/ProofTree.hs \
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering Static/DgUtils.hs Static/XGraph.hs Static/DevGraph.hs \
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering Common/Id.hs Common/Result.hs Common/OrderedMap.hs \
d7c114c00030309435fc56c77c8578a25d228ebeDave Reisner# files generated by genRules as input for DriFT
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm Studd ATC/$(basename $(basename $(notdir $(file)))).der.hs)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering# the rules to create ATC .der.hs file for DriFT
34eff652cedec3cac34b92629ead5f140334b689Lennart PoetteringATC/Result.der.hs: Common/Result.hs $(GENRULES)
34eff652cedec3cac34b92629ead5f140334b689Lennart PoetteringATC/OrderedMap.der.hs: Common/OrderedMap.hs $(GENRULES)
12e84679cc81cdf5f042540e54131a0ce37147adLennart PoetteringATC/Graph.der.hs: Common/Lib/Graph.hs $(GENRULES)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringATC/ProofTree.der.hs: Common/ProofTree.hs $(GENRULES)
34eff652cedec3cac34b92629ead5f140334b689Lennart PoetteringATC/AS_Annotation.der.hs: Common/AS_Annotation.der.hs $(GENRULES)
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering $(GENRULECALL) -i ATC.IRI -i Common.ATerm.ConvInstances -o $@ $<
34eff652cedec3cac34b92629ead5f140334b689Lennart PoetteringATC/Consistency.der.hs: Common/Consistency.hs $(GENRULES)
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering $(GENRULECALL) -x Common.Consistency.ConservativityChecker -o $@ $<
34eff652cedec3cac34b92629ead5f140334b689Lennart PoetteringATC/LibName.der.hs: Common/LibName.hs $(GENRULES)
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering $(GENRULECALL) -i ATC.IRI -i Common.ATerm.ConvInstances -o $@ $<
34eff652cedec3cac34b92629ead5f140334b689Lennart PoetteringATC/ExtSign.der.hs: Common/ExtSign.hs $(GENRULES)
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering $(GENRULECALL) -i Common.ATerm.ConvInstances -o $@ $<
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart PoetteringATC/DefaultMorphism.der.hs: Common/DefaultMorphism.hs $(GENRULES)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringATC/AS_Structured.der.hs: Syntax/AS_Structured.der.hs $(GENRULES)
634826b51b074b2e6d9314031bdd9abdcf862b54Pavol RusnakATC/AS_Architecture.der.hs: Syntax/AS_Architecture.der.hs $(GENRULES)
12e84679cc81cdf5f042540e54131a0ce37147adLennart Poettering $(GENRULECALL2) -i ATC.AS_Structured -o $@ $<
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringATC/AS_Library.der.hs: Syntax/AS_Library.der.hs $(GENRULES)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering $(GENRULECALL2) -i ATC.AS_Architecture -i ATC.LibName -o $@ $<
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart PoetteringATC/GlobalAnnotations.der.hs: Common/GlobalAnnotations.hs $(GENRULES)
12e84679cc81cdf5f042540e54131a0ce37147adLennart Poettering $(GENRULECALL) -i ATC.AS_Annotation -i ATC.Result -o $@ $<
d7c114c00030309435fc56c77c8578a25d228ebeDave Reisner $(GENRULECALL) -x Logic.Prover.ProverTemplate \
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart Poettering -i ATC.AS_Annotation -i ATC.OrderedMap -o $@ $<
12e84679cc81cdf5f042540e54131a0ce37147adLennart PoetteringATC/DgUtils.der.hs: Static/DgUtils.hs $(GENRULES)
d7c114c00030309435fc56c77c8578a25d228ebeDave Reisner $(GENRULECALL2) -i ATC.LibName -i ATC.Consistency -o $@ $<
12e84679cc81cdf5f042540e54131a0ce37147adLennart PoetteringATC/DevGraph.der.hs: Static/DevGraph.hs $(GENRULES)
f2b4af1cd4112df6ce56f8fc1e677639935e3d0eFabian Henze $(GENRULECALL2) -i ATC.XGraph -i ATC.AS_Library -o $@ $<
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm Studd# ATC files for every logic
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm StuddCASL_files = CASL/Sublogic.hs CASL/Morphism.hs CASL/Sign.hs \
12e84679cc81cdf5f042540e54131a0ce37147adLennart PoetteringHasCASL_files = Common/Prec.hs HasCASL/As.hs HasCASL/Le.hs HasCASL/Sublogic.hs
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenPropositional_files = Propositional/Sign.hs Propositional/Morphism.hs \
b6c2bf61c5de1bb0c4996b0be016d55877d9688cLennart Poettering Propositional/AS_BASIC_Propositional.hs Propositional/Symbol.hs \
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenHolLight_files = HolLight/Sentence.hs HolLight/Sign.hs \
b6c2bf61c5de1bb0c4996b0be016d55877d9688cLennart PoetteringQBF_files = Propositional/Sign.hs QBF/Morphism.hs \
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringRS_files = RelationalScheme/AS.hs RelationalScheme/Sign.hs
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringModal_files = Modal/AS_Modal.hs Modal/ModalSign.hs
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenHybrid_files = Hybrid/AS_Hybrid.hs Hybrid/HybridSign.hs
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenTopHybrid_files = TopHybrid/AS_TopHybrid.hs TopHybrid/TopHybridSign.hs
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenTemporal_files = Temporal/AS_BASIC_Temporal.hs Temporal/Sign.hs \
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenConstraintCASL_files = ConstraintCASL/AS_ConstraintCASL.hs
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenCoCASL_files = CoCASL/AS_CoCASL.hs CoCASL/CoCASLSign.hs
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenCspCASL_files = CspCASL/AS_CspCASL.hs CspCASL/AS_CspCASL_Process.hs \
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen CspCASL/SignCSP.hs CspCASL/SymbItems.hs CspCASL/Symbol.hs \
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenCASL_DL_files = CASL_DL/AS_CASL_DL.hs CASL_DL/Sign.hs CASL_DL/Sublogics.hs
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenDFOL_files = DFOL/AS_DFOL.hs DFOL/Sign.hs DFOL/Morphism.hs DFOL/Symbol.hs
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart PoetteringLF_files = LF/Sign.hs LF/Morphism.hs LF/AS.hs
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenMaude_files = Maude/Sign.hs Maude/Morphism.hs Maude/Sentence.hs \
d64b723a9e275ee4c6ccb947e3fd6ed6b3e4c359Lennart PoetteringExtModal_files = ExtModal/AS_ExtModal.hs ExtModal/ExtModalSign.hs \
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart Poettering ExtModal/MorphismExtension.hs ExtModal/Sublogic.hs
12e84679cc81cdf5f042540e54131a0ce37147adLennart PoetteringCSL_files = CSL/Sign.hs CSL/Morphism.hs CSL/AS_BASIC_CSL.hs CSL/Symbol.hs \
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringCommonLogic_files = CommonLogic/AS_CommonLogic.hs CommonLogic/Sign.hs \
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering CommonLogic/Symbol.hs CommonLogic/Morphism.hs CommonLogic/Sublogic.hs
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart PoetteringTHF_files = THF/As.hs THF/Cons.hs THF/Sign.hs THF/Sublogic.hs
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart PoetteringOWL2_files = OWL2/AS.hs OWL2/Symbols.hs OWL2/Sign.hs OWL2/MS.hs \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering OWL2/Morphism.hs OWL2/ProfilesAndSublogics.hs OWL2/Sublogic.hs \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart PoetteringRDF_files = RDF/AS.hs OWL2/AS.hs RDF/Symbols.hs RDF/Sign.hs RDF/Morphism.hs \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart PoetteringTPTP_files = TPTP/AS.hs TPTP/Sign.hs TPTP/Sublogic.hs
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering# ATC DrIFT-rule generation for logics
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart PoetteringCASL/ATC_CASL.der.hs: $(CASL_files) $(GENRULES)
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(CASL_files)
d122948d6fbaac4505cf14a08f1237daa89efdd0Lennart PoetteringRelationalScheme/ATC_RelationalScheme.der.hs: $(RS_files) $(GENRULES)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(RS_files)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringPropositional/ATC_Propositional.der.hs: $(Propositional_files) $(GENRULES)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(Propositional_files)
8c4a3079a7f358c179430d1aec59de8b670b5f6eLennart PoetteringQBF/ATC_QBF.der.hs: $(QBF_files) $(GENRULES)
8c4a3079a7f358c179430d1aec59de8b670b5f6eLennart Poettering $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(QBF_files)
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart PoetteringHolLight/ATC_HolLight.der.hs: $(HolLight_files) $(GENRULES)
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(HolLight_files)
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart PoetteringHasCASL/ATC_HasCASL.der.hs: $(HasCASL_files) $(GENRULES)
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering $(GENRULECALL) -i ATC.GlobalAnnotations -o $@ $(HasCASL_files)
8c4a3079a7f358c179430d1aec59de8b670b5f6eLennart PoetteringIsabelle/ATC_Isabelle.der.hs: $(Isabelle_files) $(GENRULES)
a45a909fbbe11ad8c75cda5639d875476ac65453Christian RuppertModal/ATC_Modal.der.hs: $(Modal_files) $(GENRULES)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Modal_files)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringHybrid/ATC_Hybrid.der.hs: $(Hybrid_files) $(GENRULES)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Hybrid_files)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringTopHybrid/ATC_TopHybrid.der.hs: $(TopHybrid_files) $(GENRULES)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering $(GENRULECALL) -i ATC.AS_Annotation -o $@ $(TopHybrid_files)
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart PoetteringTemporal/ATC_Temporal.der.hs: $(Temporal_files) $(GENRULES)
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(Temporal_files)
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart PoetteringConstraintCASL/ATC_ConstraintCASL.der.hs: $(ConstraintCASL_files) $(GENRULES)
8c4a3079a7f358c179430d1aec59de8b670b5f6eLennart Poettering $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(ConstraintCASL_files)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringCASL_DL/ATC_CASL_DL.der.hs: $(CASL_DL_files) $(GENRULES)
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CASL_DL_files)
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart PoetteringCoCASL/ATC_CoCASL.der.hs: $(CoCASL_files) $(GENRULES)
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering $(GENRULECALL) -i CASL.ATC_CASL -o $@ $(CoCASL_files)
-o $@ $(QVTR_files)
# all ATC .der.hs files for all logics
# a rule to create all .der.hs files
-i http://hackage.haskell.org/packages/archive/$(basename $(notdir $(file)))/latest/doc/html,$(file))
# Common/LaTeX_maps.hs generation
$(TESTTARGETS)
CommonLogic/TestData/*.{pp.het,th} Common/testxmldiff \
$(DTD2HS) \
.SUFFIXES:
%.d : %.hs
%.d : %.lhs
jars:
@if [ -e $(PFE_BASE) ]; then \
@if [ -e $(PFE_SETUP_FILE) ]; then \
# remove trailing .txz or .tar.xz
if [ -e $(USER_GUIDE) ]; then \
DEFAULT_DESTDIR := \
SUBDIR_common := \
SUBDIR_hets := \
SUBDIR_hets_server := \
# see OWL2/ProveFact.hs - it doesn't use OSGi so we need to extract JNI libs
X=`ls ../lib/uk.ac.manchester.cs.owl.factplusplus*.jar` ; \
%.bin:
# *.debian.tar.xz, for local packages we generate it on demand.
-l$(CHANGELOG)
-l$(CHANGELOG)
-l$(CHANGELOG)