diff options
author | Anders Broman <anders.broman@ericsson.com> | 2008-11-15 14:39:04 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2008-11-15 14:39:04 +0000 |
commit | 67986a1a5ffb9f3edb8243aceacd4be33ff9292c (patch) | |
tree | 86ce47b960e82580f71f24fcbe8c18cac977fcb1 /asn1/Makefile.inc.nmake | |
parent | fbb3653573580428de94632b2040e6737d714dbc (diff) |
From Pascal Quantin:
Fix building of packet-gsm_map.c and packet-gsm_map.h files.
svn path=/trunk/; revision=26782
Diffstat (limited to 'asn1/Makefile.inc.nmake')
-rw-r--r-- | asn1/Makefile.inc.nmake | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/asn1/Makefile.inc.nmake b/asn1/Makefile.inc.nmake index 6daf8b7e0f..a091dc9a78 100644 --- a/asn1/Makefile.inc.nmake +++ b/asn1/Makefile.inc.nmake @@ -78,18 +78,17 @@ maintainer-clean: distclean # the generated stuff has "\n". fix_eol: generate_dissector - move packet-$(PROTOCOL_NAME).c packet-$(PROTOCOL_NAME).c.tmp - $(UNIX2DOS) < packet-$(PROTOCOL_NAME).c.tmp > packet-$(PROTOCOL_NAME).c - del /f packet-$(PROTOCOL_NAME).c.tmp -!IFDEF NEED_PACKET_PROTO_H - move packet-$(PROTOCOL_NAME).h packet-$(PROTOCOL_NAME).h.tmp - $(UNIX2DOS) < packet-$(PROTOCOL_NAME).h.tmp > packet-$(PROTOCOL_NAME).h - del /f packet-$(PROTOCOL_NAME).h.tmp -!ENDIF + <<fix_file.bat +IF "%1"=="" EXIT +move %1 %1.tmp +$(UNIX2DOS) < %1.tmp > %1 + del /f %1.tmp +<< + <<fix_eol.bat +FOR %%A IN ($(DISSECTOR_FILES)) DO CALL fix_file.bat %%A +<< copy_files: generate_dissector - xcopy packet-$(PROTOCOL_NAME).c ..\..\epan\dissectors /d /y -!IFDEF NEED_PACKET_PROTO_H - xcopy packet-$(PROTOCOL_NAME).h ..\..\epan\dissectors /d /y -!ENDIF - + <<copy_files.bat +FOR %%A IN ($(DISSECTOR_FILES)) DO xcopy %%A ..\..\epan\dissectors/d /y +<< |