Ethereal-dev: Re: [Ethereal-dev] 0.10.8 soon?( Mate)

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

From: Lars Roland <lars.roland@xxxxxxx>
Date: Fri, 10 Dec 2004 11:58:00 +0100
Hello Luis,

I can't compile mate_setup.c. On Windows we don't have a "DATAFILE_DIR" macro. You can use get_datafile_dir() instead. Take a look at get_plugins_global_dir() in epan/plugins.c, where we use it to get the directory of the plugins.
I have attached the patched nmake makefile for mate.

LEGO schrieb:
This patch fixes a crash when the configuration fails to load due to
an error in the config file.

Luis

On Thu, 9 Dec 2004 15:48:35 +0100, LEGO <luis.ontanon@xxxxxxxxx> wrote:

On Thu, 9 Dec 2004 12:50:39 +0100, Anders Broman (AL/EAB)  wrote:

Should we check in the files without the changes to the makefiles etc to make it possible to
commit patches?

Yes definitely. I'll give it a try in the evening.

I think that I've done all the radical changes I had to do. At least
from my side what's there is there to stay.  (I've rewritten it five
times already I had enough!)

Although there are things still to be fixed it would be much easier to
manage incoming changes if I can do the diffs from SVN.

Luis





------------------------------------------------------------------------

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev

#
# $Id: $
#

include ..\..\config.nmake

############### no need to modify below this line #########

CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \
	/I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)

LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS)

!IFDEF LINK_PLUGINS_WITH_LIBETHEREAL
LINK_PLUGIN_WITH=..\..\epan\libethereal.lib
CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS)
!ELSE
LINK_PLUGIN_WITH=..\plugin_api.obj
!ENDIF

OBJECTS=packet-mate.obj mate_setup.obj mate_runtime.obj mate_util.obj mate_plugin.obj

mate.dll mate.exp mate.lib : $(OBJECTS) $(LINK_PLUGIN_WITH)
	link -dll /out:mate.dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \
	$(GLIB_LIBS)

clean:
	rm -f $(OBJECTS) mate.dll mate.exp mate.lib *.pdb

distclean: clean