--- trunk/OOPSE-3.0/make/Makefile.in 2005/01/13 21:56:58 1940 +++ trunk/OOPSE-3.0/make/Makefile.in 2005/03/10 15:10:24 2101 @@ -49,12 +49,16 @@ PackageLibs = \ integrators\ constraints \ minimizers \ + selection \ + restraints \ #packages containing applications Applications = \ applications/oopse \ applications/dump2Xyz \ applications/simpleBuilder\ + applications/staticProps \ + applications/dynamicProps \ Samples = \ samples/argon \ @@ -71,15 +75,12 @@ IncludeDirs = \ samples/zcons \ IncludeDirs = \ - @SPRNG_INC_DIR@ \ @MPI_INC_DIR@ LibraryDirs = \ - @SPRNG_LIB_DIR@ \ @MPI_LIB_DIR@ Libraries = \ - @SPRNG_LIB@ \ @MPI_LIB@ \ @MPI_F90_LIB@ @@ -123,7 +124,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) @@ -622,25 +625,26 @@ _cleanall : $(Print) Done clean. _cleanall : - $(Delete) $(ObjectFiles) $(ParallelObjectFiles) + $(Delete) \ + $(ObjectFiles) \ + $(ParallelObjectFiles) \ + $(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.