wireshark/asn1/ess/Makefile.common
Jeff Morriss b21b495f9f Don't generate the conformance file for exported types when building the
dissector; instead built it only when the separate target (generate_export)
is built.

Built generate_export when building "all".

This prevents the exp_*.cnf files from being regenerated each time another one
of the exp_*.cnf files (which the current dissector depends on) has changed
(despite the fact that the exported types does not depe

Also fix the CLEANFILES definition so it actually cleans things.

svn path=/trunk/; revision=39421
2011-10-14 10:22:01 +00:00

58 lines
1.6 KiB
Makefile

# $Id$
#
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
PROTOCOL_NAME=ess
EXT_ASN_FILE_LIST =
ASN_FILE_LIST = ExtendedSecurityServices.asn
# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn
# files do not exist for all protocols: Please add/remove as required.
EXTRA_DIST = \
Makefile.nmake \
$(ASN_FILE_LIST) \
packet-$(PROTOCOL_NAME)-template.c \
packet-$(PROTOCOL_NAME)-template.h \
$(PROTOCOL_NAME).cnf
SRC_FILES = \
$(EXTRA_DIST) \
$(EXT_ASN_FILE_LIST)
A2W_FLAGS= -b -k -C
EXTRA_CNF= \
$(builddir)/../cms/cms-exp.cnf \
$(builddir)/../x509af/x509af-exp.cnf \
$(builddir)/../x509ce/x509ce-exp.cnf
$(builddir)/../cms/cms-exp.cnf:
(cd $(builddir)/../cms && $(MAKE_CNF_EXPORT))
$(builddir)/../x509af/x509af-exp.cnf:
(cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT))
$(builddir)/../x509ce/x509ce-exp.cnf:
(cd $(builddir)/../x509ce && $(MAKE_CNF_EXPORT))