make/solaris/makefiles/vm.make

changeset 2368
e7ad5f6f4d29
parent 2365
54f5dd2aa1d9
child 2417
5a1e52a439fa
     1.1 --- a/make/solaris/makefiles/vm.make	Tue Dec 14 15:10:52 2010 -0500
     1.2 +++ b/make/solaris/makefiles/vm.make	Wed Dec 15 05:43:54 2010 -0800
     1.3 @@ -184,7 +184,9 @@
     1.4  
     1.5  # Locate all source files in the given directory, excluding files in Src_Files_EXCLUDE.
     1.6  define findsrc
     1.7 -	$(notdir $(shell find $(1) \( -name \*.c -o -name \*.cpp -o -name \*.s \) -a \! \( -name DUMMY $(addprefix -o -name ,$(Src_Files_EXCLUDE)) \) ))
     1.8 +	$(notdir $(shell find $(1)/. ! -name . -prune \
     1.9 +		-a \( -name \*.c -o -name \*.cpp -o -name \*.s \) \
    1.10 +		-a ! \( -name DUMMY $(addprefix -o -name ,$(Src_Files_EXCLUDE)) \)))
    1.11  endef
    1.12  
    1.13  Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e)))

mercurial