Makefile revision ba3a7a915740c57c9cb3d2bec46b919fcba12692
9725N/A# Author: (c) Klaus L�ttich, Christian Maeder, Uni Bremen 2002-2005 9725N/A# This Makefile will compile the new hets system and provides also 9725N/A# targets for test programs during implementation phases. 9725N/A# !!! Note: This makefile is written for GNU make !!! 9725N/A#################################################################### 9725N/A## Some varibles, which control the compilation 9725N/A# the 'replacing spaces' example was taken from the (GNU) Make info manual 9725N/A# override on commandline for other architectures 15153N/A# remove -fno-warn-orphans for older ghcs and add -ifgl 10017N/A# uncomment to above line to generate .imports files for displayDependencyGraph 9838N/A# some modules from uni for haddock 10017N/A### list of directories to run checks in 10017N/A echo "of programatica package found";
else \
15157N/A## rule for appendHaskellPreludeString 15153N/A#Ti_Haskell_files = TiTypes TiKinds TiDecorate TiInstanceDB 10017N/A### Profiling (only for debugging) 10017N/A### Attention every module must be compiled with profiling or the linker 10017N/A### cannot link the various .o files properly. So after switching on 10656N/A### Profiling, do an 'gmake real_clean; gmake' 10656N/A### Comment in the following line for switching on profiling. 10656N/A# HC_PROF = -prof -auto-all -osuf p_o +RTS -K100m -RTS 9838N/A#################################################################### 9725N/A# sources that have {-# OPTIONS -cpp #-} 9725N/A# unused, remove when header files are gone 9725N/A# this variable holds the modules that should be documented #################################################################### echo "of HTTP package found";
else \
echo "of syb-generics package found";
else \
echo "of shellac package found";
else \
echo "of shellac-readline package found";
else \
echo "of shellac-compatline package found";
else \
echo "of hxt package found";
else \
echo "of HAIFA package found";
else \
@
echo 'File : Maintainer' > $@
sed -e
's/: *Maintainer *: */ : /' >> $@
############################### ############################### ### Documentation via haddock # generate haddock documentation with links to sources -printf "--read-interface=www/%P,%p "` ; \
$(PERL) -pe 's+/[^/]*.haddock,+,+g'` ; \
-t
'Hets - the Heterogeneous Tool Set' \
# sources are not copied here cvs up -d ;
echo "CVS exited with: " $$?
############################### # "-package hssource" for ghc-5.04.2 ## TODO: add more dependencies and use hets-opt # compile $< -b . -k web -o $@ ################################### @
echo "please copy the file manually to Common"############################# ### ATC DrIFT-rule generation ### removes all *.o, *.hi and *.p_o files in all subdirectories ### additionally removes the library files ### additionally removes generated files not in the CVS tree #################################################################### #################################################################### ### Haskell to Isabelle-HOLCF translation ### HasCASL to Haskell translation ### test program to check the known provers ### run tests in other directories #################################################################### ## Preparing the version of Hets ## two hardcoded dependencies for a correct generation of Version.hs ## two dependencies for avoidence of circular prerequisites #################################################################### echo "{-# OPTIONS -w #-}" > $@
## rules for inlineAxioms ## rule for cpp and haddock ## compiling rules for object and interface files ## compiling rules for dependencies ## generate the inline file for the predefined CASL_DL sign # Warning: Don't change the order of the depencies!!