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

Comparing trunk/OOPSE-2.0/make/Makefile.in (file contents):
Revision 2157 by gezelter, Mon Apr 11 16:14:05 2005 UTC vs.
Revision 2176 by gezelter, Tue Apr 12 21:26:42 2005 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines