From Matthijs Melchior: generate all declarations and definitions for
[obnox/wireshark/wip.git] / plugins / Makefile.am
1 # Makefile.am
2 # Automake file for Ethereal
3 #
4 # $Id: Makefile.am,v 1.16 2003/07/18 03:01:33 guy Exp $
5 #
6 # Ethereal - Network traffic analyzer
7 # By Gerald Combs <gerald@ethereal.com>
8 # Copyright 1998 Gerald Combs
9 #
10 # This program is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU General Public License
12 # as published by the Free Software Foundation; either version 2
13 # of the License, or (at your option) any later version.
14 #
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 # GNU General Public License for more details.
19 #
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
23
24 SUBDIRS = artnet docsis giop gryphon megaco mgcp pcli rtnet
25
26 plugindir = @plugindir@
27
28 Xplugin_api.c: plugin_gen.py plugin_api.c plugin_api_list.c
29         $(PYTHON) plugin_gen.py xyzzy
30
31 xyzzy: plugin_api_list.c
32         gcc -aux-info xyzzy -DHAVE_CONFIG_H $(GLIB_CFLAGS) -I.. -c plugin_api_list.c
33
34 EXTRA_DIST = \
35         plugin_api.c    \
36         plugin_api.h    \
37         plugin_api_decls.h      \
38         plugin_api_defs.h       \
39         plugin_api_list.c       \
40         plugin_gen.py   \
41         plugin_table.h  \
42         Makefile.nmake  \
43         Xepan_plugins.c \
44         Xplugin_api.c   \
45         Xplugin_api.h   \
46         Xplugin_api_decls.h     \
47         Xplugin_table.h