Ethereal-dev: [Ethereal-dev] small fix and new target for nmake makefile

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: Wed, 21 Apr 2004 11:16:08 +0200
Hello list,

attached is a small fix for the nmake makefile. distclean removes "cvsversion.h" now. I added a new target "update_plugin_api" which just builds the "xyzzy" target in the plugins subdirectory but it makes sure that "config.h" has been generated.

I'd like to mention that "gtk/gsm_map_summary.c" is missing in current cvs.

I 'd like to have the patches from Martin Mathieson checked in, too.
see http://www.ethereal.com/lists/ethereal-dev/200404/msg00350.html

Regards,

Lars
cvs diff -u makefile.nmake (in directory C:\sourceEthereal\actual\ethereal)
Index: Makefile.nmake
===================================================================
RCS file: /cvsroot/ethereal/Makefile.nmake,v
retrieving revision 1.414
diff -u -r1.414 Makefile.nmake
--- Makefile.nmake	10 Apr 2004 07:29:14 -0000	1.414
+++ Makefile.nmake	21 Apr 2004 08:52:23 -0000
@@ -29,6 +29,9 @@
 
 include epan\Makefile.common
 
+BUILT_SOURCES =	$(BUILT_SOURCES) \
+	cvsversion.h
+
 DISSECTOR_SRC = $(DISSECTOR_SRC:../=)
 DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj)
 
@@ -418,3 +421,9 @@
 !ENDIF
 	@echo.
 	@echo Ethereal is ready to build.
+
+update_plugin_api: config.h
+	cd plugins
+	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake xyzzy
+	cd ..
+