[llvm-commits] CVS: llvm/configure Makefile.rules
John Criswell
criswell at cs.uiuc.edu
Wed Oct 15 20:50:01 PDT 2003
Changes in directory llvm:
configure updated: 1.46 -> 1.47
Makefile.rules updated: 1.146 -> 1.147
---
Log message:
Added autoconf support for the sample project.
Fixed the header comment in Makefile.rules
Changed all references to the echo program in Makefile.rules to the value
found by autoconf.
---
Diffs of the changes: (+69 -102)
Index: llvm/configure
diff -u llvm/configure:1.46 llvm/configure:1.47
--- llvm/configure:1.46 Mon Oct 13 11:21:59 2003
+++ llvm/configure Wed Oct 15 20:48:59 2003
@@ -426,6 +426,7 @@
PACKAGE_STRING='[LLVM] [1.0]'
PACKAGE_BUGREPORT='llvmbugs at cs.uiuc.edu'
+ac_subdirs_all="$ac_subdirs_all projects/sample"
ac_subdirs_all="$ac_subdirs_all projects/reopt"
ac_subdirs_all="$ac_subdirs_all projects/poolalloc"
# Factoring default headers for most tests.
@@ -1520,6 +1521,14 @@
fi
fi
+if test -d ${srcdir}/projects/sample
+then
+
+
+subdirs="$subdirs projects/sample"
+
+fi
+
if test -d ${srcdir}/projects/reopt
then
@@ -2030,27 +2039,6 @@
ac_config_commands="$ac_config_commands projects/Makefile"
- ac_config_commands="$ac_config_commands projects/sample/Makefile"
-
-
- ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
-
-
- ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
-
-
- ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
-
-
- ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
-
-
- ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
-
-
- ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
-
-
ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
@@ -4410,7 +4398,7 @@
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4413 "configure"' > conftest.$ac_ext
+ echo '#line 4401 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -5251,7 +5239,7 @@
# Provide some information about the compiler.
-echo "$as_me:5254:" \
+echo "$as_me:5242:" \
"checking for Fortran 77 compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -6260,11 +6248,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6263: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6251: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:6267: \$? = $ac_status" >&5
+ echo "$as_me:6255: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -6492,11 +6480,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6495: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6483: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:6499: \$? = $ac_status" >&5
+ echo "$as_me:6487: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -6559,11 +6547,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6562: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6550: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:6566: \$? = $ac_status" >&5
+ echo "$as_me:6554: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -8571,7 +8559,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 8574 "configure"
+#line 8562 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -8669,7 +8657,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 8672 "configure"
+#line 8660 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10805,11 +10793,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10808: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:10796: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:10812: \$? = $ac_status" >&5
+ echo "$as_me:10800: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -10872,11 +10860,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10875: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:10863: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:10879: \$? = $ac_status" >&5
+ echo "$as_me:10867: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -12115,7 +12103,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 12118 "configure"
+#line 12106 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12213,7 +12201,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 12216 "configure"
+#line 12204 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,11 +13023,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13038: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13026: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:13042: \$? = $ac_status" >&5
+ echo "$as_me:13030: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -13102,11 +13090,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13105: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13093: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:13109: \$? = $ac_status" >&5
+ echo "$as_me:13097: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -15046,11 +15034,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15049: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15037: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:15053: \$? = $ac_status" >&5
+ echo "$as_me:15041: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -15278,11 +15266,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15281: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15269: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:15285: \$? = $ac_status" >&5
+ echo "$as_me:15273: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -15345,11 +15333,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15348: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15336: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:15352: \$? = $ac_status" >&5
+ echo "$as_me:15340: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -17357,7 +17345,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 17360 "configure"
+#line 17348 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -17455,7 +17443,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 17458 "configure"
+#line 17446 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -23603,13 +23591,6 @@
${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
-${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
-${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
-${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
-${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
-${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
-${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
-${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
@@ -23789,13 +23770,6 @@
"utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
"utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
"projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
- "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
- "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
- "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
- "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
- "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
- "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
- "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
"projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
"projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
"projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
@@ -24606,13 +24580,6 @@
utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
- projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
- projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
- projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
- projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
- projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
- projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
- projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.146 llvm/Makefile.rules:1.147
--- llvm/Makefile.rules:1.146 Fri Oct 10 12:37:22 2003
+++ llvm/Makefile.rules Wed Oct 15 20:49:00 2003
@@ -1,4 +1,4 @@
-#===-- Makefile.common - Common make rules for LLVM -------*- makefile -*--====
+#===-- Makefile.rules - Common make rules for LLVM -------*- makefile -*--====
#
# This file is included by all of the LLVM makefiles. This file defines common
# rules to do things like compile a .cpp file or generate dependency info.
@@ -86,12 +86,12 @@
# Print out the directories used for building
prdirs::
- @echo "Build Source Root: " $(BUILD_SRC_ROOT)
- @echo "Build Source Dir : " $(BUILD_SRC_DIR)
- @echo "Build Object Root: " $(BUILD_OBJ_ROOT)
- @echo "Build Object Dir : " $(BUILD_OBJ_DIR)
- @echo "LLVM Source Root: " $(LLVM_SRC_ROOT)
- @echo "LLVM Object Root: " $(LLVM_OBJ_ROOT)
+ @${ECHO} "Build Source Root: " $(BUILD_SRC_ROOT)
+ @${ECHO} "Build Source Dir : " $(BUILD_SRC_DIR)
+ @${ECHO} "Build Object Root: " $(BUILD_OBJ_ROOT)
+ @${ECHO} "Build Object Dir : " $(BUILD_OBJ_DIR)
+ @${ECHO} "LLVM Source Root: " $(LLVM_SRC_ROOT)
+ @${ECHO} "LLVM Object Root: " $(LLVM_OBJ_ROOT)
###########################################################################
# Suffixes and implicit rules:
@@ -451,7 +451,7 @@
bytecodelib-install:: $(LLVMGCCDIR)/bytecode-libs/lib$(LIBRARYNAME).bc
$(LLVMGCCDIR)/bytecode-libs/lib$(LIBRARYNAME).bc: $(LIBNAME_BC)
- @echo ======= Installing $(LIBRARYNAME) bytecode library =======
+ @${ECHO} ======= Installing $(LIBRARYNAME) bytecode library =======
cp $< $@
# Does the library want a .o version built?
@@ -482,23 +482,23 @@
# Rule for building bytecode libraries.
$(LIBNAME_BC): $(ObjectsBC) $(LibSubDirs) $(DESTLIBBYTECODE)/.dir
- @echo ======= Linking $(LIBRARYNAME) bytecode library =======
+ @${ECHO} ======= Linking $(LIBRARYNAME) bytecode library =======
$(VERB) $(LinkBCLib) -o $@ $(ObjectsBC) $(LibSubDirs) $(LibLinkOpts)
#
# Rules for building dynamically linked libraries.
#
$(LIBNAME_O): $(ObjectsO) $(LibSubDirs) $(DESTLIBRELEASE)/.dir
- @echo ======= Linking $(LIBRARYNAME) dynamic release library =======
+ @${ECHO} ======= Linking $(LIBRARYNAME) dynamic release library =======
$(VERB) $(Link) -o $*.la $(ObjectsO) $(LibSubDirs) $(LibLinkOpts)
$(VERB) $(LIBTOOL) --mode=install $(INSTALL) $*.la $(DESTLIBCURRENT)
$(LIBNAME_P): $(ObjectsP) $(LibSubDirs) $(DESTLIBPROFILE)/.dir
- @echo ======= Linking $(LIBRARYNAME) dynamic profile library =======
+ @${ECHO} ======= Linking $(LIBRARYNAME) dynamic profile library =======
$(VERB) $(Link) -o $*.la $(ObjectsP) $(LibSubDirs) $(LibLinkOpts)
$(VERB) $(LIBTOOL) --mode=install $(INSTALL) $*.la $(DESTLIBCURRENT)
$(LIBNAME_G): $(ObjectsG) $(LibSubDirs) $(DESTLIBDEBUG)/.dir
- @echo ======= Linking $(LIBRARYNAME) dynamic debug library =======
+ @${ECHO} ======= Linking $(LIBRARYNAME) dynamic debug library =======
$(VERB) $(Link) -o $*.la $(ObjectsG) $(LibSubDirs) $(LibLinkOpts)
$(VERB) $(LIBTOOL) --mode=install $(INSTALL) $*.la $(DESTLIBCURRENT)
@@ -506,17 +506,17 @@
# Rules for building static archive libraries.
#
$(LIBNAME_AO): $(ObjectsO) $(LibSubDirs) $(DESTLIBRELEASE)/.dir
- @echo ======= Linking $(LIBRARYNAME) archive release library =======
+ @${ECHO} ======= Linking $(LIBRARYNAME) archive release library =======
@$(RM) -f $@
$(VERB) $(Link) -03 -o $@ $(ObjectsO) $(LibSubDirs) -static
$(LIBNAME_AP): $(ObjectsP) $(LibSubDirs) $(DESTLIBPROFILE)/.dir
- @echo ======= Linking $(LIBRARYNAME) archive profile library =======
+ @${ECHO} ======= Linking $(LIBRARYNAME) archive profile library =======
@$(RM) -f $@
$(VERB) $(Link) -03 $(PROFILE) -o $@ $(ObjectsP) $(LibSubDirs) -static
$(LIBNAME_AG): $(ObjectsG) $(LibSubDirs) $(DESTLIBDEBUG)/.dir
- @echo ======= Linking $(LIBRARYNAME) archive debug library =======
+ @${ECHO} ======= Linking $(LIBRARYNAME) archive debug library =======
@$(RM) -f $@
$(VERB) $(Link) -g $(STRIP) -o $@ $(ObjectsG) $(LibSubDirs) -static
@@ -536,15 +536,15 @@
# I think that is safe.
#
$(LIBNAME_OBJO): $(ObjectsO) $(LibSubDirs) $(DESTLIBRELEASE)/.dir
- @echo "Linking `basename $@`"
+ @${ECHO} "Linking `basename $@`"
$(VERB) $(Relink) -o $@ $(RObjectsO) $(LibSubDirs)
$(LIBNAME_OBJP): $(ObjectsP) $(LibSubDirs) $(DESTLIBPROFILE)/.dir
- @echo "Linking `basename $@`"
+ @${ECHO} "Linking `basename $@`"
$(VERB) $(Relink) -o $@ $(RObjectsP) $(LibSubDirs)
$(LIBNAME_OBJG): $(ObjectsG) $(LibSubDirs) $(DESTLIBDEBUG)/.dir
- @echo "Linking `basename $@`"
+ @${ECHO} "Linking `basename $@`"
$(VERB) $(Relink) -o $@ $(RObjectsG) $(LibSubDirs)
endif
@@ -629,15 +629,15 @@
$(VERB) $(RM) -f $(TOOLEXENAMES)
$(TOOLEXENAME_G): $(ObjectsG) $(USED_LIB_PATHS_G) $(DESTTOOLDEBUG)/.dir
- @echo ======= Linking $(TOOLNAME) debug executable $(STRIP_WARN_MSG) =======
+ @${ECHO} ======= Linking $(TOOLNAME) debug executable $(STRIP_WARN_MSG) =======
$(VERB) $(LinkG) -o $@ $(ObjectsG) $(LIB_OPTS_G) $(LINK_OPTS) $(LIBS)
$(TOOLEXENAME_O): $(ObjectsO) $(USED_LIB_PATHS_O) $(DESTTOOLRELEASE)/.dir
- @echo ======= Linking $(TOOLNAME) release executable =======
+ @${ECHO} ======= Linking $(TOOLNAME) release executable =======
$(VERB) $(LinkO) -o $@ $(ObjectsO) $(LIB_OPTS_O) $(LINK_OPTS) $(LIBS)
$(TOOLEXENAME_P): $(ObjectsP) $(USED_LIB_PATHS_P) $(DESTTOOLPROFILE)/.dir
- @echo ======= Linking $(TOOLNAME) profile executable =======
+ @${ECHO} ======= Linking $(TOOLNAME) profile executable =======
$(VERB) $(LinkP) -o $@ $(ObjectsP) $(LIB_OPTS_P) $(LINK_OPTS) $(LIBS)
endif
@@ -650,39 +650,39 @@
# Create .lo files in the ObjectFiles directory from the .cpp and .c files...
$(BUILD_OBJ_DIR)/Release/%.lo: %.cpp $(BUILD_OBJ_DIR)/Release/.dir
- @echo "Compiling `basename $<`"
+ @${ECHO} "Compiling `basename $<`"
$(VERB) $(CompileO) $< -o $@
$(BUILD_OBJ_DIR)/Release/%.lo: %.c $(BUILD_OBJ_DIR)/Release/.dir
- @echo "Compiling `basename $<`"
+ @${ECHO} "Compiling `basename $<`"
$(VERB) $(CompileCO) $< -o $@
$(BUILD_OBJ_DIR)/Profile/%.lo: %.cpp $(BUILD_OBJ_DIR)/Profile/.dir
- @echo "Compiling `basename $<`"
+ @${ECHO} "Compiling `basename $<`"
$(VERB) $(CompileP) $< -o $@
$(BUILD_OBJ_DIR)/Profile/%.lo: %.c $(BUILD_OBJ_DIR)/Profile/.dir
- @echo "Compiling `basename $<`"
+ @${ECHO} "Compiling `basename $<`"
$(VERB) $(CompileCP) $< -o $@
$(BUILD_OBJ_DIR)/Debug/%.lo: %.cpp $(BUILD_OBJ_DIR)/Debug/.dir
- @echo "Compiling `basename $<`"
+ @${ECHO} "Compiling `basename $<`"
$(VERB) $(CompileG) $< -o $@
$(BUILD_OBJ_DIR)/Debug/%.lo: %.c $(BUILD_OBJ_DIR)/Debug/.dir
- @echo "Compiling `basename $<`"
+ @${ECHO} "Compiling `basename $<`"
$(VERB) $(CompileCG) $< -o $@
$(BUILD_OBJ_DIR)/BytecodeObj/%.bc: %.cpp $(BUILD_OBJ_DIR)/BytecodeObj/.dir $(LCC1XX)
- @echo "Compiling `basename $<` to bytecode"
+ @${ECHO} "Compiling `basename $<` to bytecode"
$(VERB) $(LLVMGXX) $(CompileWarnings) $(CPPFLAGS) -c $< -o $@
$(BUILD_OBJ_DIR)/BytecodeObj/%.bc: %.c $(BUILD_OBJ_DIR)/BytecodeObj/.dir $(LCC1)
- @echo "Compiling `basename $<` to bytecode"
+ @${ECHO} "Compiling `basename $<` to bytecode"
$(VERB) $(LLVMGCC) $(CompileWarnings) $(CPPFLAGS) -c $< -o $@
$(BUILD_OBJ_DIR)/BytecodeObj/%.bc: %.ll $(BUILD_OBJ_DIR)/BytecodeObj/.dir $(LLVMAS)
- @echo "Compiling `basename $<` to bytecode"
+ @${ECHO} "Compiling `basename $<` to bytecode"
$(VERB) $(LLVMAS) $< -f -o $@
@@ -704,7 +704,7 @@
# FIXME. (f.e. char Buffer[10000] )
#
%.cpp: %.l
- @echo Flexing $<
+ @${ECHO} Flexing $<
$(VERB) $(FLEX) -t $< | \
$(SED) '/^find_rule/d' | \
$(SED) 's/void yyunput/inline void yyunput/' | \
@@ -719,7 +719,7 @@
%.c: %.y # Cancel built-in rules for yacc
%.h: %.y # Cancel built-in rules for yacc
%.cpp %.h : %.y
- @echo Bisoning $<
+ @${ECHO} Bisoning $<
$(VERB) $(BISON) -v -d -p $(<F:%Parser.y=%) -o $*.tab.c $<
$(VERB) cmp -s $*.tab.c $*.cpp > /dev/null || ${MV} -f $*.tab.c $*.cpp
$(VERB) cmp -s $*.tab.h $*.h > /dev/null || ${MV} -f $*.tab.h $*.h
More information about the llvm-commits
mailing list