Makefile revision 00ccf62b4570513e965eb156ab5916ec816c5d2b
66b665fac6215b07ef71fd7876590d4c0143e739lutoff# Author: (c) Klaus L�ttich, Christian Maeder, Uni Bremen 2002-2005
66b665fac6215b07ef71fd7876590d4c0143e739lutoff# Year: 2004
66b665fac6215b07ef71fd7876590d4c0143e739lutoff# This Makefile will compile the new hets system and provides also
66b665fac6215b07ef71fd7876590d4c0143e739lutoff# targets for test programs during implementation phases.
66b665fac6215b07ef71fd7876590d4c0143e739lutoff# !!! Note: This makefile is written for GNU make !!!
66b665fac6215b07ef71fd7876590d4c0143e739lutoff# (gmake on solaris)
66b665fac6215b07ef71fd7876590d4c0143e739lutoff####################################################################
66b665fac6215b07ef71fd7876590d4c0143e739lutoff## Some varibles, which control the compilation
66b665fac6215b07ef71fd7876590d4c0143e739lutoffHAIFA_PATHS = Network Network/Server Org Org/W3 Org/W3/N2001 \
66b665fac6215b07ef71fd7876590d4c0143e739lutoff Org/Xmlsoap Org/Xmlsoap/Schemas Org/Xmlsoap/Schemas/Soap \
66b665fac6215b07ef71fd7876590d4c0143e739lutoff Text Text/XML Text/XML/HXT Text/XML/Schema Text/XML/Schema/TypeMapper \
66b665fac6215b07ef71fd7876590d4c0143e739lutoff utils utils/DrIFT-src utils/GenerateRules utils/InlineAxioms Common \
66b665fac6215b07ef71fd7876590d4c0143e739lutoff Common/Lib Common/ATerm Logic CASL CASL/CCC CASL/CompositionTable \
66b665fac6215b07ef71fd7876590d4c0143e739lutoff Syntax Static GUI HasCASL Haskell Modal CoCASL COL ConstraintCASL \
66b665fac6215b07ef71fd7876590d4c0143e739lutoff CspCASL ATC Proofs Comorphisms Isabelle Driver Modifications \
66b665fac6215b07ef71fd7876590d4c0143e739lutoff Taxonomy CASL_DL SoftFOL OWL OMDoc PGIP Propositional
66b665fac6215b07ef71fd7876590d4c0143e739lutoff# the 'replacing spaces' example was taken from the (GNU) Make info manual
66b665fac6215b07ef71fd7876590d4c0143e739lutoffDRIFT_ENV = DERIVEPATH=$(subst $(space),:,$(PFE_PATHS))
66b665fac6215b07ef71fd7876590d4c0143e739lutoff# override on commandline for other architectures
66b665fac6215b07ef71fd7876590d4c0143e739lutoff /home/www/agbkb/forschung/formal_methods/CoFI/hets/`utils/sysname.sh`
66b665fac6215b07ef71fd7876590d4c0143e739lutoffGENERATERULES_deps = utils/GenerateRules/*hs $(DRIFT_deps)
66b665fac6215b07ef71fd7876590d4c0143e739lutoffGENITCORRECTIONS_deps = utils/itcor/GenItCorrections.hs
66b665fac6215b07ef71fd7876590d4c0143e739lutoffINLINEAXIOMS_deps = utils/InlineAxioms/InlineAxioms.hs \
a487f129b43692428fc0e85d81f0f893bf8e3575lutoff Modal/Parse_AS.hs Modal/ModalSign.hs Modal/Print_AS.hs Modal/StatAna.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) $@
@if [ -d $(INSTALLER_DIR) ] ; then \
sed "s/^\(SPASS_DIR_MAC=\).*/\1`ls utils/SPASS-ppc-mac/ | grep SPASS`/" Makefile.inst > Makefile.inst2 ;\
@echo Please do