ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/make/Makefile.in
(Generate patch)

Comparing trunk/OOPSE-3.0/make/Makefile.in (file contents):
Revision 2157 by gezelter, Mon Apr 11 16:14:05 2005 UTC vs.
Revision 2164 by chuckv, Mon Apr 11 21:37:30 2005 UTC

# Line 59 | Line 59 | Applications = \
59          applications/simpleBuilder\
60          applications/staticProps \
61          applications/dynamicProps \
62 +        applications/nanoRodBuilder \
63  
64   Samples = \
65          samples/argon \
# Line 235 | Line 236 | tr = $(eval __t := $3)                                
236   [0-9] := 0 1 2 3 4 5 6 7 8 9 #
237   [A-F] := A B C D E F #
238  
239 < # Upper case and lower case functions.  Each function has a single
240 < # argument which is the text to alter
239 > # Figure out whether we have $(eval) or not (GNU Make 3.80 and above)
240 > # if we do not then we need to use the shell version of tr, and not the
241 > # faster tr function above:
242  
243 < uc = $(call tr,$([a-z]),$([A-Z]),$1)
244 < lc = $(call tr,$([A-Z]),$([a-z]),$1)
243 > __have_eval := $(false)
244 > __ignore := $(eval __have_eval := $(true))
245 >
246 > ifndef __have_eval
247 >  uc = $(shell echo $1 | tr "a-z" "A-Z")
248 >  lc = $(shell echo $1 | tr "A-Z" "a-z")
249 > else
250 >  uc = $(call tr,$([a-z]),$([A-Z]),$1)
251 >  lc = $(call tr,$([A-Z]),$([a-z]),$1)
252 > endif
253  
254   # OK, now we can actually use these functions to figure out the names
255   # of the module files:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines