diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-04-15 22:44:02 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-04-15 22:44:02 +0000 |
commit | cb1025cfdc89c0528b3e9fa97dd584ed0860fa8c (patch) | |
tree | 6d50e2b95eab84868a4f88ef2cd15d2c8dcb19fd /asn1/Makefile.inc.nmake | |
parent | f15b72ef09af43638fabfa6ee6e4ec955fc03fc8 (diff) | |
download | wireshark-cb1025cfdc89c0528b3e9fa97dd584ed0860fa8c.tar.gz wireshark-cb1025cfdc89c0528b3e9fa97dd584ed0860fa8c.tar.bz2 wireshark-cb1025cfdc89c0528b3e9fa97dd584ed0860fa8c.zip |
Enhance Windows ASN1 Makefiles:
1. Implement a 'compare_files' target which can be used when generating
an individual ASN1 dissector. This generates the dissector and
then compares the generated .[hc] files with apn\dissectors (rather than
copying the files to epan\dissectors).
2. Rework asn1\Makefile.nmake to provide additional targets for
use when building all the ASN1 dissectors.
- compare_files
- generate_dissectors [generate but don't copy]
svn path=/trunk/; revision=32484
Diffstat (limited to 'asn1/Makefile.inc.nmake')
-rw-r--r-- | asn1/Makefile.inc.nmake | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/asn1/Makefile.inc.nmake b/asn1/Makefile.inc.nmake index 79f6373ec1..80f1a4b1a5 100644 --- a/asn1/Makefile.inc.nmake +++ b/asn1/Makefile.inc.nmake @@ -79,6 +79,14 @@ fix_eol: generate_dissector u2d $(DISSECTOR_FILES) copy_files: generate_dissector - <<copy_files.bat -FOR %%A IN ($(DISSECTOR_FILES)) DO xcopy %%A ..\..\epan\dissectors /d /y + @<<copy_files.bat +@FOR %%A IN ($(DISSECTOR_FILES)) DO xcopy %%A ..\..\epan\dissectors /d /y +<< + +compare_files: generate_dissector + @<<compare_files.bat +@setlocal +@set CYGWIN=%CYGWIN% nodosfilewarning +@FOR %%A IN ($(DISSECTOR_FILES)) DO @diff -U 0 -I '[[:blank:]]\*[[:blank:]]\^$Id:[[:blank:]]' %%A ..\..\epan\dissectors +@exit /b 0 << |