--- trunk/OOPSE-4/make/Makefile.in 2005/01/13 21:56:58 1940 +++ trunk/OOPSE-4/make/Makefile.in 2005/02/07 20:31:50 1984 @@ -49,6 +49,7 @@ PackageLibs = \ integrators\ constraints \ minimizers \ + selection \ #packages containing applications Applications = \ @@ -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)