More constification of arrays.
[obnox/wireshark/wip.git] / Makefile.nmake
1 ## Makefile for building ethereal.exe with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
3 #
4 # $Id$
5
6 include config.nmake
7 include <win32.mak>
8
9 ############### no need to modify below this line #########
10
11 CC = cl
12 LINK= link
13
14 LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS)
15
16 CFLAGS=-DHAVE_CONFIG_H $(LOCAL_CFLAGS) $(GLIB_CFLAGS) /I. /Iwiretap \
17         $(ZLIB_CFLAGS) /I$(PCAP_DIR)\include \
18         /I$(NET_SNMP_DIR)\include /I$(NET_SNMP_DIR)\win32 \
19         $(ADNS_CFLAGS) $(PCRE_CFLAGS) -D_U_=""
20
21 CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
22
23 .c.obj::
24         $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
25
26 PLATFORM_SRC = capture-wpcap.c
27
28 include Makefile.common
29
30 include epan\Makefile.common
31
32 BUILT_SOURCES = $(BUILT_SOURCES) \
33         svnversion.h
34
35 DISSECTOR_SUPPORT_SRC = $(DISSECTOR_SUPPORT_SRC:../=)
36 DISSECTOR_SUPPORT_OBJECTS = $(DISSECTOR_SUPPORT_SRC:.c=.obj)
37 #DISSECTOR_SUPPORT_OBJECTS = $(DISSECTOR_SUPPORT_OBJECTS:../=)
38
39 ethereal_OBJECTS = $(ethereal_SOURCES:.c=.obj)
40 tethereal_OBJECTS = $(tethereal_SOURCES:.c=.obj)
41 dftest_OBJECTS = $(dftest_SOURCES:.c=.obj)
42
43 randpkt_OBJECTS = $(randpkt_SOURCES:.c=.obj)
44
45 EXTRA_OBJECTS = \
46 #       snprintf.obj    \
47 #       strerror.obj    \
48         mkstemp.obj     \
49         strptime.obj
50
51 ethereal_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
52         wsock32.lib user32.lib shell32.lib \
53         $(NET_SNMP_DIR)\win32\lib\netsnmp.lib \
54 !IFDEF ENABLE_LIBETHEREAL
55         epan\libethereal.lib \
56 !ELSE
57         epan\dissectors\dissectors.lib \
58         epan\ethereal.lib \
59         epan\dfilter\dfilter.lib epan\ftypes\ftypes.lib \
60         $(ADNS_LIBS) \
61         $(PCRE_LIBS) \
62         $(ZLIB_LIBS)
63 !ENDIF
64 #       $(PCAP_DIR)\lib\wpcap.lib
65
66 tethereal_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
67         wsock32.lib user32.lib \
68         $(GLIB_LIBS) \
69         $(NET_SNMP_DIR)\win32\lib\netsnmp.lib \
70 !IFDEF ENABLE_LIBETHEREAL
71         epan\libethereal.lib \
72 !ELSE
73         epan\dissectors\dissectors.lib \
74         epan\ethereal.lib \
75         epan\dfilter\dfilter.lib epan\ftypes\ftypes.lib \
76         $(ADNS_LIBS) \
77         $(PCRE_LIBS) \
78         $(ZLIB_LIBS)
79 !ENDIF
80
81 capinfo_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
82         wsock32.lib user32.lib \
83         $(GLIB_LIBS)
84
85 editcap_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
86         wsock32.lib user32.lib \
87         $(GLIB_LIBS)
88
89 mergecap_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
90         wsock32.lib user32.lib \
91         $(GLIB_LIBS)
92
93 dftest_LIBS=  wiretap\wiretap-$(WTAP_VERSION).lib \
94         wsock32.lib user32.lib \
95         $(GLIB_LIBS) \
96         $(NET_SNMP_DIR)\win32\lib\netsnmp.lib \
97 !IFDEF ENABLE_LIBETHEREAL
98         epan\libethereal.lib \
99 !ELSE
100         epan\dissectors\dissectors.lib \
101         epan\ethereal.lib \
102         epan\dfilter\dfilter.lib epan\ftypes\ftypes.lib \
103         $(ADNS_LIBS) \
104         $(PCRE_LIBS) \
105         $(ZLIB_LIBS)    
106 !ENDIF
107
108 randpkt_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
109         user32.lib \
110         $(GLIB_LIBS) \
111         $(NET_SNMP_DIR)\win32\lib\netsnmp.lib
112
113 EXECUTABLES=ethereal.exe ethereal-gtk2.exe tethereal.exe \
114         capinfo.exe editcap.exe mergecap.exe text2pcap.exe
115
116 RESOURCES=image\ethereal.res image\libethereal.res image\tethereal.res \
117         image\capinfo.res image\editcap.res image\mergecap.res \
118         image\text2pcap.res image\wiretap.res
119
120 all: config.h tools image wiretap epan $(EXECUTABLES) $(RESOURCES) doc
121
122 packaging: all
123         cd packaging
124         cd nsis
125         nmake -f makefile.nmake
126         cd ..
127         cd ..
128
129 separate_packaging: all
130         cd packaging
131         cd nsis
132 !IFDEF GTK1_DIR
133         nmake -f makefile.nmake GTK1_ONLY="USE"
134 !ENDIF
135 !IFDEF GTK2_DIR
136         nmake -f makefile.nmake GTK2_ONLY="USE"
137 !ENDIF
138         cd ..
139         cd ..
140
141 $(RESOURCES): image
142
143 wiretap\wiretap-$(WTAP_VERSION).lib: wiretap
144
145 !IFNDEF GTK1_DIR
146 ethereal.exe    : 
147 !ELSE
148 ethereal.exe    : config.h svnversion.h $(ethereal_OBJECTS) epan gtk image\ethereal.res wiretap\wiretap-$(WTAP_VERSION).lib gtk\libui.lib plugins
149         @echo Linking $@
150         $(LINK) @<<
151                 /OUT:ethereal.exe $(guiflags) $(guilibsdll) $(LDFLAGS) /SUBSYSTEM:windows $(ethereal_LIBS) $(GTK1_LIBS) gtk\libui.lib $(ethereal_OBJECTS) image\ethereal.res
152 <<
153 !ENDIF
154
155 !IFNDEF GTK2_DIR
156 ethereal-gtk2.exe       : 
157 !ELSE
158 ethereal-gtk2.exe       : config.h svnversion.h $(ethereal_OBJECTS) epan gtk2 image\ethereal.res wiretap\wiretap-$(WTAP_VERSION).lib gtk2.tmp\libui.lib plugins
159         @echo Linking $@
160         $(LINK) @<<
161                 /OUT:ethereal-gtk2.exe $(guiflags) $(guilibsdll) $(LDFLAGS) /SUBSYSTEM:windows $(ethereal_LIBS) $(GTK2_LIBS) gtk2.tmp\libui.lib $(ethereal_OBJECTS) image\ethereal.res
162 <<
163 !ENDIF
164
165 tethereal.exe   : config.h svnversion.h $(tethereal_OBJECTS) epan image\tethereal.res wiretap\wiretap-$(WTAP_VERSION).lib plugins
166         @echo Linking $@
167         $(LINK) @<<
168                 /OUT:tethereal.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console $(tethereal_LIBS) $(tethereal_OBJECTS) image\tethereal.res
169 <<
170
171 capinfo.exe     : config.h capinfo.obj getopt.obj wiretap\wiretap-$(WTAP_VERSION).lib image\capinfo.res
172         @echo Linking $@
173         $(LINK) @<<
174                 /OUT:capinfo.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console capinfo.obj getopt.obj $(capinfo_LIBS) image\capinfo.res
175 <<
176
177 editcap.exe     : config.h editcap.obj getopt.obj wiretap\wiretap-$(WTAP_VERSION).lib image\editcap.res
178         @echo Linking $@
179         $(LINK) @<<
180                 /OUT:editcap.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console editcap.obj getopt.obj $(editcap_LIBS) image\editcap.res
181 <<
182
183 mergecap.exe    : config.h svnversion.h mergecap.obj merge.obj getopt.obj wiretap\wiretap-$(WTAP_VERSION).lib image\mergecap.res
184         @echo Linking $@
185         $(LINK) @<<
186                 /OUT:mergecap.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console mergecap.obj merge.obj getopt.obj $(mergecap_LIBS) image\mergecap.res
187 <<
188
189 text2pcap.exe   : config.h text2pcap.obj text2pcap-scanner.obj getopt.obj strptime.obj image\text2pcap.res
190         @echo Linking $@
191         $(LINK) @<<
192                 /OUT:text2pcap.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console text2pcap.obj text2pcap-scanner.obj getopt.obj strptime.obj image\text2pcap.res
193 <<
194
195 dftest.exe      : $(dftest_OBJECTS) epan
196         $(LINK) @<<
197                 /OUT:dftest.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console $(dftest_LIBS) $(dftest_OBJECTS)
198 <<
199
200 randpkt.exe     : $(randpkt_OBJECTS)
201         $(LINK) @<<
202                 /OUT:randpkt.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console $(randpkt_LIBS) $(randpkt_OBJECTS)
203 <<
204
205 config.h        : config.h.win32 config.nmake
206         sed -e s/@VERSION@/$(VERSION)/ \
207             -e "s/@HAVE_GNU_ADNS@/$(ADNS_CONFIG)/" \
208             -e "s/@HAVE_PCRE@/$(PCRE_CONFIG)/" \
209             -e "s/@HAVE_LIBZ@/$(ZLIB_CONFIG)/" \
210             -e "s/@HAVE_LIBPCAP@/$(WINPCAP_CONFIG)/" \
211             -e "s/@HAVE_PCAP_FINDALLDEVS@/$(PCAP_FINDALLDEVS_CONFIG)/" \
212             -e "s/@HAVE_PCAP_DATALINK_NAME_TO_VAL@/$(PCAP_DATALINK_NAME_TO_VAL_CONFIG)/" \
213             -e "s/@HAVE_PCAP_DATALINK_VAL_TO_NAME@/$(PCAP_DATALINK_VAL_TO_NAME_CONFIG)/" \
214             -e "s/@HAVE_LIBETHEREALDLL@/$(LIBETHEREAL_CONFIG)/" \
215             -e "s/@WPCAP_CONSTIFIED@/$(WPCAP_CONSTIFIED_CONFIG)/" \
216             < config.h.win32 > $@
217
218 ps.c    : rdps.exe print.ps
219         rdps print.ps ps.c
220
221
222 #
223 # Build the version string
224 #
225 svnversion.h:
226         $(PERL) make-version.pl
227
228 #
229 # Build the short version of the authors file for the about dialog
230 #
231 AUTHORS-SHORT: AUTHORS make-authors-short.pl make-authors-short2.pl
232         $(PERL) make-authors-short.pl < AUTHORS > AUTHORS-SHORT
233
234
235 #
236 # Build "tethereal-tap-register.c", which contains a function 
237 # "register_all_tap_listeners()"
238 # that calls the register routines for all tehtereal tap listeners.
239 #
240 # We do this by grepping through sources.
241 #
242 # Formatting conventions:  The name of the tap_listener_register_* 
243 # routines must start in column zero, or must be preceded only by 
244 # "void " starting in column zero, and must not be inside #if.
245 #
246 # The first argument is the name of the file to write.
247 # The second argument is the directory in which the source files live.
248 # All subsequent arguments are the files to scan.
249 #
250 tethereal-tap-register.c: $(TETHEREAL_TAP_SRC) make-tapreg-dotc
251         @echo Making tethereal-tap-register.c
252         @$(SH) make-tapreg-dotc tethereal-tap-register.c . $(TETHEREAL_TAP_SRC)
253
254 text2pcap-scanner.c : text2pcap-scanner.l
255         $(LEX) -otext2pcap-scanner.c text2pcap-scanner.l
256
257 gtk2_distclean:
258         rm -f gtk2.tmp/*.*
259         if exist gtk2.tmp rmdir gtk2.tmp
260
261 clean: gtk2_distclean
262         rm -f $(ethereal_OBJECTS) $(tethereal_OBJECTS) $(EXTRA_OBJECTS) \
263                 $(EXECUTABLES) $(PDB_FILE) \
264                 capinfo.obj editcap.obj mergecap.obj text2pcap.obj getopt.obj\
265                 text2pcap-scanner.obj text2pcap-scanner.c rdps.obj \
266                 rdps.pdb rdps.exe rdps.ilk config.h ps.c AUTHORS-SHORT \
267                 dftest.obj dftest.exe randpkt.obj randpkt.ext doxygen.cfg \
268                 $(RESOURCES)
269         cd wiretap
270         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
271         cd ../gtk
272         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
273         cd ../epan
274         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
275         cd ../plugins
276         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
277         cd ../tools
278         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
279         cd ../image
280         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
281         cd ../doc
282         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
283         cd ../help
284         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
285         cd ../packaging/nsis
286         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
287         cd ../..
288
289 # Call distclean only, if you would like to remove ALL generated files.
290 # Be sure to have python and perl installed to regenerate them.
291 distclean: clean gtk2_distclean
292         rm -f $(BUILT_SOURCES) \
293                 tethereal-tap-register.c 
294         cd wiretap
295         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
296         cd ../gtk
297         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
298         cd ../epan
299         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
300         cd ../plugins
301         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
302         cd ../tools
303         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
304         cd ../image
305         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
306         cd ../doc
307         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
308         cd ../help
309         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
310         cd ../packaging/nsis
311         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
312         cd ../..
313
314 tools::
315         cd tools
316         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
317         cd ..
318
319 image::
320         cd image
321         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
322         cd ..
323
324 wiretap::
325         cd wiretap
326         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
327         cd ..
328
329 gtk:: help config.h svnversion.h AUTHORS-SHORT doxygen
330         cd gtk
331         $(MAKE) /$(MAKEFLAGS) /f Makefile.nmake GTK_CFLAGS="$(GTK1_CFLAGS)" GTK_LIBS="$(GTK1_LIBS)" libui.lib
332         cd ..
333
334 # copy all required files to gtk2.tmp (but only when newer than existing) and compile in that dir
335 gtk2:: help config.h svnversion.h AUTHORS-SHORT
336         if not exist gtk2.tmp mkdir gtk2.tmp
337         cd gtk
338         cp --update --preserve Makefile.* *.c *.h ..\gtk2.tmp
339         cd ..\gtk2.tmp
340         $(MAKE) /$(MAKEFLAGS) /f Makefile.nmake GTK_CFLAGS="$(GTK2_CFLAGS)" GTK_LIBS="$(GTK2_LIBS)" libui.lib
341         cd ..
342
343 epan:: $(DISSECTOR_SUPPORT_OBJECTS) $(EXTRA_OBJECTS) $(RESOURCES) $(BUILT_SOURCES) doxygen
344         cd epan
345         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
346         cd ..
347
348 plugins::
349         cd plugins
350         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
351         cd ..
352
353 doc::
354         cd doc
355         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
356         cd ..
357
358 help::
359         cd help
360         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
361         cd ..
362
363 doxygen.cfg: config.nmake doxygen.cfg.in
364         sed -e s/@VERSION@/$(VERSION)/ \
365             < doxygen.cfg.in > $@
366
367 doxygen-run:
368 !IFDEF DOXYGEN
369         $(DOXYGEN) doxygen.cfg
370 !ENDIF
371
372 doxygen: doxygen.cfg doxygen-run
373
374 REQUIRED_TOOLS=\
375         $(SH)   \
376         $(YACC) \
377         $(LEX)  \
378         grep    \
379         $(PERL) \
380         $(PYTHON)       \
381         sed     \
382         unzip   \
383         wget
384
385 verify_tools:
386         @$(SH) tools\win32-setup.sh --appverify $(REQUIRED_TOOLS)
387
388 # Download and install all the required libraries into ETHEREAL_LIBS.
389 # If you used this setup target before, consider doing a clean_setup.
390 setup: verify_tools
391 !IF "$(GTK2_INST_VERSION)" == "2.4"
392         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
393                 glib gtk2.4/glib-2.4.5-20040903.zip
394         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
395                 glib gtk2.4/glib-dev-2.4.5.zip
396 !ELSE
397         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
398                 glib glib-2.2.3-20040116.zip
399         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
400                 glib glib-dev-2.2.3-20040116.zip
401 !ENDIF
402 !IFDEF GTK1_DIR
403         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
404                 gtk+ gtk+-1.3.0-20030717.zip
405         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
406                 gtk+ gtk+-dev-1.3.0-20030115.zip
407 !ENDIF
408         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
409                 libiconv-1.9.1.bin.woe32 libiconv-1.9.1.bin.woe32.zip
410         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
411                 gettext-runtime-0.13.1 gettext-runtime-0.13.1.zip
412 !IFDEF NET_SNMP_DIR
413         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
414                 . net-snmp-5.1.zip
415 !ENDIF
416 !IFDEF PCAP_DIR
417         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
418                 . wpdpack_3_0.zip
419 !ENDIF
420 !IFDEF ADNS_DIR
421         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
422                 . adns-1.0-win32-03.zip
423 !ENDIF
424 !IFDEF PCRE_DIR
425         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
426                 . pcre-4.4.zip
427 !ENDIF
428 !IFDEF ZLIB_DIR
429         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
430                 zlib121-dll zlib121-dll.zip
431 !ENDIF
432 !IFDEF GTK2_DIR
433 !IF "$(GTK2_INST_VERSION)" == "2.4"
434         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
435                 gtk2 gtk2.4/gtk+-2.4.10-20041001.zip
436         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
437                 gtk2 gtk2.4/gtk+-dev-2.4.10.zip
438         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
439                 gtk2 gtk2.4/atk-1.6.0.zip
440         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
441                 gtk2 gtk2.4/atk-dev-1.6.0.zip
442 !ELSE
443         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
444                 gtk2 gtk2/gtk+-2.2.4-20040124.zip
445         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
446                 gtk2 gtk2/gtk+-dev-2.2.4-20040124.zip
447         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
448                 gtk2 gtk2/atk-1.4.0.zip
449         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
450                 gtk2 gtk2/atk-dev-1.4.0.zip
451 !ENDIF
452 !IF "$(PANGO_INST_VERSION)" == "1.4"
453         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
454                 gtk2 gtk2.4/pango-1.4.1.zip
455         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
456                 gtk2 gtk2.4/pango-dev-1.4.1.zip
457 !ELSE
458         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
459                 gtk2 gtk2/pango-1.2.5-20040124.zip
460         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
461                 gtk2 gtk2/pango-dev-1.2.5-20040124.zip
462 !ENDIF
463 !ENDIF
464 !IFDEF GTK_WIMP_DIR
465         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
466                 gtk-wimp gtk-wimp/gtk-wimp-0.6.2-bin.zip
467 !ENDIF
468         @echo.
469         @echo Ethereal is ready to build.
470
471 # Cleanup files installed by the setup target. It will not remove the 
472 # downloaded zip files.
473 clean_setup:
474     rm -r -f $(ETHEREAL_LIBS)/glib
475     rm -r -f $(ETHEREAL_LIBS)/gtk+
476     rm -r -f $(ETHEREAL_LIBS)/libiconv-1.9.1.bin.woe32
477     rm -r -f $(ETHEREAL_LIBS)/gettext-runtime-0.13.1
478     rm -r -f $(ETHEREAL_LIBS)/zlib121-dll
479     rm -r -f $(ETHEREAL_LIBS)/gtk2
480     rm -r -f $(ETHEREAL_LIBS)/gtk-wimp
481
482 update_plugin_api: config.h
483         cd plugins
484         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake xyzzy
485         cd ..
486