Ethereal-dev: Re: [Ethereal-dev] two question about the compile

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 20 Dec 2005 13:55:19 +0100
On Tue, Dec 20, 2005 at 05:56:35PM +0800, Kelvin You wrote:
> There are two question about the compile.  Need your help, Thanks very much
> !~~
> 
> Platform: Linux
> 
> 1. How can I build the ethereal without "-g" optional under Linux?
> Need I modify the "configure" ?

with bash (or another sh compaltible shell): CFLAGS=-O2 ./configure

> 2. How can I add a plugin to the makefile ? so that when I use "make
> install", it will install the ethereal with my plugin.

Create a subdir in plugins, put your dissecotr and the relevant make
files there (see README.plugins). Then add your new directory to
plugins/Makefile.am. After autogen.sh + configure, you'll have a
Makefile containing the needed install target.

 Ciao
  Joerg

--
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.