wireshark/epan/Makefile.common
Guy Harris 6ea3d47e77 "make maintainer-clean" cleans up everything that "make distclean" does;
there's no need for files in DISTCLEANFILES to be in
MAINTAINERCLEANFILES as well.

In epan, split the generated source files into those that should be
cleaned by "make distclean" and those that shouldn't, and have
DISTCLEANFILES include only the ones that should be cleaned by "make
distclean" and have MAINTAINERCLEANFILES include the ones that shouldn't
be cleaned by "make distclean".  This should fix bug 1595.

The generated source files don't need to be in EXTRA_DIST.

Use LIBWIRESHARK_DISTCLEAN_GENERATED_SRC and
LIBWIRESHARK_NODISTCLEAN_GENERATED_SRC in epan/Makefile.nmake.

svn path=/trunk/; revision=21882
2007-05-22 07:21:12 +00:00

226 lines
4.4 KiB
Makefile

# Makefile.common
# Contains the stuff from Makefile.am and Makefile.nmake that is
# a) common to both files and
# b) portable between both files
#
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
LIBWIRESHARK_SRC = \
addr_and_mask.c \
addr_resolv.c \
adler32.c \
afn.c \
asn1.c \
atalk-utils.c \
base64.c \
bitswap.c \
camel-persistentdata.c \
charsets.c \
circuit.c \
column.c \
column-utils.c \
conversation.c \
crc16.c \
crc32.c \
crcdrm.c \
emem.c \
epan.c \
ex-opt.c \
except.c \
expert.c \
filesystem.c \
follow.c \
frame_data.c \
funnel.c \
gcp.c \
guid-utils.c \
h225-persistentdata.c \
in_cksum.c \
ipproto.c \
ipv4.c \
next_tvb.c \
nstime.c \
oid_resolv.c \
osi-utils.c \
packet.c \
plugins.c \
prefs.c \
privileges.c \
proto.c \
range.c \
reassemble.c \
reedsolomon.c \
req_resp_hdrs.c \
sigcomp_state_hdlr.c \
sigcomp-udvm.c \
sminmpec.c \
sna-utils.c \
stat_cmd_args.c \
stats_tree.c \
strutil.c \
stream.c \
t35.c \
tap.c \
tcap-persistentdata.c \
timestamp.c \
tfs.c \
to_str.c \
tvbparse.c \
tvbuff.c \
uat.c \
unicode-utils.c \
value_string.c \
ws_strsplit.c \
xdlc.c \
xmlstub.c
#
# These get removed on "make distclean", as the tools we use to generate
# them are part of the Wireshark distribution.
#
LIBWIRESHARK_DISTCLEAN_GENERATED_SRC = \
dtd_grammar.c
#
# These don't get removed on "make distclean", as the tools we use to
# generate them aren't part of the Wireshark distribution, and aren't
# tools assumed to be present for any system capable of compiling
# from a tarball (e.g., make and a C compiler are assumed to be present,
# but Flex isn't).
#
LIBWIRESHARK_NODISTCLEAN_GENERATED_SRC = \
dtd_parse.c \
dtd_preparse.c \
radius_dict.c \
uat_load.c
LIBWIRESHARK_GENERATED_SRC = \
$(LIBWIRESHARK_DISTCLEAN_GENERATED_SRC) \
$(LIBWIRESHARK_NODISTCLEAN_GENERATED_SRC)
LIBWIRESHARK_ALL_SRC = \
$(LIBWIRESHARK_SRC) \
$(LIBWIRESHARK_GENERATED_SRC)
LIBWIRESHARK_INCLUDES = \
addr_and_mask.h \
addr_resolv.h \
address.h \
adler32.h \
afn.h \
aftypes.h \
arcnet_pids.h \
arptypes.h \
asn1.h \
atalk-utils.h \
base64.h \
bitswap.h \
bridged_pids.h \
camel-persistentdata.h \
charsets.h \
chdlctypes.h \
circuit.h \
column.h \
column_info.h \
column-utils.h \
conversation.h \
crc16.h \
crc32.h \
crcdrm.h \
dtd.h \
dtd_grammar.h \
dtd_parse.h \
emem.h \
epan.h \
epan_dissect.h \
etypes.h \
ex-opt.h \
except.h \
exceptions.h \
expert.h \
filesystem.h \
follow.h \
frame_data.h \
funnel.h \
garrayfix.h \
gcp.h \
gnuc_format_check.h \
greproto.h \
guid-utils.h \
h225-persistentdata.h \
iax2_codec_type.h \
in_cksum.h \
ip_opts.h \
ipproto.h \
ipv4.h \
ipv6-utils.h \
lapd_sapi.h \
llcsaps.h \
next_tvb.h \
nlpid.h \
nstime.h \
oid_resolv.h \
osi-utils.h \
oui.h \
packet.h \
packet_info.h \
pint.h \
plugins.h \
ppptypes.h \
prefs.h \
prefs-int.h \
privileges.h \
proto.h \
ptvcursor.h \
range.h \
reassemble.h \
reedsolomon.h \
report_err.h \
req_resp_hdrs.h \
rtp_pt.h \
sctpppids.h \
sigcomp_state_hdlr.h \
sigcomp-udvm.h \
slab.h \
sminmpec.h \
sna-utils.h \
stat_cmd_args.h \
stats_tree.h \
stats_tree_priv.h \
stream.h \
strutil.h \
t35.h \
tap.h \
tcap-persistentdata.h \
timestamp.h \
tfs.h \
to_str.h \
tvbparse.h \
tvbuff.h \
uat.h \
uat-int.h \
unicode-utils.h \
value_string.h \
ws_strsplit.h \
x264_prt_id.h \
xdlc.h \
xmlstub.h