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) $(GNUTLS_CFLAGS) \
16 /I$(PCAP_DIR)\include -DWS_BUILD_DLL
19 $(CC) $(CFLAGS) -Fd.\ -c $<
21 # For use when making libwsutil.dll
22 libwsutil_LIBS = $(GLIB_LIBS) \
25 OBJECTS = file_util.obj \
29 $(LIBWSUTIL_SRC:.c=.obj) \
34 # For use when making libwsutil.dll
35 libwsutil.lib: libwsutil.dll
36 libwsutil.exp: libwsutil.dll
38 libwsutil.dll : $(OBJECTS) ..\image\libwsutil.res
39 $(link) $(dlllflags) $(conlibsdll) shell32.lib \
40 $(LOCAL_LDFLAGS) $(DLL_LDFLAGS) \
42 /IMPLIB:libwsutil.lib \
43 ..\image\libwsutil.res \
44 $(OBJECTS) $(libwsutil_LIBS)
51 libwsutil.dll.manifest \
56 maintainer-clean: distclean
59 ## $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput \
60 $(PERL) ../tools/checkAPIs.pl -g termoutput -build \
62 # file_util.c unicode-utils.c