Makefile revision 8b767d09a78927b111f5596fdff9ca7d2c1a439f
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen# Author: (c) Klaus L�ttich, Christian Maeder, Uni Bremen 2002-2005
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen# This Makefile will compile the new hets system and provides also
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen# targets for test programs during implementation phases.
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen# !!! Note: This makefile is written for GNU make !!!
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen# (gmake on solaris)
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen####################################################################
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen## Some varibles, which control the compilation
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo SirainenHAIFA_PATHS = Network Network/Server Org Org/W3 Org/W3/N2001 \
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen Org/Xmlsoap Org/Xmlsoap/Schemas Org/Xmlsoap/Schemas/Soap \
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen Text Text/XML Text/XML/HXT Text/XML/Schema Text/XML/Schema/TypeMapper \
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen utils utils/DrIFT-src utils/GenerateRules utils/InlineAxioms Common \
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen Common/Lib Common/ATerm Logic CASL CASL/CCC CASL/CompositionTable \
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen Syntax Static GUI HasCASL Haskell Modal CoCASL COL ConstraintCASL \
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen CspCASL ATC Proofs Comorphisms Isabelle Driver Modifications \
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen Taxonomy CASL_DL SoftFOL OWL OMDoc PGIP Propositional RelationalScheme \
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen# the 'replacing spaces' example was taken from the (GNU) Make info manual
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo SirainenDRIFT_ENV = DERIVEPATH=$(subst $(space),:,$(PFE_PATHS))
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen# override on commandline for other architectures
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo Sirainen /home/www/agbkb/forschung/formal_methods/CoFI/hets/`utils/sysname.sh`
7fb70daba4e571eab5b64f496d20b9e37e31141bTimo SirainenGENERATERULES_deps = utils/GenerateRules/*hs $(DRIFT_deps)
(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