hopefully this will do what Thomas wants for NO_PROTO_OPT
authorRichard van der Hoff <richardv@mxtelecom.com>
Fri, 5 Oct 2007 14:45:21 +0000 (14:45 -0000)
committerRichard van der Hoff <richardv@mxtelecom.com>
Fri, 5 Oct 2007 14:45:21 +0000 (14:45 -0000)
svn path=/trunk/; revision=23074

asn1/Makefile.inc

index 2610370ba02da12474d4e86c911231b94818c758..b58a7f4fe032112f2714e9d0c42b45fb8d029680 100644 (file)
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
+ifdef NO_PROTO_OPT
+PROTO_OPT =
+else
+PROTO_OPT = -p $(PROTOCOL_NAME)
+endif
 
 all: generate_dissector
 
 generate_dissector: $(DISSECTOR_FILES)
 
-# commented out till it is fixed
-#if NO_PROTO_OPT
-#PROTO_OPT =
-#else
-PROTO_OPT = -p $(PROTOCOL_NAME)
-#endif
 
 $(DISSECTOR_FILES): $(top_srcdir)/tools/asn2wrs.py $(SRC_FILES) $(EXTRA_CNF)
        python $(top_srcdir)/tools/asn2wrs.py \