![Bill Meier](/assets/img/avatar_default.png)
Change-Id: I90dbf0b31fc737150a01533763a7869b34c68cb6 Reviewed-on: https://code.wireshark.org/review/6220 Reviewed-by: Bill Meier <wmeier@newsguy.com>
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
## Makefile for building wireshark.exe with Microsoft C and nmake
|
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
|
#
|
|
|
|
include ..\..\config.nmake
|
|
include ..\..\Makefile.nmake.inc
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
|
|
/Zm800 \
|
|
/I../.. /I../../wiretap $(GTK_CFLAGS) $(GNUTLS_CFLAGS) \
|
|
/I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
|
|
/I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
|
|
/I$(PCAP_DIR)\include $(AIRPCAP_CFLAGS)
|
|
|
|
.c.obj::
|
|
$(CC) $(CFLAGS) $(WSUG_CFLAGS) -Fd.\ -c $<
|
|
|
|
# if you add files here, be sure to include them also in Makefile.am EXTRA_DIST in the main Wireshark directory
|
|
WIRESHARK_WIN32_SRC = \
|
|
console_win32.c \
|
|
file_dlg_win32.c \
|
|
print_win32.c \
|
|
|
|
WIRESHARK_WIN32_OBJECTS = $(WIRESHARK_WIN32_SRC:.c=.obj)
|
|
|
|
libgtkui_win32.lib : ..\..\config.h $(WIRESHARK_WIN32_OBJECTS)
|
|
link /lib /out:libgtkui_win32.lib $(WIRESHARK_WIN32_OBJECTS) winmm.lib
|
|
|
|
clean:
|
|
rm -f $(WIRESHARK_WIN32_OBJECTS) libgtkui_win32.lib *.nativecodeanalysis.xml *.pdb *.sbr
|
|
|
|
distclean: clean
|
|
|
|
maintainer-clean: distclean
|
|
|
|
checkapi:
|
|
$(PERL) ../../tools/checkAPIs.pl -g deprecated-gtk -build \
|
|
$(WIRESHARK_WIN32_SRC)
|