Ethereal-dev: Re: [Ethereal-dev] Split plugin lists in Makefiles into several lines

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Thomas Boehne <TBoehne@xxxxxxxx>
Date: Mon, 2 May 2005 14:03:06 +0200
On Monday 02 May 2005 12:49, Ulf Lamping wrote:
> Thomas Boehne wrote:
> >Each time a new plugin is added to the SVN, I must manually fix
> >plugins/Makefile.nmake and plugins/Makefile.am bacause I have added
> >some private plugins. As the number of plugins grows continuously, I
> >suggest that we split the "SUBDIRS" line in plugins/Makefile.am and
> >the "all:" target in plugins/Makefile.nmake into one line per plugin.
>
> Sounds reasonable.
>
> I've changed both Makefiles.

Thanks for the quick fix. Could you also update README.plugins (see
attached patch)? The plugin_api.obj part is obsolete, isn't it?

> BTW: It might be better to make the dissectors public :-)

I know, but our companies policy does not allow me to do it :-( 

Thomas

-- 
Jäger Computergesteuerte Messtechnik GmbH
Thomas Böhne
Rheinstraße 2-4
64653 Lorsch
Tel.: +49-6251-9632-0



Index: README.plugins
===================================================================
--- README.plugins	(revision 14263)
+++ README.plugins	(working copy)
@@ -182,14 +182,20 @@
 You need to change the SUBDIRS directive to reflect the addition of 
 your plugin:
 
-SUBDIRS = gryphon mgcp xxx
+SUBDIRS = \
+	gryphon \
+	mgcp \
+	xxx
 
 
 4.5 Changes to plugins/Makefile.nmake
 
 To the Makefile.nmake you need to add your plugin to the all: rule
 
-all: plugin_api.obj gryphon mgcp xxx
+all: \
+	gryphon \
+	mgcp \
+	xxx
 
 then add a rule for your plugin:
 
@@ -202,7 +208,6 @@
 plugin:
 
 clean:
-	rm -f plugin_api.obj
 	cd gryphon
 	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
 	cd ../mgcp