diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2007-09-25 11:58:35 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2007-09-25 11:58:35 +0000 |
commit | 30de0aadf2ee06fcec4d27bc9b5b84308c38ba3f (patch) | |
tree | f2eeb5efe80f4558221fa4e5cc329bd0b8f29965 /asn1/Makefile.inc.nmake | |
parent | 3b3f182b99ef4bb1d49bcb3399373525a24e82c0 (diff) |
put few simple ASN.1 dissectors into the new makefile structure
svn path=/trunk/; revision=22951
Diffstat (limited to 'asn1/Makefile.inc.nmake')
-rw-r--r-- | asn1/Makefile.inc.nmake | 11 |
1 files changed, 8 insertions, 3 deletions
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 |