Makefile revision 05a206508bc898f87fe6ab6e069814df3c29d303
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync# Author: (c) Klaus L�ttich, Christian Maeder, Uni Bremen 2002-2005
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync# Year: 2004
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync# This Makefile will compile the new hets system and provides also
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync# targets for test programs during implementation phases.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync# !!! Note: This makefile is written for GNU make !!!
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync# (gmake on solaris)
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync####################################################################
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync## Some varibles, which control the compilation
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncHAIFA_PATHS = Network Network/Server Org Org/W3 Org/W3/N2001 \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync Org/Xmlsoap Org/Xmlsoap/Schemas Org/Xmlsoap/Schemas/Soap \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync Text Text/XML Text/XML/HXT Text/XML/Schema Text/XML/Schema/TypeMapper \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync utils utils/DrIFT-src utils/GenerateRules utils/InlineAxioms Common \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync Common/Lib Common/ATerm Logic CASL CASL/CCC CASL/CompositionTable \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync Syntax Static GUI HasCASL Haskell Modal CoCASL COL ConstraintCASL \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync CspCASL ATC Proofs Comorphisms Isabelle Driver Modifications \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync Taxonomy CASL_DL SoftFOL OWL OMDoc PGIP Propositional RelationalScheme \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync# the 'replacing spaces' example was taken from the (GNU) Make info manual
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncDRIFT_ENV = DERIVEPATH=$(subst $(space),:,$(PFE_PATHS))
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync# override on commandline for other architectures
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync /home/www/agbkb/forschung/formal_methods/CoFI/hets/`utils/sysname.sh`
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncGENERATERULES_deps = utils/GenerateRules/*hs $(DRIFT_deps)
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncGENITCORRECTIONS_deps = utils/itcor/GenItCorrections.hs
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncINLINEAXIOMS_deps = utils/InlineAxioms/InlineAxioms.hs \
(cd ../programatica/tools; \
$@.hs -o $@
strip $@
$(RM) $@
$(APPENDPRELUDESTRING) < $< > $@
#Ti_Prop_files = property/TI/TiPropDecorate property/syntax/PropSyntaxRec
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
cpp_sources = \
$(wildcard utils/GenerateRules/*.hs) \
$(wildcard utils/InlineAxioms/*.hs) \
$(RM) $@
cgi:
(cd utils/GenerateRules; \
GenerateRules.hs -o ../genRules && strip ../genRules)
-i../.. -o $(INLINEAXIOMS)
if [ -d ../programatica ] ; then \
./clean.sh; \
### Common/LaTeX_maps.hs generation
strip $@
@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