aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x420/Makefile
blob: 0b06e127bc9357c0325e31aeaae42b50252ae3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $Id$

DISSECTOR_FILES=packet-x420.c packet-x420.h

ASN_FILE_LIST=x420.asn ftbp.asn

all: generate_dissector

generate_dissector: $(DISSECTOR_FILES)

$(DISSECTOR_FILES): ../../tools/asn2wrs.py $(ASN_FILE_LIST) packet-x420-template.c packet-x420-template.h x420.cnf
	python ../../tools/asn2wrs.py -b -e -p x420 -c x420.cnf -s packet-x420-template $(ASN_FILE_LIST) 

clean:
	rm -f parsetab.py $(DISSECTOR_FILES)

copy_files: generate_dissector
	cp $(DISSECTOR_FILES) ../../epan/dissectors