aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ess
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-16 10:19:21 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-16 10:19:21 +0000
commit9dbee980ee08eedcd6451394a1603f5bc73ed9f5 (patch)
tree60b069d867770bd120745edba9ae9298d16f75f5 /asn1/ess
parent5df87477dd08100e005d01d1f7aafc2a96dbd79c (diff)
Make the Makefile look like the h235 Makefiles, with the new rules.
Get rid of their "executable" property, and set svn:keywords to Id and svn:eol-style to native if they're not already set. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13071 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1/ess')
-rw-r--r--[-rwxr-xr-x]asn1/ess/Makefile21
1 files changed, 19 insertions, 2 deletions
diff --git a/asn1/ess/Makefile b/asn1/ess/Makefile
index 8c5fdcb141..dc0106a462 100755..100644
--- a/asn1/ess/Makefile
+++ b/asn1/ess/Makefile
@@ -1,5 +1,22 @@
+# $Id$
-../../epan/dissectors/packet-ess.c : ../../tools/asn2eth.py ExtendedSecurityServices.asn packet-ess-template.c packet-ess-template.h ess.cnf
+DISSECTOR_FILES=packet-ess.c packet-ess.h
+
+all: generate_dissector
+
+generate_dissector: $(DISSECTOR_FILES)
+
+$(DISSECTOR_FILES): ../../tools/asn2eth.py ExtendedSecurityServices.asn packet-ess-template.c packet-ess-template.h ess.cnf
python ../../tools/asn2eth.py -X -b -k -e -p ess -c ess.cnf -s packet-ess-template ExtendedSecurityServices.asn
- cp packet-ess.* ../../epan/dissectors
+clean:
+ rm -f parsetab.py $(DISSECTOR_FILES) \
+ packet-ess-ettarr.c \
+ packet-ess-hfarr.c \
+ packet-ess-dis-tab.c \
+ packet-ess-fn.c \
+ packet-ess-ett.c \
+ packet-ess-hf.c
+
+copy_files: generate_dissector
+ cp $(DISSECTOR_FILES) ../../epan/dissectors