diff options
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 "$@" |