Makefile revision af12672e86f22a822a9915a21efbbbc04a01e3c1
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Author: (c) Klaus L�ttich, Christian Maeder, Uni Bremen 2002-2005
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Year: 2004
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# This Makefile will compile the new hets system and provides also
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# targets for test programs during implementation phases.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# !!! Note: This makefile is written for GNU make !!!
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# (gmake on solaris)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl####################################################################
9512fe850e98fdd448c638ca63fdd92a8a510255ahl## Some varibles, which control the compilation
9512fe850e98fdd448c638ca63fdd92a8a510255ahlHXT_PATHS = Data Data/Tree Data/Tree/NTree Data/Digest Text Text/XML \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl Text/XML/HXT Text/XML/HXT/IO Text/XML/HXT/DOM Text/XML/HXT/Arrow \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl Text/XML/HXT/XPath Text/XML/HXT/Validator Text/XML/HXT/Parser \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl Text/XML/HXT/RelaxNG Text/XML/HXT/ProtocolHandler Codec Codec/ASN1 \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl Codec/Binary Codec/Encryption Codec/Encryption/RSA Network \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl System/Console System/Console/Shell System/Console/Shell/Backend
9512fe850e98fdd448c638ca63fdd92a8a510255ahlHAIFA_PATHS = Network Network/Server Org Org/W3 Org/W3/N2001 \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl Org/Xmlsoap Org/Xmlsoap/Schemas Org/Xmlsoap/Schemas/Soap \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl Text Text/XML Text/XML/HXT Text/XML/Schema Text/XML/Schema/TypeMapper \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl utils utils/DrIFT-src utils/GenerateRules utils/InlineAxioms Common \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl Common/Lib Common/ATerm Logic CASL CASL/CCC CASL/CompositionTable \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl Syntax Static GUI HasCASL Haskell Modal CoCASL COL ConstraintCASL \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl hcl/src/Data syb-generics/Data syb-generics/Data/Generics2 \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# the 'replacing spaces' example was taken from the (GNU) Make info manual
DRIFT_ENV = \
INSTALLDIR = \
# flags also come in via ../uni/uni-package.conf
$@.hs -o $@
strip $@
$(RM) $@
$(APPENDPRELUDESTRING) < $< > $@
#Ti_Prop_files = property/TI/TiPropDecorate property/syntax/PropSyntaxRec
$(wildcard syb-generics/Data/Generics2/*.hs) \
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(GENRULECALL) -o $@ $<
$(wildcard utils/GenerateRules/*.hs) \
$(wildcard utils/InlineAxioms/*.hs) \
$(RM) $@
cgi:
# "HetCATS/hetcats.TAGS"
@$(PERL) -e \
$(sources) >> $@
(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 \
-o $@ $(OWL_DL_files)
$(RM) $@
## two hardcoded dependencies for a correct generation of Version.hs
.SUFFIXES:
%: %.hs
%.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 \
echo Please do ;\