Makefile revision 3d905881cf97e122fb28ed5b9a9b0b220c85ec33
0N/A# Author: (c) Klaus Luettich, Christian Maeder, Uni Bremen 2002-2009 0N/A# This Makefile will compile the hets system and provides also 0N/A# targets for test programs during implementation phases. 0N/A# !!! Note: This makefile is written for GNU make !!! 0N/A# deprecated since haddock 2 0N/A# the 'replacing spaces' example was taken from the (GNU) Make info manual 0N/A# the list of logics that need ShATermConvertible instances 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# unset this variable from var.mk because the programatica sources 0N/A# are needed to created our sources! 0N/A# end of programatica stuff 0N/A# remove -fno-warn-orphans for older ghcs and add -ifgl 0N/A# uncomment HC_PROF for profiling (and comment out packages in var.mk) 0N/A# call resulting binary with a final +RTS -p to get a file <binary>.prof 0N/A# HC_PROF = -prof -auto-all -osuf p_o +RTS -K100m -RTS 0N/A# -ddump-minimal-imports 0N/A# uncomment the above line to generate .imports files for displayDependencyGraph 0N/A## deprecated non-sources to be excluded for haddock-0.8 0N/A## deprecated hets sources for haddock-0.8 0N/A# files generated by DriFT # files to extract data types from to generate ShATermConvertible instances # files generated by genRules as input for DriFT # the rules to create ATC .der.hs file for DriFT # ATC files for every logic # ATC DrIFT-rule generation for logics # all ATC .der.hs files for all logics # a rule to create all .der.hs files # the final ATC target files created by DriFT # all sources that need to be created before ghc can be called # sources that have {-# OPTIONS -cpp #-} # further sources that should be excluded from haddock-0.8 # this variable holds the modules that should be documented #################################################################### echo "of aterm package found";
else \
@
echo 'File : Maintainer' > $@
sed -e
's/: *Maintainer *: */ : /' >> $@
# Documentation via haddock -t
'Hets - the Heterogeneous Tool Set' \
# generate haddock documentation with links to sources -printf "--read-interface=www/%P,%p "` ; \
$(PERL) -pe 's+/[^/]*.haddock,+,+g'` ; \
-t
'Hets - the Heterogeneous Tool Set' \
# "-package hssource" for ghc-5.04.2 @
echo "please copy the file manually to Common"### 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 ### build only, don't link ### 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 #-}" > $@
## 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!! # directory for installers # prepare installer creation # check out java parts for OWL