nghttp2: use g_ntoh[ls], g_hton[ls] from glib
[metze/wireshark/wip.git] / epan / nghttp2 / Makefile.nmake
1 ## Makefile for building nghttp2.lib with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
3 #
4
5 include ..\..\config.nmake
6
7 include Makefile.common
8
9 ############### no need to modify below this line #########
10
11 CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
12          /I. /Inghttp2 /I../.. $(GLIB_CFLAGS) -DWS_BUILD_DLL
13
14 .c.obj::
15         $(CC) $(CFLAGS)  -Fd.\ -c $<
16
17 OBJECTS = $(LIBNGHTTP2_SRC:.c=.obj)
18
19 nghttp2.lib: $(OBJECTS)
20         link /lib /out:nghttp2.lib $(OBJECTS)
21
22 clean:
23         rm -f $(OBJECTS) nghttp2.lib *.nativecodeanalysis.xml *.pdb *.sbr
24
25 distclean: clean
26
27 maintainer-clean: distclean
28
29 checkapi:
30         $(PERL) ../../tools/checkAPIs.pl -g termoutput -build \
31         $(LIBNGHTTP2_SRC)
32
33 #
34 # Editor modelines  -  https://www.wireshark.org/tools/modelines.html
35 #
36 # Local variables:
37 # c-basic-offset: 8
38 # tab-width: 8
39 # indent-tabs-mode: t
40 # End:
41 #
42 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
43 # :indentSize=8:tabSize=8:noTabs=false:
44 #