fix doxygen generation
[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\release\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\release\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 capinfos_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\release\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\release\netsnmp.lib
112
113 EXECUTABLES=ethereal.exe ethereal-gtk2.exe tethereal.exe \
114         capinfos.exe editcap.exe mergecap.exe text2pcap.exe
115
116 RESOURCES=image\ethereal.res image\libethereal.res image\tethereal.res \
117         image\capinfos.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 capinfos.exe    : config.h capinfos.obj getopt.obj wiretap\wiretap-$(WTAP_VERSION).lib image\capinfos.res
172         @echo Linking $@
173         $(LINK) @<<
174                 /OUT:capinfos.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console capinfos.obj getopt.obj $(capinfos_LIBS) image\capinfos.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_NETTLE@/$(NETTLE_CONFIG)/" \
210             -e "s/@HAVE_LIBZ@/$(ZLIB_CONFIG)/" \
211             -e "s/@HAVE_LIBPCAP@/$(WINPCAP_CONFIG)/" \
212             -e "s/@HAVE_PCAP_FINDALLDEVS@/$(PCAP_FINDALLDEVS_CONFIG)/" \
213             -e "s/@HAVE_PCAP_DATALINK_NAME_TO_VAL@/$(PCAP_DATALINK_NAME_TO_VAL_CONFIG)/" \
214             -e "s/@HAVE_PCAP_DATALINK_VAL_TO_NAME@/$(PCAP_DATALINK_VAL_TO_NAME_CONFIG)/" \
215             -e "s/@HAVE_LIBETHEREALDLL@/$(LIBETHEREAL_CONFIG)/" \
216             -e "s/@WPCAP_CONSTIFIED@/$(WPCAP_CONSTIFIED_CONFIG)/" \
217             < config.h.win32 > $@
218
219 ps.c    : rdps.exe print.ps
220         rdps print.ps ps.c
221
222
223 #
224 # Build the version string
225 #
226 svnversion.h:
227         $(PERL) make-version.pl
228
229 #
230 # Build the short version of the authors file for the about dialog
231 #
232 AUTHORS-SHORT: AUTHORS make-authors-short.pl
233         $(PERL) perlnoutf.pl make-authors-short.pl < AUTHORS > AUTHORS-SHORT
234
235 #
236 # Build the short version of the authors file with formatting codes for
237 # the man page
238 #
239 AUTHORS-SHORT-FORMAT: AUTHORS-SHORT make-authors-format.pl
240     $(PERL) perlnoutf.pl make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
241
242 #
243 # Build "tethereal-tap-register.c", which contains a function 
244 # "register_all_tap_listeners()"
245 # that calls the register routines for all tehtereal tap listeners.
246 #
247 # We do this by grepping through sources.
248 #
249 # Formatting conventions:  The name of the tap_listener_register_* 
250 # routines must start in column zero, or must be preceded only by 
251 # "void " starting in column zero, and must not be inside #if.
252 #
253 # The first argument is the name of the file to write.
254 # The second argument is the directory in which the source files live.
255 # All subsequent arguments are the files to scan.
256 #
257 tethereal-tap-register.c: $(TETHEREAL_TAP_SRC) make-tapreg-dotc
258         @echo Making tethereal-tap-register.c
259         @$(SH) make-tapreg-dotc tethereal-tap-register.c . $(TETHEREAL_TAP_SRC)
260
261 text2pcap-scanner.c : text2pcap-scanner.l
262         $(LEX) -otext2pcap-scanner.c text2pcap-scanner.l
263
264 gtk2_distclean:
265         rm -f gtk2.tmp/*.*
266         if exist gtk2.tmp rmdir gtk2.tmp
267
268 clean: gtk2_distclean
269         rm -f $(ethereal_OBJECTS) $(tethereal_OBJECTS) $(EXTRA_OBJECTS) \
270                 $(EXECUTABLES) $(PDB_FILE) \
271                 capinfos.obj editcap.obj mergecap.obj text2pcap.obj getopt.obj\
272                 text2pcap-scanner.obj text2pcap-scanner.c rdps.obj \
273                 rdps.pdb rdps.exe rdps.ilk config.h ps.c AUTHORS-SHORT \
274                 AUTHORS-SHORT-FORMAT \
275                 dftest.obj dftest.exe randpkt.obj randpkt.ext doxygen.cfg \
276                 $(RESOURCES)
277         cd wiretap
278         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
279         cd ../gtk
280         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
281         cd ../epan
282         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
283         cd ../plugins
284         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
285         cd ../tools
286         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
287         cd ../image
288         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
289         cd ../doc
290         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
291         cd ../help
292         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
293         cd ../packaging/nsis
294         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
295         cd ../..
296
297 # Call distclean only, if you would like to remove ALL generated files.
298 # Be sure to have python and perl installed to regenerate them.
299 distclean: clean gtk2_distclean
300         rm -f $(BUILT_SOURCES) \
301                 tethereal-tap-register.c 
302         cd wiretap
303         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
304         cd ../gtk
305         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
306         cd ../epan
307         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
308         cd ../plugins
309         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
310         cd ../tools
311         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
312         cd ../image
313         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
314         cd ../doc
315         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
316         cd ../help
317         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
318         cd ../packaging/nsis
319         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
320         cd ../..
321
322 tools::
323         cd tools
324         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
325         cd ..
326
327 image::
328         cd image
329         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
330         cd ..
331
332 wiretap::
333         cd wiretap
334         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
335         cd ..
336
337 gtk:: help config.h svnversion.h AUTHORS-SHORT doxygen
338         cd gtk
339         $(MAKE) /$(MAKEFLAGS) /f Makefile.nmake GTK_CFLAGS="$(GTK1_CFLAGS)" GTK_LIBS="$(GTK1_LIBS)" libui.lib
340         cd ..
341
342 # copy all required files to gtk2.tmp (but only when newer than existing) and compile in that dir
343 gtk2:: help config.h svnversion.h AUTHORS-SHORT
344         if not exist gtk2.tmp mkdir gtk2.tmp
345         cd gtk
346         cp --update --preserve Makefile.* *.c *.h ..\gtk2.tmp
347         cd ..\gtk2.tmp
348         $(MAKE) /$(MAKEFLAGS) /f Makefile.nmake GTK_CFLAGS="$(GTK2_CFLAGS)" GTK_LIBS="$(GTK2_LIBS)" libui.lib
349         cd ..
350
351 epan:: $(DISSECTOR_SUPPORT_OBJECTS) $(EXTRA_OBJECTS) $(RESOURCES) $(BUILT_SOURCES) doxygen
352         cd epan
353         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
354         cd ..
355
356 plugins::
357         cd plugins
358         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
359         cd ..
360
361 doc::
362         cd doc
363         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
364         cd ..
365
366 help::
367         cd help
368         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
369         cd ..
370
371 doxygen.cfg: config.nmake doxygen.cfg.in
372         sed -e s/@VERSION@/$(VERSION)/ \
373             < doxygen.cfg.in > $@
374
375 doxygen-run:
376 !IFDEF DOXYGEN
377         $(DOXYGEN) doxygen.cfg
378 !ENDIF
379
380 doxygen: doxygen.cfg doxygen-run
381
382 REQUIRED_TOOLS=\
383         $(SH)   \
384         $(YACC) \
385         $(LEX)  \
386         grep    \
387         $(PERL) \
388         $(PYTHON)       \
389         sed     \
390         unzip   \
391         wget
392
393 verify_tools:
394         @$(SH) tools\win32-setup.sh --appverify $(REQUIRED_TOOLS)
395
396 # Download and install all the required libraries into ETHEREAL_LIBS.
397 # If you used this setup target before, consider doing a clean_setup.
398 setup: verify_tools
399 !IF "$(GTK2_INST_VERSION)" == "2.4"
400         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
401                 glib gtk2.4/glib-2.4.7.zip
402         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
403                 glib gtk2.4/glib-dev-2.4.7.zip
404 !ELSE
405         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
406                 glib glib-2.2.3-20040116.zip
407         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
408                 glib glib-dev-2.2.3-20040116.zip
409 !ENDIF
410 !IFDEF GTK1_DIR
411         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
412                 gtk+ gtk+-1.3.0-20030717.zip
413         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
414                 gtk+ gtk+-dev-1.3.0-20030115.zip
415 !ENDIF
416         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
417                 libiconv-1.9.1.bin.woe32 libiconv-1.9.1.bin.woe32.zip
418         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
419                 gettext-runtime-0.13.1 gettext-runtime-0.13.1.zip
420 !IFDEF NET_SNMP_DIR
421         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
422                 . net-snmp-5.1.2.zip
423 !ENDIF
424 !IFDEF PCAP_DIR
425         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
426                 . wpdpack_3_0.zip
427 !ENDIF
428 !IFDEF ADNS_DIR
429         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
430                 . adns-1.0-win32-04.zip
431 !ENDIF
432 !IFDEF PCRE_DIR
433         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
434                 . pcre-4.4.zip
435 !ENDIF
436 !IFDEF ZLIB_DIR
437         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
438                 zlib121-dll zlib121-dll.zip
439 !ENDIF
440 !IFDEF GTK2_DIR
441 !IF "$(GTK2_INST_VERSION)" == "2.4"
442         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
443                 gtk2 gtk2.4/gtk+-2.4.10-20041001.zip
444         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
445                 gtk2 gtk2.4/gtk+-dev-2.4.10.zip
446         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
447                 gtk2 gtk2.4/atk-1.6.0.zip
448         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
449                 gtk2 gtk2.4/atk-dev-1.6.0.zip
450 !ELSE
451         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
452                 gtk2 gtk2/gtk+-2.2.4-20040124.zip
453         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
454                 gtk2 gtk2/gtk+-dev-2.2.4-20040124.zip
455         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
456                 gtk2 gtk2/atk-1.4.0.zip
457         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
458                 gtk2 gtk2/atk-dev-1.4.0.zip
459 !ENDIF
460 !IF "$(PANGO_INST_VERSION)" == "1.4"
461         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
462                 gtk2 gtk2.4/pango-1.4.1.zip
463         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
464                 gtk2 gtk2.4/pango-dev-1.4.1.zip
465 !ELSE
466         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
467                 gtk2 gtk2/pango-1.2.5-20040124.zip
468         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
469                 gtk2 gtk2/pango-dev-1.2.5-20040124.zip
470 !ENDIF
471 !ENDIF
472 !IFDEF GTK_WIMP_DIR
473         @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
474                 gtk-wimp gtk-wimp/gtk-wimp-0.6.2-bin.zip
475 !ENDIF
476         @echo.
477         @echo Ethereal is ready to build.
478
479 # Cleanup files installed by the setup target. It will not remove the 
480 # downloaded zip files.
481 clean_setup:
482     rm -r -f $(ETHEREAL_LIBS)/glib
483     rm -r -f $(ETHEREAL_LIBS)/gtk+
484     rm -r -f $(ETHEREAL_LIBS)/libiconv-1.9.1.bin.woe32
485     rm -r -f $(ETHEREAL_LIBS)/gettext-runtime-0.13.1
486     rm -r -f $(ETHEREAL_LIBS)/zlib121-dll
487     rm -r -f $(ETHEREAL_LIBS)/gtk2
488     rm -r -f $(ETHEREAL_LIBS)/gtk-wimp
489
490 update_plugin_api: config.h
491         cd plugins
492         $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake xyzzy
493         cd ..
494