# Makefile.am
-# Automake file for Ethereal
+# Automake file for Wireshark plugins
#
-# $Id: Makefile.am,v 1.18 2003/07/22 18:37:33 gerald Exp $
+# $Id$
#
-# Ethereal - Network traffic analyzer
-# By Gerald Combs <gerald@ethereal.com>
+# Wireshark - Network traffic analyzer
+# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-SUBDIRS = artnet docsis giop gryphon megaco mgcp pcli rtnet
+-include Custom.make
+SUBDIRS = $(_CUSTOM_SUBDIRS_) \
+ asn1 \
+ docsis \
+ ethercat \
+ giop \
+ gryphon \
+ irda \
+ m2m \
+ mate \
+ opcua \
+ profinet \
+ stats_tree \
+ unistim \
+ wimax \
+ wimaxasncp
plugindir = @plugindir@
-ADDRESS_EXPORT_FILES = \
- xyzzy \
- plugin_api_list.c \
- Xplugin_api.c \
- Xplugin_api.h \
- Xplugin_api_decls.h \
- Xplugin_table.h
-
-$(ADDRESS_EXPORT_FILES): xyzzy plugin_gen.py plugin_api.c plugin_api_list.c
- $(PYTHON) $(srcdir)/plugin_gen.py xyzzy
+EXTRA_DIST = \
+ $(_CUSTOM_EXTRA_DIST_) \
+ plugins.vcproj \
+ Makefile.nmake
-xyzzy: plugin_api_list.c
- gcc -aux-info xyzzy -DHAVE_CONFIG_H $(GLIB_CFLAGS) -I$(top_srcdir) -I$(top_builddir) -c $(srcdir)/plugin_api_list.c
+MAINTAINERCLEANFILES = \
+ Makefile.in
-EXTRA_DIST = \
- plugin_api.c \
- plugin_api.h \
- plugin_api_decls.h \
- plugin_api_defs.h \
- plugin_api_list.c \
- plugin_gen.py \
- plugin_table.h \
- Makefile.nmake \
- Xepan_plugins.c \
- Xplugin_api.c \
- Xplugin_api.h \
- Xplugin_api_decls.h \
- Xplugin_table.h
+checkapi:
+ for i in $(SUBDIRS); do \
+ (cd "$$i"; $(MAKE) checkapi); \
+ done
-CLEANFILES = \
- Xass-list \
- Xepan_plugins.c \
- Xplugin_api.c \
- Xplugin_api.h \
- Xplugin_api_decls.h \
- Xplugin_table.h \
- plugin_api_list.o \
- xyzzy