1 ## Makefile for building wireshark.exe with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
6 include ..\config.nmake
8 include ..\Makefile.nmake.inc
10 ############### no need to modify below this line #########
12 include Makefile.common
14 CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
15 /I. /I.. $(GLIB_CFLAGS) \
19 $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
21 # For use when making libwsutil.dll
22 libwsutil_LIBS = $(GLIB_LIBS)
24 OBJECTS = file_util.obj \
28 $(LIBWSUTIL_SRC:.c=.obj) \
33 # For use when making libwsutil.dll
34 libwsutil.lib: libwsutil.dll
35 libwsutil.exp: libwsutil.dll
37 libwsutil.dll : $(OBJECTS) libwsutil.def ..\image\libwsutil.res
38 $(link) $(dlllflags) $(conlibsdll) shell32.lib \
39 $(LOCAL_LDFLAGS) $(DLL_LDFLAGS) \
40 /DEF:libwsutil.def /OUT:libwsutil.dll \
41 /IMPLIB:libwsutil.lib \
42 ..\image\libwsutil.res \
43 $(OBJECTS) $(libwsutil_LIBS)
50 libwsutil.dll.manifest \
55 maintainer-clean: distclean
58 ## $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput \
59 $(PERL) ../tools/checkAPIs.pl -g termoutput \
61 # file_util.c unicode-utils.c