--- trunk/OOPSE-4/make/Makefile.in 2004/10/06 21:22:43 1535 +++ trunk/OOPSE-4/make/Makefile.in 2005/11/18 20:17:14 2457 @@ -38,56 +38,71 @@ PackageLibs = \ #packages containing libraries PackageLibs = \ utils \ + visitors \ math \ types \ primitives \ - visitors \ UseTheForce/DarkSide \ UseTheForce \ brains \ io \ - integrators \ - minimizers \ + integrators\ constraints \ - profiling \ + minimizers \ + selection \ restraints \ + lattice \ + openbabel #packages containing applications Applications = \ applications/oopse \ applications/dump2Xyz \ - applications/simpleBuilder + applications/staticProps \ + applications/dynamicProps \ + applications/simpleBuilder\ + applications/nanoRodBuilder \ + applications/atom2mdin Samples = \ samples/argon \ - samples/water/dimer \ + samples/water/dimer \ samples/water/spce \ samples/water/ssd \ samples/water/ssde \ + samples/water/ssdrf \ + samples/water/ssd-ion \ samples/water/tip3p_ice \ samples/water/tip4p \ samples/lipid \ samples/alkane \ samples/minimizer \ samples/metals \ + samples/thermoIntegration/liquid \ + samples/thermoIntegration/solid \ + samples/dipole \ + samples/shape \ samples/zcons \ IncludeDirs = \ - @SPRNG_INC_DIR@ \ - @MPI_INC_DIR@ + @CGAL_INC_DIR@ \ + @MPI_INC_DIR@ LibraryDirs = \ - @SPRNG_LIB_DIR@ \ + @CGAL_LIB_DIR@ \ @MPI_LIB_DIR@ Libraries = \ - @SPRNG_LIB@ \ + @LIBS@ \ + @CGAL_LIBS@ \ @MPI_LIB@ \ - @MPI_F90_LIB@ + @MPI_F90_LIB@ OopseHome = @OOPSE_HOME@ -ForceParamDir = @OOPSE_HOME@/share/forceFields/ -SampleSimDir = @OOPSE_HOME@/share/samples/ +ForceParamDir = $(OopseHome)/share/forceFields +SampleSimDir = $(OopseHome)/share/samples +InstallBinDir = $(OopseHome)/bin +DocDir = $(OopseHome)/doc FrcDeclare = -DFRC_PATH="$(ForceParamDir)" F90Declare = -D__FORTRAN90 ParallelDeclare = -DIS_MPI @@ -112,6 +127,7 @@ BinDir = $(DEV_ROOT)/bin ParallelTargetDir = $(DEV_ROOT)/MPIobj LibDir = $(DEV_ROOT)/lib MakeDir = $(DEV_ROOT)/make +MainMakefile = $(MakeDir)/Makefile BinDir = $(DEV_ROOT)/bin DocsDir = $(DEV_ROOT)/docs CurrentDir = $(CURDIR) @@ -123,7 +139,9 @@ Package = $(subst $(shell cd $(SourceDir); pw # /home/maul/gezelter/src/code/src/UseTheForce/Darkside --> UseTheForce/Darkside #Package = $(shell echo $(CurrentDir) | sed -e 's/^.*\/src\/\(.*\)/\1/g') #use shell script to get the absolute path and then rip it off from $(CurrentDir) -Package = $(subst $(shell cd $(SourceDir); pwd)/,,$(CurrentDir)) +#Package = $(subst $(shell cd $(SourceDir); pwd)/,,$(CurrentDir)) +# REMINDER: We are now using the Package line in each subdir makefile. +# This avoids the strange path problem and the subshell PackageList = $(Package) PackageSourceDir = $(SourceDir)/$(Package) @@ -202,6 +220,70 @@ ThirdPartyJarsTmp = $(patsubst %,$(LibDir)/%,$(JavaLib OtherTargetFiles = $(OtherSourceFiles:%=$(PackageTargetDir)/%) +########################################################################### +# +# Figure out the names of the module files based on some work done by +# configure. The tr function below is from John Graham-Cumming +# (http://www.jgc.org). +# +# The tr function. Has three arguments: +# +# $1 The list of characters to translate from +# $2 The list of characters to translate to +# $3 The text to translate +# +# For example, $(call tr,A B C,1 2 3,CAPITAL) becomes 21PIT1L. + +tr = $(eval __t := $3) \ + $(foreach c, \ + $(join $(addsuffix :,$1),$2), \ + $(eval __t := \ + $(subst $(word 1,$(subst :, ,$c)),$(word 2,$(subst :, ,$c)), \ + $(__t))))$(__t) + +# Common character classes for use with the tr function. Each of +# these is actually a variable declaration and must be wrapped with +# $() or ${} to be used. + +[A-Z] := A B C D E F G H I J K L M N O P Q R S T U V W X Y Z # +[a-z] := a b c d e f g h i j k l m n o p q r s t u v w x y z # +[0-9] := 0 1 2 3 4 5 6 7 8 9 # +[A-F] := A B C D E F # + +# Figure out whether we have $(eval) or not (GNU Make 3.80 and above) +# if we do not then we need to use the shell version of tr, and not the +# faster tr function above: + +__have_eval := $(false) +__ignore := $(eval __have_eval := $(true)) + +ifndef __have_eval + uc = $(shell echo $1 | tr "a-z" "A-Z") + lc = $(shell echo $1 | tr "A-Z" "a-z") +else + uc = $(call tr,$([a-z]),$([A-Z]),$1) + lc = $(call tr,$([A-Z]),$([a-z]),$1) +endif + +# OK, now we can actually use these functions to figure out the names +# of the module files: + +ifneq "$(words $(Modules))" "0" +ifeq "$(ModuleCase)" "UPPER" + MODULES = $(call uc,$(Modules)) +else + ifeq "$(ModuleCase)" "lower" + MODULES = $(call lc,$(Modules)) + else + MODULES = $(Modules) + endif +endif + ModuleFiles = $(MODULES:%= $(PackageTargetDir)/%.$(ModSuffix)) + ParallelModuleFiles = $(MODULES:%= $(PackageParallelTargetDir)/%.$(ModSuffix)) +endif +# +########################################################################### + ThirdPartyJarsTmp = $(patsubst %,$(LibDir)/%,$(JavaLibraries)) ThirdPartyJars = $(subst $(Space),$(X),$(ThirdPartyJarsTmp)) @@ -213,9 +295,11 @@ ifneq "$(words $(ObjectFiles) $(ParallelObjectFiles)) #if Main is defined, do not build library. It may not be true sometimes ifneq "$(words $(ObjectFiles) $(ParallelObjectFiles))" "0" DependencyFile = $(PackageSourceDir)/Makedepend - ifneq "$(Main)" "" + ifneq "$(words $(Main))" "0" Executable = $(BinDir)/$(Main) - ParallelExecutable = $(BinDir)/$(Main)_MPI + ifeq "$(BuiltParallelExe)" "1" + ParallelExecutable = $(BinDir)/$(Main)_MPI + endif else SharedLibrary = $(LibDir)/lib$(subst /,,$(patsubst %,oopse_%,$(Package)))_UP.so StaticLibrary = $(LibDir)/lib$(subst /,,$(patsubst %,oopse_%,$(Package)))_UP.a @@ -223,6 +307,7 @@ endif ParallelStaticLibrary = $(LibDir)/lib$(subst /,,$(patsubst %,oopse_%,$(Package)))_MPI.a endif endif + # # Misc # @@ -244,17 +329,19 @@ Move = mv # #--------------------------------------------------------------------------- Print = @echo -Move = mv +Move = mv -f Copy = cp CCompiler = @CC@ CppCompiler = @CXX@ Linker = @CXX@ MakeDepend = makedepend -Install = @INSTALL@ +LN_S = @LN_S@ +INSTALL = @INSTALL@ InstallProgram = @INSTALL_PROGRAM@ +InstallScript = @INSTALL_SCRIPT@ InstallData = @INSTALL_DATA@ -MakeDir = @MKINSTALLDIRS@ -Delete = rm -fr +MkDir = @MKINSTALLDIRS@ +Delete = rm -f StaticArchiver = @AR@ DynamicArchiver = @CC@ FortranCompiler = @FC@ @@ -272,8 +359,8 @@ Ranlib = @RANLIB@ Yacc = @YACC@ Lex = @LEX@ Ranlib = @RANLIB@ +Doxygen = @DOXYGEN@ - MakeOptions = -k MakeDependOptions = StaticArchiverOptions = rc @@ -282,13 +369,13 @@ COptions = $(FrcDeclare) JniOptions = RmiOptions = -d $(TargetDir) -classpath $(ClassPath) \ -sourcepath $(SourceDir) -COptions = $(FrcDeclare) -CParallelOptions = $(FrcDeclare) $(ParallelDeclare) -CppOptions = $(FrcDeclare) -CppParallelOptions = $(FrcDeclare) $(ParallelDeclare) +COptions = $(FrcDeclare) @CFLAGS@ +CParallelOptions = $(FrcDeclare) $(ParallelDeclare) @CFLAGS@ +CppOptions = $(FrcDeclare) @CXXFLAGS@ @OOPSE_TEMPLATE_FLAGS@ +CppParallelOptions = $(FrcDeclare) $(ParallelDeclare) @CXXFLAGS@ @OOPSE_TEMPLATE_FLAGS@ FortranOptions = -F90Options = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) -module $(TargetDir) -F90ParallelOptions = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) -module $(ParallelTargetDir) @PREPDEFFLAG@$(ParallelDeclare) +F90Options = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) @MODDIRFLAG@$(TargetDir) +F90ParallelOptions = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) @MODDIRFLAG@$(ParallelTargetDir) @PREPDEFFLAG@$(ParallelDeclare) JavaCompilerOptions = -d $(TargetDir) -classpath $(ClassPath) \ -sourcepath $(SourceDir) -deprecation JavaRunOptions = -classpath $(ClassPath) @@ -314,6 +401,49 @@ Space = $(Empty) $(Empty) #--------------------------------------------------------------------------- # +# Install +# +#--------------------------------------------------------------------------- + +ifneq "$(words $(SampleFiles))" "0" + MySample = $(subst $(shell cd $(DEV_ROOT)/samples; pwd)/,,$(CurrentDir)) + MyInstallDir = $(SampleSimDir)/$(MySample) + InstallFiles = $(SampleFiles) + InstallCommand = $(InstallData) +endif + +ifneq "$(words $(Main))" "0" + MyInstallDir = $(InstallBinDir) + ifeq "$(UseMPI)" "yes" + InstallFiles = $(Executable) $(ParallelExecutable) + else + InstallFiles = $(Executable) + endif + InstallCommand = $(InstallProgram) + ifneq "$(words $(LinkTargets))" "0" + MyLinkSource = $(patsubst %, $(MyInstallDir)/%,$(Main)) + MyLinkTargets = $(patsubst %, $(MyInstallDir)/%,$(LinkTargets)) + endif +endif + +ifneq "$(words $(ForcefieldFiles))" "0" + MyInstallDir = $(ForceParamDir) + InstallFiles = $(ForcefieldFiles) + InstallCommand = $(InstallData) +endif + +ifneq "$(words $(InstallFiles))" "0" + InstallList = +else + InstallList = $(patsubst %,$(DEV_ROOT)/%,$(Samples)) $(DEV_ROOT)/forceFields $(patsubst %, $(SourceDir)/%,$(Applications)) +endif + +InstallListLoop = $(patsubst %,$(SourceDir)/%/.install,$(PackageList)) $(patsubst %,%/.install,$(InstallList)) + + + +#--------------------------------------------------------------------------- +# # Rules # #--------------------------------------------------------------------------- @@ -324,72 +454,92 @@ $(PackageTargetDir) : # Create target directory $(PackageTargetDir) : - $(MakeDir) $@ + $(MkDir) $@ +$(BinDir) : + $(MkDir) $@ + # .c -> .o -$(PackageTargetDir)/%.o : %.c +$(PackageTargetDir)/%.o : %.c $(MainMakefile) $(Print) $@ $(CCompiler) $(COptions) -c $(IncludePath) $< -o $@ -$(PackageParallelTargetDir)/%.o : %.c +$(PackageParallelTargetDir)/%.o : %.c $(MainMakefile) $(Print) $@ $(CCompiler) $(CParallelOptions) -c $(IncludePath) $< -o $@ ifeq "$(UseMPI)" "yes" -%.o : %.c +%.o : %.c $(MainMakefile) $(MAKE) $(MakeOptions) $(PackageTargetDir)/$@ $(MAKE) $(MakeOptions) $(PackageParallelTargetDir)/$@ else -%.o : %.c +%.o : %.c $(MainMakefile) $(MAKE) $(MakeOptions) $(PackageTargetDir)/$@ endif # .cpp -> .o -$(PackageTargetDir)/%.o : %.cpp +$(PackageTargetDir)/%.o : %.cpp $(MainMakefile) $(CppCompiler) $(CppOptions) -c $(IncludePath) $< -o $@ -$(PackageParallelTargetDir)/%.o : %.cpp +$(PackageParallelTargetDir)/%.o : %.cpp $(MainMakefile) $(CppCompiler) $(CppParallelOptions) -c $(IncludePath) $< -o $@ ifeq "$(UseMPI)" "yes" -%.o : %.cpp +%.o : %.cpp $(MainMakefile) $(MAKE) $(MakeOptions) $(PackageTargetDir)/$@ $(MAKE) $(MakeOptions) $(PackageParallelTargetDir)/$@ else -%.o : %.cpp +%.o : %.cpp $(MainMakefile) $(MAKE) $(MakeOptions) $(PackageTargetDir)/$@ endif # .f -> .o -$(PackageTargetDir)/%.o : %.f +$(PackageTargetDir)/%.o : %.f $(MainMakefile) $(FortranCompiler) $(FortranOptions) -c $< -o $@ -$(PackageParallelTargetDir)/%.o : %.f +$(PackageParallelTargetDir)/%.o : %.f $(MainMakefile) $(FortranCompiler) $(FortranParallelOptions) -c $< -o $@ ifeq "$(UseMPI)" "yes" -%.o : %.f +%.o : %.f $(MainMakefile) $(MAKE) $(MakeOptions) $(PackageTargetDir)/$@ $(MAKE) $(MakeOptions) $(PackageParallelTargetDir)/$@ else -%.o : %.f +%.o : %.f $(MainMakefile) $(MAKE) $(MakeOptions) $(PackageTargetDir)/$@ endif # .F90 -> .o -$(PackageTargetDir)/%.o : %.F90 +$(PackageTargetDir)/%.o : %.F90 $(MainMakefile) $(F90Compiler) $(F90Options) $(IncludePath) -c $< -o $@ + if test -n "`ls *.$(ModSuffix)`"; then \ + $(Move) `ls *.$(ModSuffix)` $(PackageTargetDir);\ + fi -$(PackageParallelTargetDir)/%.o : %.F90 +$(PackageParallelTargetDir)/%.o : %.F90 $(MainMakefile) $(F90Compiler) $(F90ParallelOptions) $(IncludePath) -c $< -o $@ + if test -n "`ls *.$(ModSuffix)`"; then \ + $(Move) "`ls *.$(ModSuffix)`" $(PackageParallelTargetDir);\ + fi ifeq "$(UseMPI)" "yes" -%.o : %.F90 +%.o : %.F90 $(MainMakefile) $(MAKE) $(MakeOptions) $(PackageTargetDir)/$@ + if test -n "`ls *.$(ModSuffix)`"; then\ + $(Move) "`ls *.$(ModSuffix)`" $(PackageTargetDir);\ + fi + $(MAKE) $(MakeOptions) $(PackageParallelTargetDir)/$@ -else -%.o : %.F90 + if test -n "`ls *.$(ModSuffix)`"; then\ + $(Move) "`ls *.$(ModSuffix)`" $(PackageTargetDir);\ + fi + +else +%.o : %.F90 $(MainMakefile) $(MAKE) $(MakeOptions) $(PackageTargetDir)/$@ + if test -n "`ls *.$(ModSuffix)`"; then\ + $(Move) "`ls *.$(ModSuffix)`" $(PackageTargetDir);\ + fi endif @@ -486,12 +636,18 @@ $(PackageTargetDir)/%_Skel.class : $(PackageTargetDir) %_Skel.class : %.class $(MAKE) $(MakeOptions) $(PackageTargetDir)/$@ +document : + $(Print) Generate Documentation for OOPSE-2.0 + @cd $(DEV_ROOT)/src + $(Doxygen) $(DEV_ROOT)/make/Doxyfile + #GUN make funtions to merge the libraries find_objs = $(shell $(StaticArchiver) -t $(1)) extract_objs = $(shell $(StaticArchiver) -x $(1) $(call find_objs, $(1))) create_archive = $(shell $(StaticArchiver) $(StaticArchiverOptions) $(2) $(call find_objs, $(1))) remove_objs = $(shell $(Delete) $(call find_objs, $(1))) do_create = $(call extract_objs,$(1))$(call create_archive,$(1),$(2))$(call remove_objs,$(1)) +do_link = $(shell $(LN_S) $(1) $(2)) $(CombinedStaticLib) : $(LibDir)/.stamp_UP $(Print) create $@ @@ -504,11 +660,11 @@ $(Executable) : $(CombinedStaticLib) $(ObjectFiles) $(Ranlib) $(CombinedParallelStaticLib) # Executable -$(Executable) : $(CombinedStaticLib) $(ObjectFiles) - $(Linker) $(ObjectFiles) $(LinkOptions) $(LibDirs) $(CombinedStaticLib) $(Libraries) -o $@ +$(Executable) : $(CombinedStaticLib) $(ObjectFiles) $(BinDir) + $(Linker) $(ObjectFiles) $(CombinedStaticLib) $(LinkOptions) $(LibDirs) $(Libraries) -o $@ -$(ParallelExecutable) : $(CombinedParallelStaticLib) $(ParallelObjectFiles) - $(Linker) $(ParallelObjectFiles) $(ParallelLinkOptions) $(LibDirs) $(CombinedParallelStaticLib) $(Libraries) -o $@ +$(ParallelExecutable) : $(CombinedParallelStaticLib) $(ParallelObjectFiles) $(BinDir) + $(Linker) $(ParallelObjectFiles) $(CombinedParallelStaticLib) $(ParallelLinkOptions) $(LibDirs) $(Libraries) -o $@ # Anything else is just copied from source to target $(PackageTargetDir)/% : $(PackageSourceDir)/% @@ -521,6 +677,7 @@ ifeq "$(UseMPI)" "yes" _all : _buildall +_buildall : ifeq "$(UseMPI)" "yes" _buildall : \ $(DependencyFile) \ @@ -550,31 +707,39 @@ endif $(Executable) endif +echo : $(PackageListLoop) + $(Print) Done echo. +_echoall : + $(Print) $(Modules) + # make clean clean : $(PackageListLoop) $(Print) Done clean. _cleanall : - $(Delete) $(ObjectFiles) $(ParallelObjectFiles) + $(Delete) \ + $(ObjectFiles) \ + $(ModuleFiles) \ + $(ParallelObjectFiles) \ + $(ParallelModuleFiles) \ + $(JarFile) \ + $(SharedLibrary) \ + $(StaticLibrary) \ + $(ParallelSharedLibrary) \ + $(ParallelStaticLibrary) \ + $(CombinedStaticLib) \ + $(CombinedParallelStaticLib) # make distclean distclean : $(PackageListLoop) $(Print) Done clean. -_distcleanall : - $(Delete) $(ObjectFiles) \ - $(ParallelObjectFiles) \ - $(JarFile) \ - $(SharedLibrary) \ - $(StaticLibrary) \ - $(ParallelSharedLibrary) \ - $(ParallelStaticLibrary) \ - $(Executable) \ +_distcleanall : _cleanall + $(Delete) $(Executable) \ $(ParallelExecutable) \ $(DependencyFile) - # make depend depend : $(PackageListLoop) $(Print) Done dependencies. @@ -586,28 +751,42 @@ ifneq "$(words $(CppFiles))" "0" @cd $(PackageSourceDir) ifneq "$(words $(CppFiles))" "0" - $(CppCompiler) $(CppOptions) $(IncludePath) -MM $(CppFiles) > Make.cpptemp - cat Make.cpptemp | sed 's/^[a-zA-Z0-9]/$$\(TargetDir\)\/&/g' >> $(DependencyFile) + $(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(TargetDir)/' -MM $(CppFiles)>> Make.cpptemp + @cat Make.cpptemp >> $(DependencyFile) $(Delete) Make.cpptemp - $(CppCompiler) $(CppParallelOptions) $(IncludePath) -MM $(CppFiles) > Make.cpptemp - cat Make.cpptemp | sed 's/^[a-zA-Z0-9]/$$\(ParallelTargetDir\)\/&/g' >> $(DependencyFile) - $(Delete) Make.cpptemp + + ifeq "$(UseMPI)" "yes" + $(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(ParallelTargetDir)/' $(ParallelDeclare) -MM $(CppFiles)>> Make.cpptemp + @cat Make.cpptemp >> $(DependencyFile) + @$(Delete) Make.cpptemp + endif + endif ifneq "$(words $(CFiles))" "0" - $(CCompiler) $(COptions) $(IncludePath) -MM $(CFiles) $(DerivedCFiles) > Make.ctemp - cat Make.ctemp | sed 's/^[a-zA-Z0-9]/$$\(TargetDir\)\/&/g' >> $(DependencyFile) + $(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(TargetDir)/' -MM $(CFiles) $(DerivedCFiles) >> Make.ctemp + @cat Make.ctemp >> $(DependencyFile) $(Delete) Make.ctemp - $(CCompiler) $(CParallelOptions) $(IncludePath) -MM $(CFiles) $(DerivedCFiles) > Make.ctemp - cat Make.ctemp | sed 's/^[a-zA-Z0-9]/$$\(ParallelTargetDir\)\/&/g' >> $(DependencyFile) - $(Delete) Make.ctemp + + ifeq "$(UseMPI)" "yes" + $(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(ParallelTargetDir)/' $(ParallelDeclare) -MM $(CFiles) $(DerivedCFiles) >> Make.ctemp + @cat Make.ctemp >> $(DependencyFile) + @$(Delete) Make.ctemp + endif + endif ifneq "$(words $(F90Files))" "0" - $(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(TargetDir)/' $(F90Declare) $(F90Files) > Make.ftemp - $(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(ParallelTargetDir)/' $(ParallelDeclare) $(F90Declare) $(F90Files) >> Make.ftemp - cat Make.ftemp >> $(DependencyFile) - $(Delete) Make.ftemp + $(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(TargetDir)/' $(F90Declare) -MM -mc $(ModuleCase) -ms $(ModSuffix) $(F90Files) > Make.ftemp + @cat Make.ftemp >> $(DependencyFile) + @$(Delete) Make.ftemp + + ifeq "$(UseMPI)" "yes" + $(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(ParallelTargetDir)/' $(ParallelDeclare) $(F90Declare) -MM -mc $(ModuleCase) -ms $(ModSuffix) $(F90Files) >> Make.ftemp + @cat Make.ftemp >> $(DependencyFile) + @$(Delete) Make.ftemp + endif + endif # make lib @@ -621,6 +800,30 @@ jarsign : $(JarFile) jarsign : $(JarFile) $(JarSigner) -keystore GeoSoftKeystore $(JarFile) myself +#make install +%.install : + @$(MAKE) $(MakeOptions) -C $(subst .install,,$@) _installall + +install : $(InstallListLoop) + $(Print) Done Install + +_installall : _buildall _installdata _installlinks + +$(MyInstallDir) : + $(MkDir) $@ + +_installdata : $(MyInstallDir) + $(Print) $(InstallFiles) +ifneq "$(words $(InstallFiles))" "0" + $(InstallCommand) $(InstallFiles) $(MyInstallDir) +endif + +_installlinks : $(MyInstallDir) +ifneq "$(words $(MyLinkTargets))" "0" + @cd $(MyInstallDir) + $(foreach thisLink,$(MyLinkTargets),$(call do_link,$(MyLinkSource),$(thisLink))) +endif + # make statistics _statisticsall : @$(Print) $(patsubst %,$(CurrentDir)/%,$(SourceFiles)) >> $(DEV_ROOT)/files.tmp @@ -631,15 +834,15 @@ $(Executable).pure : $(Print) Done statistics. # make pure -$(Executable).pure : - $(Purify) $(PurifyOptions) $(CppCompiler) $(LinkOptions) $(LibDirs) \ - $(LibList) $(ObjectFiles) -o $@ +#$(Executable).pure : +# $(Purify) $(PurifyOptions) $(CppCompiler) $(LinkOptions) $(LibDirs) \ +# $(LibList) $(ObjectFiles) -o $@ +# +#pure : $(Executable).pure -pure : $(Executable).pure - #make cvslog cvslog: - $(DEV_ROOT)/scripts/cvs2cl.pl + $(DEV_ROOT)/scripts/cvs2cl # Execute _runexe :