2010-11-27 18:00:21 +00:00
|
|
|
## Makefile for building wireshark.exe with Microsoft C and nmake
|
|
|
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
2012-01-16 01:45:26 +00:00
|
|
|
include ..\..\config.nmake
|
|
|
|
include ..\..\Makefile.nmake.inc
|
2010-11-27 18:00:21 +00:00
|
|
|
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
|
2011-02-02 01:19:53 +00:00
|
|
|
CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
|
2013-03-01 23:53:11 +00:00
|
|
|
/Zm800 \
|
2012-01-16 01:45:26 +00:00
|
|
|
/I../.. /I../../wiretap $(GTK_CFLAGS) $(GNUTLS_CFLAGS) \
|
2010-11-27 18:00:21 +00:00
|
|
|
/I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
|
|
|
|
/I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
|
2011-02-02 01:19:53 +00:00
|
|
|
/I$(PCAP_DIR)\include $(AIRPCAP_CFLAGS)
|
2010-11-27 18:00:21 +00:00
|
|
|
|
|
|
|
.c.obj::
|
2012-02-24 16:23:38 +00:00
|
|
|
$(CC) $(CFLAGS) $(WSUG_CFLAGS) -Fd.\ -c $<
|
2010-11-29 21:46:53 +00:00
|
|
|
|
2010-11-27 18:00:21 +00:00
|
|
|
# if you add files here, be sure to include them also in Makefile.am EXTRA_DIST in the main Wireshark directory
|
|
|
|
WIRESHARK_WIN32_SRC = \
|
2012-10-21 19:12:18 +00:00
|
|
|
console_win32.c \
|
2010-11-27 18:00:21 +00:00
|
|
|
file_dlg_win32.c \
|
|
|
|
print_win32.c \
|
|
|
|
|
|
|
|
WIRESHARK_WIN32_OBJECTS = $(WIRESHARK_WIN32_SRC:.c=.obj)
|
|
|
|
|
2012-02-19 00:13:33 +00:00
|
|
|
libgtkui_win32.lib : ..\..\config.h $(WIRESHARK_WIN32_OBJECTS)
|
|
|
|
link /lib /out:libgtkui_win32.lib $(WIRESHARK_WIN32_OBJECTS) winmm.lib
|
2010-11-27 18:00:21 +00:00
|
|
|
|
|
|
|
clean:
|
2012-06-13 16:19:35 +00:00
|
|
|
rm -f $(WIRESHARK_WIN32_OBJECTS) libgtkui_win32.lib *.pdb *.sbr
|
2010-11-27 18:00:21 +00:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
|
|
|
|
maintainer-clean: distclean
|
|
|
|
|
2010-11-29 21:46:53 +00:00
|
|
|
checkapi:
|
2012-04-04 20:46:49 +00:00
|
|
|
$(PERL) ../../tools/checkAPIs.pl -g deprecated-gtk -build \
|
2010-11-29 21:46:53 +00:00
|
|
|
$(WIRESHARK_WIN32_SRC)
|