Add a script, "aclocal-flags", which figures out where
[obnox/wireshark/wip.git] / wiretap / Makefile.am
1 # Makefile.am
2 # Automake file for Wiretap
3 #
4 # $Id: Makefile.am,v 1.29 2000/07/26 08:03:57 guy Exp $
5 #
6 # Ethereal - Network traffic analyzer
7 # By Gerald Combs <gerald@zing.org>
8 # Copyright 1998 Gerald Combs
9 #
10
11 # This program is free software; you can redistribute it and/or
12 # modify it under the terms of the GNU General Public License
13 # as published by the Free Software Foundation; either version 2
14 # of the License, or (at your option) any later version.
15
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 # GNU General Public License for more details.
20
21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24
25 ACLOCAL_AMFLAGS = `../aclocal-flags`
26
27 noinst_LIBRARIES = libwiretap.a
28
29 #EXTRA_LIBRARIES = libwiretap.a
30
31 CLEANFILES = \
32         libwiretap.a            \
33         *~
34
35 libwiretap_a_SOURCES = \
36         ascend-grammar.y        \
37         ascend-scanner.l        \
38         ascend.c                \
39         ascend.h                \
40         ascend-int.h            \
41         buffer.c                \
42         buffer.h                \
43         file.c                  \
44         file_wrappers.c         \
45         file_wrappers.h         \
46         i4btrace.c              \
47         i4btrace.h              \
48         i4b_trace.h             \
49         iptrace.c               \
50         iptrace.h               \
51         lanalyzer.c             \
52         lanalyzer.h             \
53         libpcap.c               \
54         libpcap.h               \
55         netmon.c                \
56         netmon.h                \
57         nettl.c                 \
58         nettl.h                 \
59         netxray.c               \
60         netxray.h               \
61         ngsniffer.c             \
62         ngsniffer.h             \
63         radcom.c                \
64         radcom.h                \
65         snoop.c                 \
66         snoop.h                 \
67         toshiba.c               \
68         toshiba.h               \
69         wtap.c                  \
70         wtap.h                  \
71         wtap-int.h
72
73 EXTRA_DIST = \
74         ascend-grammar.c        \
75         ascend-grammar.h        \
76         ascend-scanner.c        \
77         config.h.win32          \
78         Makefile.nmake
79
80 # Any POSIX-compatible YACC should honor the -p flag
81 YFLAGS=-d -p ascend
82
83 ascend-scanner.c : ascend-scanner.l
84         $(LEX) -Pascend -oascend-scanner.c $(srcdir)/ascend-scanner.l