Ethereal-dev: [Ethereal-dev] Win32 nmake: added the ability to compile both GTK versions 1 and

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Sat, 24 Jan 2004 21:13:55 +0100
Hi List!

I've recently added the ability in the win32 generation to compile both GTK versions 1 and 2 at the same time.

Please update your "config.nmake" to reflect these changes, as this will no longer work with the Makefile.nmake files checked in!

Two places to look at: GTK_DIR and GTK_CFLAGS/GTK_LIBS, just have a look at the differences checked in.

When GTK1_DIR is set, the GTK 1 version will be generated,
and if GTK2_DIR is set, the GTK 2 version will be generated :-)
If both settings are made, both versions will be generated :-))

When using the config.nmake as it's checked in, it will only generate the GTK1 version, just like before.


For the GTK2 part, it will make a gtk2.tmp directory, copy the required files from the gtk dir,
and generate the uilib.lib for GTK2 in that dir.
When linking, the GTK2 part will generate an ethereal2.exe in the root dir, just like the ethereal.exe for GTK1.


Hopes this will help not only me,

Regards, ULFL