d4cd476c77263f609624714c565779d139f72165
[metze/wireshark/wip.git] / epan / Makefile.am
1 # Makefile.am
2 # Automake file for the EPAN library
3 # (Ethereal Protocol ANalyzer Library)
4 #
5 # $Id: Makefile.am,v 1.27 2001/09/14 07:33:04 guy Exp $
6 #
7 # Ethereal - Network traffic analyzer
8 # By Gerald Combs <gerald@zing.org>
9 # Copyright 1998 Gerald Combs
10 #
11
12 # This program is free software; you can redistribute it and/or
13 # modify it under the terms of the GNU General Public License
14 # as published by the Free Software Foundation; either version 2
15 # of the License, or (at your option) any later version.
16
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 # GNU General Public License for more details.
21
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25
26 SUBDIRS = ftypes dfilter
27
28 # EPAN will eventually be a shared library. While I move source code around,
29 # however, it is an archive library.
30
31 ACLOCAL_AMFLAGS = `../aclocal-flags`
32
33 noinst_LIBRARIES = libethereal.a
34
35 INCLUDES = -I$(srcdir)/..
36
37 libethereal_a_SOURCES = \
38         atalk-utils.c           \
39         atalk-utils.h           \
40         bitswap.c               \
41         bitswap.h               \
42         column_info.h           \
43         conversation.c          \
44         conversation.h          \
45         column-utils.c          \
46         column-utils.h          \
47         epan.c                  \
48         epan.h                  \
49         except.c                \
50         except.h                \
51         exceptions.h            \
52         filesystem.c            \
53         filesystem.h            \
54         frame_data.c            \
55         frame_data.h            \
56         gdebug.h                \
57         ipv4.c                  \
58         ipv4.h                  \
59         ipv6-utils.h            \
60         nstime.h                \
61         osi-utils.c             \
62         osi-utils.h             \
63         packet.c                \
64         packet.h                \
65         packet_info.c           \
66         packet_info.h           \
67         pint.h                  \
68         plugins.c               \
69         plugins.h               \
70         proto.c                 \
71         proto.h                 \
72         resolv.c                \
73         resolv.h                \
74         sna-utils.c             \
75         sna-utils.h             \
76         strutil.c               \
77         strutil.h               \
78         timestamp.h             \
79         to_str.c                \
80         to_str.h                \
81         tvbuff.c                \
82         tvbuff.h                \
83         value_string.c          \
84         value_string.h          
85
86 EXTRA_libethereal_a_SOURCES =   \
87         inet_aton.c             \
88         inet_pton.c             \
89         inet_ntop.c             \
90         inet_aton.h             \
91         inet_v6defs.h
92
93 EXTRA_DIST = \
94         config.h.win32          \
95         Makefile.nmake          \
96         tvbtest.c
97
98 CLEANFILES = \
99         libethereal.a   \
100         *~
101
102 #
103 # Add the object files for missing routines, if any.
104 #
105 libethereal_a_LIBADD = @INET_ATON_O@ @INET_PTON_O@ @INET_NTOP_O@
106 libethereal_a_DEPENDENCIES = @INET_ATON_O@ @INET_PTON_O@ @INET_NTOP_O@
107
108
109 tvbtest: tvbtest.o tvbuff.o except.o strutil.o
110         $(LINK) -o tvbtest tvbtest.o tvbuff.o except.o strutil.o `glib-config --libs`