From 8f19616ae86f9e5a5f70eb2bb2b468caf40461ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Mon, 17 Sep 2007 11:53:33 +0000 Subject: Modified some ASN1 Makefiles to compile on unix. Added some clean targets. Removed asn1/x501 directory. svn path=/trunk/; revision=22886 --- asn1/sabp/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'asn1/sabp') diff --git a/asn1/sabp/Makefile b/asn1/sabp/Makefile index d6f1d951c1..fc09925c1c 100644 --- a/asn1/sabp/Makefile +++ b/asn1/sabp/Makefile @@ -1,13 +1,15 @@ # $Id$ -DISSECTOR_FILES=packet-sabp.c +PROTOCOL_NAME=sabp +DISSECTOR_FILES=packet-$(PROTOCOL_NAME).c +SABP_ASN=SABP-CommonDataTypes.asn SABP-Constants.asn SABP-Containers.asn SABP-IEs.asn SABP-PDU-Contents.asn SABP-PDU-Descriptions.asn all: generate_dissector generate_dissector: $(DISSECTOR_FILES) -$(DISSECTOR_FILES): ../../tools/asn2wrs.py sabp.asn packet-sabp-template.c sabp.cnf - python ../../tools/asn2wrs.py -p sabp -c sabp.cnf -s packet-sabp-template SABP-CommonDataTypes.asn SABP-Constants.asn SABP-Containers.asn SABP-IEs.asn SABP-PDU-Contents.asn SABP-PDU-Descriptions.asn +$(DISSECTOR_FILES): ../../tools/asn2wrs.py $(SABP_ASN) packet-sabp-template.c sabp.cnf + python ../../tools/asn2wrs.py -p $(PROTOCOL_NAME) -c sabp.cnf -s packet-sabp-template $(SABP_ASN) clean: rm -f parsetab.py $(DISSECTOR_FILES) -- cgit v1.2.3