2006-05-23 14:30:05 +00:00
|
|
|
## Makefile for building wireshark.exe with Microsoft C and nmake
|
2006-04-25 18:34:09 +00:00
|
|
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
2010-04-16 14:50:39 +00:00
|
|
|
## (See 'Logic' below for additional details)
|
2006-04-25 18:34:09 +00:00
|
|
|
#
|
2007-09-25 10:30:55 +00:00
|
|
|
# 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
|
2012-06-28 22:56:06 +00:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2007-09-25 10:30:55 +00:00
|
|
|
|
2005-12-05 23:00:03 +00:00
|
|
|
|
2010-04-15 22:44:02 +00:00
|
|
|
# Logic;
|
2011-10-06 16:43:24 +00:00
|
|
|
# 1. If this Makefile is invoked w/o a target:
|
2010-04-15 22:44:02 +00:00
|
|
|
# Do default target 'all' which invokes the Makefile.nmake
|
|
|
|
# in each individual ASN1 sub-directory using the value of ASN1_MAKE_TARGET
|
|
|
|
# as the make target.
|
2011-10-10 14:54:12 +00:00
|
|
|
# (If ASN1_MAKE_TARGET is not defined then default to "all"
|
|
|
|
# which generates the individual ASN1 dissector files into
|
|
|
|
# epan\dissectors).
|
2010-04-16 14:50:39 +00:00
|
|
|
#
|
|
|
|
# 2. If this Makefile is invoked with one of the following targets, then do the action for the target:
|
2011-10-06 16:43:24 +00:00
|
|
|
# Reinvoke this Makefile with 'all' as target and with ASN1_MAKE_TARGET
|
2010-04-15 22:44:02 +00:00
|
|
|
# defined as appropriate.
|
2010-04-16 14:50:39 +00:00
|
|
|
# clean
|
2011-10-10 14:54:12 +00:00
|
|
|
# copy_files : generate the dissectors into epan\dissectors
|
2010-04-16 14:50:39 +00:00
|
|
|
# : (This is, in effect, the same as invoking this makefile w/o a target).
|
2006-05-23 14:30:05 +00:00
|
|
|
|
2014-02-18 03:02:21 +00:00
|
|
|
include Custom.make
|
2011-10-10 18:26:33 +00:00
|
|
|
|
2010-04-16 14:50:39 +00:00
|
|
|
BER_LIST= \
|
2010-04-18 14:06:59 +00:00
|
|
|
acp133 \
|
|
|
|
acse \
|
|
|
|
ansi_map \
|
|
|
|
ansi_tcap \
|
2013-09-05 05:26:04 +00:00
|
|
|
atn-cm \
|
|
|
|
atn-cpdlc \
|
|
|
|
atn-ulcs \
|
2010-04-18 14:06:59 +00:00
|
|
|
camel \
|
|
|
|
cdt \
|
|
|
|
charging_ase \
|
|
|
|
cmip \
|
|
|
|
cmp \
|
|
|
|
crmf \
|
|
|
|
cms \
|
2011-10-06 16:43:24 +00:00
|
|
|
credssp \
|
2010-04-18 14:06:59 +00:00
|
|
|
dap \
|
|
|
|
dop \
|
|
|
|
disp \
|
|
|
|
dsp \
|
|
|
|
ess \
|
|
|
|
ftam \
|
|
|
|
goose \
|
|
|
|
gsm_map \
|
2011-02-02 17:10:31 +00:00
|
|
|
gprscdr \
|
2010-04-18 14:06:59 +00:00
|
|
|
h248 \
|
|
|
|
HI2Operations \
|
2011-10-06 16:43:24 +00:00
|
|
|
idmp \
|
2010-04-18 14:06:59 +00:00
|
|
|
inap \
|
2013-02-17 18:32:35 +00:00
|
|
|
isdn-sup \
|
2014-04-16 19:58:16 +00:00
|
|
|
kerberos \
|
2010-04-18 14:06:59 +00:00
|
|
|
ldap \
|
2009-10-10 13:16:04 +00:00
|
|
|
logotypecertextn \
|
2010-04-18 14:06:59 +00:00
|
|
|
mms \
|
|
|
|
ns_cert_exts \
|
2013-12-31 14:20:08 +00:00
|
|
|
novell_pkis \
|
2010-04-18 14:06:59 +00:00
|
|
|
ocsp \
|
2011-02-20 17:03:29 +00:00
|
|
|
p1 \
|
|
|
|
p22 \
|
2010-04-18 14:06:59 +00:00
|
|
|
p7 \
|
2011-02-20 17:03:29 +00:00
|
|
|
p772 \
|
2010-04-18 14:06:59 +00:00
|
|
|
pkcs1 \
|
|
|
|
pkcs12 \
|
|
|
|
pkinit \
|
|
|
|
pkixac \
|
|
|
|
pkix1explicit \
|
|
|
|
pkix1implicit \
|
2009-10-10 14:03:27 +00:00
|
|
|
pkixproxy \
|
2010-04-18 14:06:59 +00:00
|
|
|
pkixqualified \
|
|
|
|
pkixtsp \
|
|
|
|
pres \
|
|
|
|
q932 \
|
|
|
|
q932-ros \
|
|
|
|
qsig \
|
|
|
|
ros \
|
|
|
|
rtse \
|
|
|
|
smrse \
|
|
|
|
snmp \
|
|
|
|
spnego \
|
2010-06-01 23:27:16 +00:00
|
|
|
sv \
|
2010-04-18 14:06:59 +00:00
|
|
|
t125 \
|
|
|
|
tcap \
|
|
|
|
wlancertextn \
|
|
|
|
x509af \
|
|
|
|
x509ce \
|
|
|
|
x509if \
|
2011-10-10 18:26:33 +00:00
|
|
|
x509sat \
|
|
|
|
$(CUSTOM_BER_LIST)
|
2009-10-10 14:03:27 +00:00
|
|
|
|
2010-04-16 14:50:39 +00:00
|
|
|
PER_LIST= \
|
2010-04-18 14:06:59 +00:00
|
|
|
h225 \
|
|
|
|
h235 \
|
|
|
|
h245 \
|
|
|
|
h282 \
|
|
|
|
h283 \
|
|
|
|
h323 \
|
|
|
|
h450 \
|
|
|
|
h450-ros \
|
|
|
|
h460 \
|
|
|
|
h501 \
|
|
|
|
hnbap \
|
2013-10-20 18:43:00 +00:00
|
|
|
ilp \
|
2011-10-11 18:16:53 +00:00
|
|
|
lcsap \
|
2012-07-09 20:55:09 +00:00
|
|
|
lpp \
|
2011-10-23 18:05:07 +00:00
|
|
|
lppa \
|
2012-07-09 20:55:09 +00:00
|
|
|
lppe \
|
2010-04-18 14:06:59 +00:00
|
|
|
lte-rrc \
|
|
|
|
nbap \
|
2012-02-01 19:36:16 +00:00
|
|
|
m3ap \
|
2010-04-18 14:06:59 +00:00
|
|
|
mpeg-audio \
|
|
|
|
mpeg-pes \
|
|
|
|
pcap \
|
|
|
|
ranap \
|
|
|
|
rnsap \
|
|
|
|
rrc \
|
|
|
|
rrlp \
|
|
|
|
rua \
|
|
|
|
s1ap \
|
|
|
|
sabp \
|
2011-11-08 17:28:55 +00:00
|
|
|
sbc-ap \
|
2011-10-15 21:43:46 +00:00
|
|
|
t124 \
|
2010-04-18 14:06:59 +00:00
|
|
|
t38 \
|
2011-02-02 20:11:02 +00:00
|
|
|
tetra \
|
2010-04-18 14:06:59 +00:00
|
|
|
ulp \
|
2011-10-06 16:43:24 +00:00
|
|
|
x2ap \
|
|
|
|
### x721
|
2011-10-10 18:26:33 +00:00
|
|
|
$(CUSTOM_PER_LIST)
|
2007-11-02 12:18:01 +00:00
|
|
|
|
2010-04-16 14:50:39 +00:00
|
|
|
!IFNDEF ASN1_MAKE_TARGET
|
2011-10-10 14:54:12 +00:00
|
|
|
ASN1_MAKE_TARGET=all
|
2010-04-16 14:50:39 +00:00
|
|
|
!ENDIF
|
2005-12-05 23:00:03 +00:00
|
|
|
|
2010-04-16 14:50:39 +00:00
|
|
|
all: ber per
|
2005-12-05 23:00:03 +00:00
|
|
|
|
2010-04-16 14:50:39 +00:00
|
|
|
ber: $(BER_LIST)
|
2005-12-05 23:00:03 +00:00
|
|
|
|
2010-04-16 14:50:39 +00:00
|
|
|
per: $(PER_LIST)
|
2006-04-25 18:34:09 +00:00
|
|
|
|
2010-04-18 14:06:59 +00:00
|
|
|
$(BER_LIST) $(PER_LIST) : _FORCE_ # _FORCE_ req'd since each target actually exists
|
2010-04-16 14:50:39 +00:00
|
|
|
cd $@
|
2010-04-15 22:44:02 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(ASN1_MAKE_TARGET)
|
2006-04-25 18:34:09 +00:00
|
|
|
cd ..
|
2010-04-15 22:44:02 +00:00
|
|
|
|
|
|
|
# When this Makefile is invoked with an explicit target then
|
2010-04-16 14:50:39 +00:00
|
|
|
# this Makefile is re-invoked with 'all' as target and with
|
2010-04-15 22:44:02 +00:00
|
|
|
# ASN1_MAKE_TARGET defined as to the action needed.
|
2011-10-10 14:54:12 +00:00
|
|
|
# copy_files is a bit of a misnomer now, but we need another
|
|
|
|
# (non-"all") target...
|
2010-04-15 22:44:02 +00:00
|
|
|
|
2011-10-10 14:54:12 +00:00
|
|
|
clean copy_files :
|
2010-04-16 14:50:39 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake all ASN1_MAKE_TARGET=$@
|
2010-04-15 22:44:02 +00:00
|
|
|
|
2010-04-18 14:06:59 +00:00
|
|
|
####
|
|
|
|
_FORCE_: ## Assumption: no file named _FORCE_ exists in the current directory
|
|
|
|
|