summaryrefslogtreecommitdiff
path: root/ui/win32/Makefile.nmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-01-16 01:26:46 +0000
committerGuy Harris <guy@alum.mit.edu>2012-01-16 01:26:46 +0000
commit0db1b9ae17b94c7f848ceaed8036329d0b0c4345 (patch)
tree84bae8357fed231b719e3cdda79eaf6225f5cb24 /ui/win32/Makefile.nmake
parentee1e0a03681b045ab0ddb53d0eafe07cee20e51a (diff)
downloadwireshark-0db1b9ae17b94c7f848ceaed8036329d0b0c4345.tar.gz
Make the win32 directory a subdirectory of the ui directory.
svn path=/trunk/; revision=40531
Diffstat (limited to 'ui/win32/Makefile.nmake')
-rw-r--r--ui/win32/Makefile.nmake40
1 files changed, 40 insertions, 0 deletions
diff --git a/ui/win32/Makefile.nmake b/ui/win32/Makefile.nmake
new file mode 100644
index 0000000000..575171bbd6
--- /dev/null
+++ b/ui/win32/Makefile.nmake
@@ -0,0 +1,40 @@
+## Makefile for building wireshark.exe with Microsoft C and nmake
+## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
+#
+# $Id$
+
+include ..\config.nmake
+include ..\Makefile.nmake.inc
+
+############### no need to modify below this line #########
+
+CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
+ -D_NEED_VAR_IMPORT_ /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) $(CVARSDLL) $(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 = \
+ file_dlg_win32.c \
+ print_win32.c \
+
+WIRESHARK_WIN32_OBJECTS = $(WIRESHARK_WIN32_SRC:.c=.obj)
+
+libui_win32.lib : ..\config.h $(WIRESHARK_WIN32_OBJECTS)
+ link /lib /out:libui_win32.lib $(WIRESHARK_WIN32_OBJECTS) winmm.lib
+
+clean:
+ rm -f $(WIRESHARK_WIN32_OBJECTS) libui_win32.lib *.pdb
+
+distclean: clean
+
+maintainer-clean: distclean
+
+checkapi:
+ $(PERL) ../tools/checkAPIs.pl -g deprecated-gtk \
+ $(WIRESHARK_WIN32_SRC)