aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x509sat/Makefile
blob: 39cc4fcd51c0a24017c2a3abf1b6e9e2cdd99f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $Id$

DISSECTOR_FILES=packet-x509sat.c packet-x509sat.h

all: generate_dissector

generate_dissector: $(DISSECTOR_FILES)

$(DISSECTOR_FILES): ../../tools/asn2wrs.py SelectedAttributeTypes.asn packet-x509sat-template.c packet-x509sat-template.h x509sat.cnf ../x509if/x509if-exp.cnf
	python ../../tools/asn2wrs.py -b -e -p x509sat -c x509sat.cnf -s packet-x509sat-template SelectedAttributeTypes.asn
	sed -e "s/\([\"\.]\)Syntax/\1/g" -i.orig packet-x509sat.c

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

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