Simple code movement to epan.
[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.5 2000/09/28 03:28:53 gram 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
27 # Any POSIX-compatible YACC should honor the -p flag
28 YFLAGS=-d -p dfilter_
29
30 # EPAN will eventually be a shared library. While I move source code around,
31 # however, it is an archive library.
32
33 noinst_LIBRARIES = libepan.a
34
35
36 libepan_a_SOURCES = \
37         conversation.c          \
38         conversation.h          \
39         dfilter-int.h           \
40         dfilter-grammar.y       \
41         dfilter-scanner.l       \
42         dfilter.c               \
43         dfilter.h               \
44         epan.c                  \
45         epan.h                  \
46         except.c                \
47         except.h                \
48         exception.h             \
49         filesystem.c            \
50         filesystem.h            \
51         packet.c                \
52         packet.h                \
53         pint.h                  \
54         plugins.c               \
55         plugins.h               \
56         proto.c                 \
57         proto.h                 \
58         resolv.c                \
59         resolv.h                \
60         strutil.c               \
61         strutil.h               \
62         tvbtest.c               \
63         tvbuff.c                \
64         tvbuff.h
65
66 EXTRA_libepan_a_SOURCES = \
67         dfilter-grammar.c \
68         dfilter-grammar.h \
69         dfilter-scanner.c
70
71 CLEANFILES = \
72         libepan.a       \
73         *~
74
75 dfilter-scanner.c : dfilter-scanner.l
76         $(LEX) -Pdfilter_ -odfilter-scanner.c $(srcdir)/dfilter-scanner.l
77
78 tvbtest: tvbtest.o tvbuff.o except.o strutil.o
79         $(LINK) -o tvbtest tvbtest.o tvbuff.o except.o strutil.o `glib-config --libs`
80