46 ADDCLASSES= -o -name '*.java'
47 endif
48
49 # Adding CClassHeaders also pushes the file count of a full workspace up about
50 # 200 files (these files also don't exist in a new workspace, and thus will
51 # cause the recreation of the database as they get created, which might seem
52 # a little confusing). Thus allow these files to be added from the environment
53 # (CSHEADERS=yes).
54 ifndef CSHEADERS
55 RMCCHEADERS= -o -name CClassHeaders
56 endif
57
58 # Ignore build products.
59 CS_PRUNE_GENERATED = -o -name '${OSNAME}_*_core' -o \
60 -name '${OSNAME}_*_compiler?'
61
62 # O/S-specific files for all systems are included by default. Set CS_OS to a
63 # space-separated list of identifiers to include only those systems.
64 ifdef CS_OS
65 CS_PRUNE_OS = $(patsubst %,-o -name '*%*',\
66 $(filter-out ${CS_OS},linux macos solaris windows))
67 endif
68
69 # CPU-specific files for all processors are included by default. Set CS_CPU
70 # space-separated list identifiers to include only those CPUs.
71 ifdef CS_CPU
72 CS_PRUNE_CPU = $(patsubst %,-o -name '*%*',\
73 $(filter-out ${CS_CPU},arm ppc sparc x86 zero))
74 endif
75
76 # What files should we include? A simple rule might be just those files under
77 # SCCS control, however this would miss files we create like the opcodes and
78 # CClassHeaders. The following attempts to find everything that is *useful*.
79 # (.del files are created by sccsrm, demo directories contain many .java files
80 # that probably aren't useful for development, and the pkgarchive may contain
81 # duplicates of files within the source hierarchy).
82
83 # Directories to exclude.
84 CS_PRUNE_STD = $(SCM_DIRS) \
85 -o -name '.del-*' \
86 -o -name '*demo' \
|
46 ADDCLASSES= -o -name '*.java'
47 endif
48
49 # Adding CClassHeaders also pushes the file count of a full workspace up about
50 # 200 files (these files also don't exist in a new workspace, and thus will
51 # cause the recreation of the database as they get created, which might seem
52 # a little confusing). Thus allow these files to be added from the environment
53 # (CSHEADERS=yes).
54 ifndef CSHEADERS
55 RMCCHEADERS= -o -name CClassHeaders
56 endif
57
58 # Ignore build products.
59 CS_PRUNE_GENERATED = -o -name '${OSNAME}_*_core' -o \
60 -name '${OSNAME}_*_compiler?'
61
62 # O/S-specific files for all systems are included by default. Set CS_OS to a
63 # space-separated list of identifiers to include only those systems.
64 ifdef CS_OS
65 CS_PRUNE_OS = $(patsubst %,-o -name '*%*',\
66 $(filter-out ${CS_OS},bsd linux macos solaris windows))
67 endif
68
69 # CPU-specific files for all processors are included by default. Set CS_CPU
70 # space-separated list identifiers to include only those CPUs.
71 ifdef CS_CPU
72 CS_PRUNE_CPU = $(patsubst %,-o -name '*%*',\
73 $(filter-out ${CS_CPU},arm ppc sparc x86 zero))
74 endif
75
76 # What files should we include? A simple rule might be just those files under
77 # SCCS control, however this would miss files we create like the opcodes and
78 # CClassHeaders. The following attempts to find everything that is *useful*.
79 # (.del files are created by sccsrm, demo directories contain many .java files
80 # that probably aren't useful for development, and the pkgarchive may contain
81 # duplicates of files within the source hierarchy).
82
83 # Directories to exclude.
84 CS_PRUNE_STD = $(SCM_DIRS) \
85 -o -name '.del-*' \
86 -o -name '*demo' \
|