wireshark/epan/Makefile.common
Ronnie Sahlberg c841beb71b EMEM : a simple and FAST api to allocate memory that will be automatically freed() when the next packet is dissected.
This offesr memory allocation with a packet  scope making memory leaks less likely and memory management faster.


Add initialization calls for both tethereal and ethereal.

Convert the ip_to_str() function to use this and avoid doing the silly rotating buffers thing it previously did.


We also need an equivalent set of functions for allocation with capture file scope (free when next capture is loaded) but i dont know where to put the free_all call.



svn path=/trunk/; revision=14984
2005-07-22 07:46:58 +00:00

152 lines
2.8 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$
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
# 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.
LIBETHEREAL_SRC = \
addr_and_mask.c \
addr_resolv.c \
adler32.c \
afn.c \
asn1.c \
atalk-utils.c \
base64.c \
bitswap.c \
charsets.c \
circuit.c \
column.c \
column-utils.c \
conversation.c \
crc16.c \
crc32.c \
crypt-des.c \
crypt-md4.c \
crypt-md5.c \
crypt-rc4.c \
emem.c \
epan.c \
except.c \
filesystem.c \
follow.c \
frame_data.c \
h225-persistentdata.c \
in_cksum.c \
ipproto.c \
ipv4.c \
osi-utils.c \
packet.c \
plugins.c \
prefs.c \
proto.c \
ptvcursor.c \
radius_dict.c \
range.c \
reassemble.c \
req_resp_hdrs.c \
sha1.c \
sigcomp_state_hdlr.c \
sigcomp-udvm.c \
sminmpec.c \
sna-utils.c \
stats_tree.c \
strutil.c \
t35.c \
tap.c \
timestamp.c \
to_str.c \
tvbuff.c \
value_string.c \
xdlc.c \
xmlstub.c
LIBETHEREAL_INCLUDES = \
addr_and_mask.h \
addr_resolv.h \
address.h \
adler32.h \
afn.h \
arptypes.h \
asn1.h \
atalk-utils.h \
base64.h \
bitswap.h \
charsets.h \
circuit.h \
column.h \
column_info.h \
column-utils.h \
conversation.h \
crc16.h \
crc32.h \
crypt-des.h \
crypt-md4.h \
crypt-md5.h \
crypt-rc4.h \
emem.h \
epan.h \
epan_dissect.h \
except.h \
exceptions.h \
filesystem.h \
follow.h \
frame_data.h \
gdebug.h \
h225-persistentdata.h \
in_cksum.h \
ipproto.h \
ipv4.h \
ipv6-utils.h \
nstime.h \
osi-utils.h \
packet.h \
packet_info.h \
pint.h \
plugins.h \
prefs.h \
prefs-int.h \
proto.h \
ptvcursor.h \
range.h \
reassemble.h \
report_err.h \
req_resp_hdrs.h \
sha1.h \
sigcomp_state_hdlr.h \
sigcomp-udvm.h \
slab.h \
sminmpec.h \
sna-utils.h \
stats_tree.h \
stats_tree_priv.h \
strutil.h \
t35.h \
tap.h \
timestamp.h \
to_str.h \
tvbuff.h \
value_string.h \
xdlc.h \
xmlstub.h