diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2007-09-17 11:53:33 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2007-09-17 11:53:33 +0000 |
commit | 8f19616ae86f9e5a5f70eb2bb2b468caf40461ea (patch) | |
tree | 5363f1e168421710cffbdeb071cc3c6cab996ba5 /asn1/sabp | |
parent | e513ff17002a55ddfba0b1bb1748d88897156c77 (diff) |
Modified some ASN1 Makefiles to compile on unix.
Added some clean targets.
Removed asn1/x501 directory.
svn path=/trunk/; revision=22886
Diffstat (limited to 'asn1/sabp')
-rw-r--r-- | asn1/sabp/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
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) |