Makefile revision b9b960bc75e34658e70c4a0231dbc6a6e7373f2d
1336066b632d14017167c052fae5eb4df64726deDanny Mayer# Author: (c) Klaus L�ttich, Christian Maeder, Uni Bremen 2002-2005
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# This Makefile will compile the new hets system and provides also
1336066b632d14017167c052fae5eb4df64726deDanny Mayer# targets for test programs during implementation phases.
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater# !!! Note: This makefile is written for GNU make !!!
1336066b632d14017167c052fae5eb4df64726deDanny Mayer# (gmake on solaris)
dcfc52bbba3307901b9c01d4c54adb88d998243aAndreas Gustafsson####################################################################
e61793f0865117ad87a19d6e245bea8f3b712d1bDanny Mayer## Some varibles, which control the compilation
e61793f0865117ad87a19d6e245bea8f3b712d1bDanny MayerINCLUDE_PATH = hxt syb-generics haifa-lite/src hcl/src
e61793f0865117ad87a19d6e245bea8f3b712d1bDanny MayerHXT_PATHS = Data Data/Tree Data/Tree/NTree Data/Digest Text Text/XML \
e61793f0865117ad87a19d6e245bea8f3b712d1bDanny Mayer Text/XML/HXT Text/XML/HXT/IO Text/XML/HXT/DOM Text/XML/HXT/Arrow \
1336066b632d14017167c052fae5eb4df64726deDanny Mayer Text/XML/HXT/XPath Text/XML/HXT/Validator Text/XML/HXT/Parser \
empty =
DRIFT_ENV = \
INSTALLDIR = \
# flags also come in via ../uni/uni-package.conf
$@.hs -o $@
strip $@
$(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)
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) $@