forked from osmocom/wireshark
![Pascal Quantin](/assets/img/avatar_default.png)
Broken since gc46329c Change-Id: I00146675d16db021e2cbb7b16841ea9ecb1439b9 Reviewed-on: https://code.wireshark.org/review/2703 Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
97 lines
2.1 KiB
Makefile
97 lines
2.1 KiB
Makefile
## Makefile for building wireshark.exe with Microsoft C and nmake
|
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
|
#
|
|
|
|
include ..\config.nmake
|
|
include <win32.mak>
|
|
include ..\Makefile.nmake.inc
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
include Makefile.common
|
|
|
|
CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
|
|
/I. /I.. $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
|
|
/I$(PCAP_DIR)\include -DWS_BUILD_DLL
|
|
|
|
.c.obj::
|
|
$(CC) $(CFLAGS) -Fd.\ -c $<
|
|
|
|
# For use when making libwsutil.dll
|
|
libwsutil_LIBS = $(GLIB_LIBS) \
|
|
$(GNUTLS_LIBS)
|
|
|
|
OBJECTS = file_util.obj \
|
|
inet_aton.obj \
|
|
inet_ntop.obj \
|
|
inet_pton.obj \
|
|
$(LIBWSUTIL_SRC:.c=.obj) \
|
|
strptime.obj \
|
|
wsgetopt.obj \
|
|
ws_mempbrk_sse42.obj
|
|
|
|
# For use when making libwsutil.dll
|
|
libwsutil.lib: libwsutil.dll
|
|
libwsutil.exp: libwsutil.dll
|
|
|
|
libwsutil.dll : $(OBJECTS) nghttp ..\image\libwsutil.res
|
|
@echo Linking libwsutil.dll
|
|
$(link) $(dlllflags) $(conlibsdll) shell32.lib \
|
|
$(LOCAL_LDFLAGS) $(DLL_LDFLAGS) \
|
|
/OUT:libwsutil.dll \
|
|
/IMPLIB:libwsutil.lib \
|
|
..\image\libwsutil.res \
|
|
$(OBJECTS) $(libwsutil_LIBS) \
|
|
nghttp2/nghttp2_buf.obj \
|
|
nghttp2/nghttp2_hd.obj \
|
|
nghttp2/nghttp2_hd_huffman.obj \
|
|
nghttp2/nghttp2_hd_huffman_data.obj \
|
|
nghttp2/nghttp2_helper.obj
|
|
|
|
#
|
|
# The following target will rebuild its obj
|
|
# if and when version.h should change.
|
|
#
|
|
ws_version_info.obj: ..\version.h
|
|
|
|
clean-local:
|
|
rm -f $(OBJECTS) \
|
|
libwsutil.lib \
|
|
libwsutil.exp \
|
|
libwsutil.dll \
|
|
libwsutil.dll.manifest \
|
|
*.pdb *.sbr
|
|
|
|
clean: clean-local
|
|
cd nghttp2
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
|
|
cd ..
|
|
|
|
distclean: clean
|
|
|
|
maintainer-clean: distclean
|
|
|
|
nghttp: ..\config.h
|
|
cd nghttp2
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
|
|
cd ..
|
|
|
|
checkapi:
|
|
## $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput \
|
|
$(PERL) ../tools/checkAPIs.pl -g termoutput -build \
|
|
$(LIBWSUTIL_SRC) \
|
|
# file_util.c unicode-utils.c
|
|
|
|
#
|
|
# Editor modelines - http://www.wireshark.org/tools/modelines.html
|
|
#
|
|
# Local variables:
|
|
# c-basic-offset: 8
|
|
# tab-width: 8
|
|
# indent-tabs-mode: t
|
|
# End:
|
|
#
|
|
# vi: set shiftwidth=8 tabstop=8 noexpandtab:
|
|
# :indentSize=8:tabSize=8:noTabs=false:
|
|
#
|