From 30de0aadf2ee06fcec4d27bc9b5b84308c38ba3f Mon Sep 17 00:00:00 2001 From: Tomas Kukosa Date: Tue, 25 Sep 2007 11:58:35 +0000 Subject: put few simple ASN.1 dissectors into the new makefile structure svn path=/trunk/; revision=22951 --- asn1/Makefile.inc.nmake | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'asn1/Makefile.inc.nmake') diff --git a/asn1/Makefile.inc.nmake b/asn1/Makefile.inc.nmake index 6a082a5be0..c5c997ee5d 100644 --- a/asn1/Makefile.inc.nmake +++ b/asn1/Makefile.inc.nmake @@ -35,7 +35,7 @@ $(DISSECTOR_FILES): ../../tools/asn2wrs.py $(SRC_FILES) -p $(PROTOCOL_NAME) \ -c $(PROTOCOL_NAME).cnf \ -s packet-$(PROTOCOL_NAME)-template \ - $(ASN_FILE_LIST) + $(ASN_FILE_LIST) $(EXT_ASN_FILE_LIST) !ELSE @echo Error: You need Python to use asn2wrs.py @exit 1 @@ -60,12 +60,17 @@ maintainer-clean: distclean fix_eol: generate_dissector move packet-$(PROTOCOL_NAME).c packet-$(PROTOCOL_NAME).c.tmp - move packet-$(PROTOCOL_NAME).h packet-$(PROTOCOL_NAME).h.tmp $(UNIX2DOS) < packet-$(PROTOCOL_NAME).c.tmp > packet-$(PROTOCOL_NAME).c + del /f packet-$(PROTOCOL_NAME).c.tmp +!IF $(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).c.tmp packet-$(PROTOCOL_NAME).h.tmp + del /f packet-$(PROTOCOL_NAME).h.tmp +!ENDIF copy_files: generate_dissector xcopy packet-$(PROTOCOL_NAME).c ..\..\epan\dissectors /d /y +!IF $(NEED_PACKET_PROTO_H) xcopy packet-$(PROTOCOL_NAME).h ..\..\epan\dissectors /d /y +!ENDIF -- cgit v1.2.3