Makefile revision 6d549a835ffd3a11c3ed74e0f8fda30fda6a9528
0N/A# Author: (c) Klaus L�ttich, Christian Maeder, Uni Bremen 2002-2005 0N/A# This Makefile will compile the new hets system and provides also 2362N/A# targets for test programs during implementation phases. 2362N/A# !!! Note: This makefile is written for GNU make !!! 0N/A#################################################################### 0N/A## Some varibles, which control the compilation 0N/A# the 'replacing spaces' example was taken from the (GNU) Make info manual 0N/A# override on commandline for other architectures 0N/A# remove -fno-warn-orphans for older ghcs and add -ifgl 0N/A# -ddump-minimal-imports 0N/A# uncomment to above line to generate .imports files for displayDependencyGraph 0N/A# some modules from uni for haddock 0N/A### list of directories to run checks in 0N/A echo "of programatica package found";
else \
0N/A echo "{-# OPTIONS -w #-}" > $@
0N/A## rule for appendHaskellPreludeString 0N/A#Ti_Haskell_files = TiTypes TiKinds TiDecorate TiInstanceDB 0N/A## rule for ATC generation 0N/A### Profiling (only for debugging) 0N/A### Attention every module must be compiled with profiling or the linker 0N/A### cannot link the various .o files properly. So after switching on 0N/A### Profiling, do an 'gmake real_clean; gmake' 0N/A### Comment in the following line for switching on profiling. 0N/A# HC_PROF = -prof -auto-all -osuf p_o +RTS -K100m -RTS 0N/A#################################################################### 6338N/A# sources that have {-# OPTIONS -cpp #-} 6338N/A# unused, remove when header files are gone # this variable holds the modules that should be documented #################################################################### echo "of syb-generics 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 ## Rule to generate hs files from glade files. Needed for GTK ## generate the inline file for the predefined CASL_DL sign # Warning: Don't change the order of the depencies!!