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=-WX -DHAVE_CONFIG_H /I. /I.. $(GLIB_CFLAGS) \
15 /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
17 CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
20 $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
22 # For use when making libwsutil.dll
23 libwsutil_LIBS = $(GLIB_LIBS)
25 OBJECTS = file_util.obj unicode-utils.obj $(LIBWSUTIL_SRC:.c=.obj)
28 # For use when making libwsutil.dll
29 libwsutil.lib: libwsutil.dll
30 libwsutil.exp: libwsutil.dll
32 libwsutil.dll : $(OBJECTS) libwsutil.def ..\image\libwsutil.res
33 $(link) $(dlllflags) $(conlibsdll) \
35 /DEF:libwsutil.def /OUT:libwsutil.dll \
36 /IMPLIB:libwsutil.lib \
37 ..\image\libwsutil.res \
38 $(OBJECTS) $(libwsutil_LIBS)
39 !IF $(MSC_VER_REQUIRED) >= 1400
40 mt.exe -nologo -manifest "libwsutil.dll.manifest" -outputresource:libwsutil.dll;2
48 libwsutil.dll.manifest \
53 maintainer-clean: distclean
56 ## $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput \
57 $(PERL) ../tools/checkAPIs.pl -g termoutput \
59 # file_util.c unicode-utils.c