forked from osmocom/wireshark
17 lines
428 B
Makefile
17 lines
428 B
Makefile
# $Id$
|
|
|
|
DISSECTOR_FILES=packet-gnm.c packet-gnm.h
|
|
|
|
all: generate_dissector
|
|
|
|
generate_dissector: $(DISSECTOR_FILES)
|
|
|
|
$(DISSECTOR_FILES): ../../tools/asn2wrs.py GNM.asn packet-gnm-template.c packet-gnm-template.h gnm.cnf
|
|
python ../../tools/asn2wrs.py -b -e -p gnm -c gnm.cnf -s packet-gnm-template GNM.asn
|
|
|
|
clean:
|
|
rm -f parsetab.py $(DISSECTOR_FILES)
|
|
|
|
copy_files: generate_dissector
|
|
cp $(DISSECTOR_FILES) ../../epan/dissectors
|