ba2578f669e4b606ae47cd10e770004796c854be
[obnox/wireshark/wip.git] / asn1 / pkcs12 / Makefile.common
1 # $Id$
2 #
3 #
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
7 #
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either version 2
11 # of the License, or (at your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21
22
23 PROTOCOL_NAME=pkcs12
24
25 EXT_ASN_FILE_LIST =
26
27 ASN_FILE_LIST = $(PROTOCOL_NAME).asn
28
29 # The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn
30 # files do not exist for all protocols: Please add/remove as required.
31 EXTRA_DIST = \
32         Makefile.nmake \
33         $(ASN_FILE_LIST) \
34         packet-$(PROTOCOL_NAME)-template.c \
35         packet-$(PROTOCOL_NAME)-template.h \
36         $(PROTOCOL_NAME).cnf
37
38 SRC_FILES = \
39         $(EXTRA_DIST) \
40         $(EXT_ASN_FILE_LIST)
41
42 A2W_FLAGS= -b
43
44 # Note the order here is important, cms needs at least x509af-exp to be generated first
45 EXTRA_CNF= \
46         $(builddir)/../x509if/x509if-exp.cnf  \
47         $(builddir)/../x509af/x509af-exp.cnf \
48         $(builddir)/../cms/cms-exp.cnf
49
50 $(builddir)/../cms/cms-exp.cnf:
51         (cd $(builddir)/../cms && $(MAKE_CNF_EXPORT))
52
53 $(builddir)/../x509af/x509af-exp.cnf:
54         (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT))
55
56 $(builddir)/../x509if/x509if-exp.cnf:
57         (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT))
58