diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2010-01-07 15:13:41 +0300 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2010-01-07 15:13:41 +0300 |
commit | 37ed0bff601269f0e6509bb838dbcb155c38cd1a (patch) | |
tree | cd3794a72fd21d915d69b1b30ef2ac1cc6fc16de /scripts | |
parent | 809eae11c26fd7fe000658348f4b7629c468e209 (diff) |
2010-01-06 Rodrigo Kumpera <rkumpera@novell.com>
* scripts/Makefile.am: Add peverify script.
* scripts/peverify.in: Added.
svn path=/trunk/mono/; revision=149167
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 5 | ||||
-rw-r--r-- | scripts/peverify.in | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index d8d0376f271..2085ef09999 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -36,6 +36,7 @@ bin_SCRIPTS = \ $(MDOC_COMPAT) \ mod$(SCRIPT_SUFFIX) \ mono-test-install \ + peverify \ mono-heapviz if INSTALL_4_0 @@ -142,6 +143,7 @@ EXTRA_DIST = \ mono-service.in \ mono-find-provides.in \ mono-find-requires.in \ + peverify.in \ mono-test-install \ mono-heapviz \ $(MDOC_COMPAT) \ @@ -181,6 +183,9 @@ REWRITE2_1 = $(REWRITE) -e 's,@''framework_version@,2.1,g' REWRITE4 = $(REWRITE) -e 's,@''framework_version@,4.0,g' REWRITE2_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,2.0,g' +peverify: peverify.in Makefile + $(REWRITE_COMMON) $(srcdir)/peverify.in > $@.tmp + mv -f $@.tmp $@ mono-service: mono-service.in Makefile $(REWRITE2) -e 's,@''exe_name@,$@,g' $(srcdir)/mono-service.in > $@.tmp diff --git a/scripts/peverify.in b/scripts/peverify.in new file mode 100644 index 00000000000..894132e6653 --- /dev/null +++ b/scripts/peverify.in @@ -0,0 +1,2 @@ +#!/bin/sh +exec @bindir@/pedump $MONO_OPTIONS --verify metadata,code "$@" |