Makefile revision 79834070d6d3c63a098e570b12fa3405c607dc70
ea1a228c80597366447774aa1988868492330eb5schwartz# Author: (c) Klaus Luettich, Christian Maeder, Uni Bremen 2002-2009
ea1a228c80597366447774aa1988868492330eb5schwartz# This Makefile will compile the hets system and provides also
ea1a228c80597366447774aa1988868492330eb5schwartz# targets for test programs during implementation phases.
ea1a228c80597366447774aa1988868492330eb5schwartz# !!! Note: This makefile is written for GNU make !!!
ea1a228c80597366447774aa1988868492330eb5schwartz# (gmake on solaris)
ea1a228c80597366447774aa1988868492330eb5schwartz# the 'replacing spaces' example was taken from the (GNU) Make info manual
ea1a228c80597366447774aa1988868492330eb5schwartzDRIFT_ENV = DERIVEPATH=$(subst $(space),:,$(PFE_PATHS))
ea1a228c80597366447774aa1988868492330eb5schwartzGENERATERULES_deps = utils/GenerateRules/*hs $(DRIFT_deps)
ea1a228c80597366447774aa1988868492330eb5schwartzGENITCORRECTIONS_deps = utils/itcor/GenItCorrections.hs
ea1a228c80597366447774aa1988868492330eb5schwartzINLINEAXIOMS_deps = utils/InlineAxioms/InlineAxioms.hs \
ea1a228c80597366447774aa1988868492330eb5schwartz Modal/Parse_AS.hs Modal/ModalSign.hs Modal/Print_AS.hs Modal/StatAna.hs
(cd ../programatica/tools; \
$@.hs -o $@
$(RM) $@
$(APPENDPRELUDESTRING) < $< > $@
#Ti_Prop_files = property/TI/TiPropDecorate property/syntax/PropSyntaxRec
# unset this variable from var.mk because the programatica sources
# uncomment HC_PROF for profiling (and comment out packages in var.mk)
# the rules to create ATC .der.hs file for DriFT
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL2) -o $@ $<
# all ATC .der.hs files for all logics
# a rule to create all .der.hs files
# files to be processed by utils/InlineAxioms
cgi:
(cd utils/GenerateRules; \
GenerateRules.hs -o ../genRules)
-i../.. -o $(INLINEAXIOMS)
if [ -d ../programatica ] ; then \
./clean.sh; \
# Common/LaTeX_maps.hs generation
@echo -n "Generating pretty/LaTeX_maps.hs ... "
@(cd pretty >/dev/null; ../utils/genItCorrections \
$(RM) $@
## two hardcoded dependencies for a correct generation of Version.hs
.SUFFIXES:
%.hs: %.y
$(RM) $@
$(RM) $@
$(INLINEAXIOMS) $< > $@
%.d : %.hs
%.d : %.lhs
$(RM) $@
$(RM) $@
$(PERL) $+ > $@
## rule for Modal/ModalSystems.hs needed for ModalLogic Translation
# uses intransparently utils/outlineAxioms
$(RM) $@
@echo Please do