Update minimum version requirement for GTK to 2.12.
[obnox/wireshark/wip.git] / wsutil / Makefile.nmake
1 ## Makefile for building wireshark.exe with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
3 #
4 # $Id$
5
6 include ..\config.nmake
7 include <win32.mak>
8 include ..\Makefile.nmake.inc
9
10 ############### no need to modify below this line #########
11
12 include Makefile.common
13
14 CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
15         /I. /I.. $(GLIB_CFLAGS) \
16         /I$(PCAP_DIR)\include
17
18 .c.obj::
19    $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
20
21 # For use when making libwsutil.dll
22 libwsutil_LIBS = $(GLIB_LIBS)
23
24 OBJECTS = file_util.obj         \
25         inet_aton.obj           \
26         inet_ntop.obj           \
27         inet_pton.obj           \
28         $(LIBWSUTIL_SRC:.c=.obj) \
29         strptime.obj            \
30         unicode-utils.obj       \
31         wsgetopt.obj
32
33 # For use when making libwsutil.dll
34 libwsutil.lib: libwsutil.dll
35 libwsutil.exp: libwsutil.dll
36
37 libwsutil.dll : $(OBJECTS) libwsutil.def ..\image\libwsutil.res
38         $(link) $(dlllflags) $(conlibsdll) shell32.lib \
39                 $(LOCAL_LDFLAGS) $(DLL_LDFLAGS) \
40                 /DEF:libwsutil.def /OUT:libwsutil.dll \
41                 /IMPLIB:libwsutil.lib \
42                 ..\image\libwsutil.res \
43                 $(OBJECTS) $(libwsutil_LIBS)
44
45 clean :
46         rm -f $(OBJECTS) \
47                 libwsutil.lib \
48                 libwsutil.exp \
49                 libwsutil.dll \
50                 libwsutil.dll.manifest \
51                 *.pdb
52
53 distclean: clean
54
55 maintainer-clean: distclean
56
57 checkapi:
58 ##      $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput \
59         $(PERL) ../tools/checkAPIs.pl -g termoutput \
60         $(LIBWSUTIL_SRC) \
61 #       file_util.c unicode-utils.c