|
From: <ac...@us...> - 2010-04-06 19:38:11
|
Revision: 34
http://clibinutils.svn.sourceforge.net/clibinutils/?rev=34&view=rev
Author: aco
Date: 2010-04-06 19:38:02 +0000 (Tue, 06 Apr 2010)
Log Message:
-----------
add version info to assemblies
Modified Paths:
--------------
mono-based-binutils/trunk/ChangeLog
mono-based-binutils/trunk/configure
mono-based-binutils/trunk/configure.ac
mono-based-binutils/trunk/tools/Makefile.am
mono-based-binutils/trunk/tools/Makefile.in
Added Paths:
-----------
mono-based-binutils/trunk/tools/AssemblyInfo.cs.in
Modified: mono-based-binutils/trunk/ChangeLog
===================================================================
--- mono-based-binutils/trunk/ChangeLog 2010-04-06 19:30:24 UTC (rev 33)
+++ mono-based-binutils/trunk/ChangeLog 2010-04-06 19:38:02 UTC (rev 34)
@@ -2,15 +2,17 @@
* configure.ac: fix project name,
remove last dependencies to DotGnu tools,
- add configure options for documentation and debug.
+ add configure options for documentation and debug,
+ generate C# version file.
* Makefile.am: add SUBDIR doc only if required by configure.
* doc/Makefile.am: use autotools to generate documentation.
* tools/Makefile.am: use lbin_DATA instead of lbin_SCRIPTS,
- add debug build.
+ add debug build, add version info to assemblies.
+ * tools/AssemblyInfo.cs.in: Newfile with version information.
* configure: Regenerated.
- * Makefile.am: Likewise.
- * doc/Makefile.am: Likewise.
- * tools/Makefile.am: Likewise.
+ * Makefile.in: Likewise.
+ * doc/Makefile.in: Likewise.
+ * tools/Makefile.in: Likewise.
* tools/gcc4cli/ld/Driver.cs: ignore option -lm.
* scripts/ld.in: pass -lm option to ld.exe.
* scripts/as.in: add option to generate debug information.
Modified: mono-based-binutils/trunk/configure
===================================================================
--- mono-based-binutils/trunk/configure 2010-04-06 19:30:24 UTC (rev 33)
+++ mono-based-binutils/trunk/configure 2010-04-06 19:38:02 UTC (rev 34)
@@ -2647,7 +2647,7 @@
fi
-ac_config_files="$ac_config_files Makefile scripts/Makefile tools/Makefile"
+ac_config_files="$ac_config_files Makefile scripts/Makefile tools/Makefile tools/AssemblyInfo.cs"
ac_config_files="$ac_config_files doc/Makefile doc/Doxyfile.gcc4cli"
@@ -3370,6 +3370,7 @@
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
+ "tools/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES tools/AssemblyInfo.cs" ;;
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
"doc/Doxyfile.gcc4cli") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile.gcc4cli" ;;
Modified: mono-based-binutils/trunk/configure.ac
===================================================================
--- mono-based-binutils/trunk/configure.ac 2010-04-06 19:30:24 UTC (rev 33)
+++ mono-based-binutils/trunk/configure.ac 2010-04-06 19:38:02 UTC (rev 34)
@@ -55,7 +55,7 @@
AC_MSG_RESULT($enable_doxygen)
AM_CONDITIONAL(DOXYGEN_ENABLED, test x$enable_doxygen = xyes)
-AC_CONFIG_FILES([Makefile scripts/Makefile tools/Makefile])
+AC_CONFIG_FILES([Makefile scripts/Makefile tools/Makefile tools/AssemblyInfo.cs])
AC_CONFIG_FILES([doc/Makefile doc/Doxyfile.gcc4cli])
Added: mono-based-binutils/trunk/tools/AssemblyInfo.cs.in
===================================================================
--- mono-based-binutils/trunk/tools/AssemblyInfo.cs.in (rev 0)
+++ mono-based-binutils/trunk/tools/AssemblyInfo.cs.in 2010-04-06 19:38:02 UTC (rev 34)
@@ -0,0 +1,9 @@
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion ("@VERSION@")]
+//[assembly: AssemblyTitle ("")]
+//[assembly: AssemblyDescription ("")]
+//[assembly: AssemblyCopyright ("")]
+//[assembly: AssemblyCompany ("")]
Modified: mono-based-binutils/trunk/tools/Makefile.am
===================================================================
--- mono-based-binutils/trunk/tools/Makefile.am 2010-04-06 19:30:24 UTC (rev 33)
+++ mono-based-binutils/trunk/tools/Makefile.am 2010-04-06 19:38:02 UTC (rev 34)
@@ -67,23 +67,23 @@
MCS_FLAGS += -debug
endif
-gcc4cli.utils.dll: $(UTILS_FULL_SRC) Mono.Cecil.dll
- $(MCS) $(MCS_FLAGS) -t:library -out:gcc4cli.utils.dll $(UTILS_FULL_SRC)
+gcc4cli.utils.dll: $(UTILS_FULL_SRC) AssemblyInfo.cs Mono.Cecil.dll
+ $(MCS) $(MCS_FLAGS) -t:library -out:gcc4cli.utils.dll $(UTILS_FULL_SRC) AssemblyInfo.cs
-ld.exe: $(LD_FULL_SRC) Mono.Cecil.dll gcc4cli.utils.dll
- $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:ld.exe $(LD_FULL_SRC)
+ld.exe: $(LD_FULL_SRC) AssemblyInfo.cs Mono.Cecil.dll gcc4cli.utils.dll
+ $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:ld.exe $(LD_FULL_SRC) AssemblyInfo.cs
-nm.exe: $(NM_FULL_SRC) Mono.Cecil.dll gcc4cli.utils.dll
- $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:nm.exe $(NM_FULL_SRC)
+nm.exe: $(NM_FULL_SRC) AssemblyInfo.cs Mono.Cecil.dll gcc4cli.utils.dll
+ $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:nm.exe $(NM_FULL_SRC) AssemblyInfo.cs
-ar.exe: $(AR_FULL_SRC) Mono.Cecil.dll gcc4cli.utils.dll
- $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:ar.exe $(AR_FULL_SRC)
+ar.exe: $(AR_FULL_SRC) AssemblyInfo.cs Mono.Cecil.dll gcc4cli.utils.dll
+ $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:ar.exe $(AR_FULL_SRC) AssemblyInfo.cs
-objdump.exe: $(OBJDUMP_FULL_SRC) Mono.Cecil.dll gcc4cli.utils.dll
- $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:objdump.exe $(OBJDUMP_FULL_SRC)
+objdump.exe: $(OBJDUMP_FULL_SRC) AssemblyInfo.cs Mono.Cecil.dll gcc4cli.utils.dll
+ $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:objdump.exe $(OBJDUMP_FULL_SRC) AssemblyInfo.cs
-objcopy.exe: $(OBJCOPY_FULL_SRC) Mono.Cecil.dll gcc4cli.utils.dll
- $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:objcopy.exe $(OBJCOPY_FULL_SRC)
+objcopy.exe: $(OBJCOPY_FULL_SRC) AssemblyInfo.cs Mono.Cecil.dll gcc4cli.utils.dll
+ $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:objcopy.exe $(OBJCOPY_FULL_SRC) AssemblyInfo.cs
EXTRA_DIST = $(UTILS_SRC) $(LD_SRC) $(NM_SRC) $(AR_SRC) $(OBJDUMP_SRC) $(OBJCOPY_SRC)
CLEANFILES = $(lbin_DATA) $(lbin_DATA:%=%.mdb)
Modified: mono-based-binutils/trunk/tools/Makefile.in
===================================================================
--- mono-based-binutils/trunk/tools/Makefile.in 2010-04-06 19:30:24 UTC (rev 33)
+++ mono-based-binutils/trunk/tools/Makefile.in 2010-04-06 19:38:02 UTC (rev 34)
@@ -37,13 +37,14 @@
target_triplet = @target@
@ENABLE_DEBUG_TRUE@am__append_1 = -debug
subdir = tools
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(srcdir)/AssemblyInfo.cs.in $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
-CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_FILES = AssemblyInfo.cs
CONFIG_CLEAN_VPATH_FILES =
SOURCES =
DIST_SOURCES =
@@ -255,6 +256,8 @@
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
+AssemblyInfo.cs: $(top_builddir)/config.status $(srcdir)/AssemblyInfo.cs.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
install-lbinDATA: $(lbin_DATA)
@$(NORMAL_INSTALL)
test -z "$(lbindir)" || $(MKDIR_P) "$(DESTDIR)$(lbindir)"
@@ -428,23 +431,23 @@
Mono.Cecil.dll: $(CECIL_SRC)
$(MCS) -t:library -out:Mono.Cecil.dll $(CECIL_SRC)
-gcc4cli.utils.dll: $(UTILS_FULL_SRC) Mono.Cecil.dll
- $(MCS) $(MCS_FLAGS) -t:library -out:gcc4cli.utils.dll $(UTILS_FULL_SRC)
+gcc4cli.utils.dll: $(UTILS_FULL_SRC) AssemblyInfo.cs Mono.Cecil.dll
+ $(MCS) $(MCS_FLAGS) -t:library -out:gcc4cli.utils.dll $(UTILS_FULL_SRC) AssemblyInfo.cs
-ld.exe: $(LD_FULL_SRC) Mono.Cecil.dll gcc4cli.utils.dll
- $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:ld.exe $(LD_FULL_SRC)
+ld.exe: $(LD_FULL_SRC) AssemblyInfo.cs Mono.Cecil.dll gcc4cli.utils.dll
+ $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:ld.exe $(LD_FULL_SRC) AssemblyInfo.cs
-nm.exe: $(NM_FULL_SRC) Mono.Cecil.dll gcc4cli.utils.dll
- $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:nm.exe $(NM_FULL_SRC)
+nm.exe: $(NM_FULL_SRC) AssemblyInfo.cs Mono.Cecil.dll gcc4cli.utils.dll
+ $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:nm.exe $(NM_FULL_SRC) AssemblyInfo.cs
-ar.exe: $(AR_FULL_SRC) Mono.Cecil.dll gcc4cli.utils.dll
- $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:ar.exe $(AR_FULL_SRC)
+ar.exe: $(AR_FULL_SRC) AssemblyInfo.cs Mono.Cecil.dll gcc4cli.utils.dll
+ $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:ar.exe $(AR_FULL_SRC) AssemblyInfo.cs
-objdump.exe: $(OBJDUMP_FULL_SRC) Mono.Cecil.dll gcc4cli.utils.dll
- $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:objdump.exe $(OBJDUMP_FULL_SRC)
+objdump.exe: $(OBJDUMP_FULL_SRC) AssemblyInfo.cs Mono.Cecil.dll gcc4cli.utils.dll
+ $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:objdump.exe $(OBJDUMP_FULL_SRC) AssemblyInfo.cs
-objcopy.exe: $(OBJCOPY_FULL_SRC) Mono.Cecil.dll gcc4cli.utils.dll
- $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:objcopy.exe $(OBJCOPY_FULL_SRC)
+objcopy.exe: $(OBJCOPY_FULL_SRC) AssemblyInfo.cs Mono.Cecil.dll gcc4cli.utils.dll
+ $(MCS) $(MCS_FLAGS) -r:gcc4cli.utils.dll -out:objcopy.exe $(OBJCOPY_FULL_SRC) AssemblyInfo.cs
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|