Refactor pinfo->circuit_id from H.223 dissector.
[metze/wireshark/wip.git] / asn1 / Makefile.nmake
1 ## Makefile for building wireshark.exe with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
3 ##  (See 'Logic' below for additional details)
4 #
5 # Wireshark - Network traffic analyzer
6 # By Gerald Combs <gerald@wireshark.org>
7 # Copyright 1998 Gerald Combs
8 #
9 # This program is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License
11 # as published by the Free Software Foundation; either version 2
12 # of the License, or (at your option) any later version.
13 #
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22
23
24 # Logic;
25 # 1. If this Makefile is invoked w/o a target:
26 #    Do default target 'all' which invokes the Makefile.nmake
27 #     in each individual ASN1 sub-directory using the value of ASN1_MAKE_TARGET
28 #     as the make target.
29 #    (If ASN1_MAKE_TARGET is not defined then default to "all"
30 #     which generates the individual ASN1 dissector files into
31 #     epan\dissectors).
32 #
33 # 2. If this Makefile is invoked with one of the following targets, then do the action for the target:
34 #    Reinvoke this Makefile with 'all' as target and with ASN1_MAKE_TARGET
35 #     defined as appropriate.
36 #       clean
37 #       copy_files           : generate the dissectors into epan\dissectors
38 #                            :  (This is, in effect, the same as invoking this makefile w/o a target).
39
40 include Custom.make
41
42 BER_LIST= \
43         acp133                  \
44         acse                    \
45         ansi_map                \
46         ansi_tcap               \
47         atn-cm          \
48         atn-cpdlc       \
49         atn-ulcs        \
50         camel                   \
51         cdt                     \
52         charging_ase            \
53         cmip                    \
54         cmp                     \
55         crmf                    \
56         cms                     \
57         credssp                 \
58         dap                     \
59         dop                     \
60         disp                    \
61         dsp                     \
62         ess                     \
63         ftam                    \
64         goose                   \
65         gsm_map                 \
66         gprscdr                 \
67         h248                    \
68         HI2Operations           \
69         idmp                    \
70         inap                    \
71         isdn-sup                \
72         kerberos                \
73         ldap                    \
74         logotypecertextn        \
75         mms                     \
76         ns_cert_exts            \
77         novell_pkis                     \
78         ocsp                    \
79         p1                      \
80         p22                     \
81         p7                      \
82         p772                    \
83         pkcs1                   \
84         pkcs12                  \
85         pkinit                  \
86         pkixac                  \
87         pkix1explicit           \
88         pkix1implicit           \
89         pkixproxy               \
90         pkixqualified           \
91         pkixtsp                 \
92         pres                    \
93         q932                    \
94         q932-ros                \
95         qsig                    \
96         ros                     \
97         rtse                    \
98         smrse                   \
99         snmp                    \
100         spnego                  \
101         sv                      \
102         t125                    \
103         tcap                    \
104         wlancertextn            \
105         x509af                  \
106         x509ce                  \
107         x509if                  \
108         x509sat                 \
109         $(CUSTOM_BER_LIST)
110
111 PER_LIST= \
112         h225                    \
113         h235                    \
114         h245                    \
115         h282                    \
116         h283                    \
117         h323                    \
118         h450                    \
119         h450-ros                \
120         h460                    \
121         h501                    \
122         hnbap                   \
123         ilp                     \
124         lcsap                   \
125         lpp                     \
126         lppa                    \
127         lppe                    \
128         lte-rrc                 \
129         nbap                    \
130         m3ap                    \
131         mpeg-audio              \
132         mpeg-pes                \
133         pcap                    \
134         ranap                   \
135         rnsap                   \
136         rrc                     \
137         rrlp                    \
138         rua                     \
139         s1ap                    \
140         sabp                    \
141         sbc-ap                  \
142         t124                    \
143         t38                     \
144         tetra                   \
145         ulp                     \
146         x2ap                    \
147 ###     x721
148         $(CUSTOM_PER_LIST)
149
150 !IFNDEF ASN1_MAKE_TARGET
151 ASN1_MAKE_TARGET=all
152 !ENDIF
153
154 all: ber per
155
156 ber: $(BER_LIST)
157
158 per: $(PER_LIST)
159
160 $(BER_LIST) $(PER_LIST) : _FORCE_  # _FORCE_ req'd since each target actually exists
161         cd $@
162         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(ASN1_MAKE_TARGET)
163         cd ..
164
165 # When this Makefile is invoked with an explicit target then
166 #  this Makefile is re-invoked with 'all' as target and with
167 #  ASN1_MAKE_TARGET defined as to the action needed.
168 # copy_files is a bit of a misnomer now, but we need another
169 # (non-"all") target...
170
171 clean copy_files :
172         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake all ASN1_MAKE_TARGET=$@
173
174 ####
175 _FORCE_:  ## Assumption: no file named _FORCE_ exists in the current directory
176