Makefile revision 80875f917d741946a39d0ec0b5721e46ba609823
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Authors: (c) Klaus Luettich, Christian Maeder, Uni Bremen 2002-2009
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Jens Elkner, Uni Magdeburg 2016
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# This GNU Makefile will compile the hets system and provides also
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# targets for test programs during implementation phases.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl -fwarn-unrecognised-pragmas -fno-warn-orphans $(NO_BIND_WARNING)
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# uncomment HC_PROF for profiling (and comment out packages in var.mk)
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# call resulting binary with a final +RTS -p to get a file <binary>.prof
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#HC_PROF := -prof -auto-all -osuf p_o +RTS -K100m -RTS
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# -ddump-minimal-imports
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# uncomment the above line to generate .imports files for displayDependencyGraph
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# *.bin variants here to let them survive a 'make clean'
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Documentation (no haddock stuff, i.e. "docs/index.html", since developer can
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# generated it on demand by themselves and other users dont't need it). Other
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# papers (doc/*.pdf) are already pre-generated.
empty =
-i ATerm.Lib
$(APPENDPRELUDESTRING) < $< > $@
#Ti_Prop_files = property/TI/TiPropDecorate property/syntax/PropSyntaxRec
-o $@ $(Haskell_files)
# the rules to create ATC .der.hs file for DriFT
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL2) -o $@ $<
-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)