3 # Some more informations about the settings in this file, can be found
4 # in the file README.win32 and the Developer's Guide (available online).
10 # The current Wireshark version
11 # It's highly recommended to leave MAJOR/MINOR/MICRO unchanged
15 # It's recommended to change VERSION_EXTRA for your own custom builds
19 # The version of the wiretap library (recommended: leave unchanged)
26 ##### Directories #####
29 # Base directory, where your libraries reside, which are needed to
30 # compile the sources. This setting is used only inside this file.
32 WIRESHARK_LIBS=C:\wireshark-win32-libs
35 # Base directory, where your programs reside.
36 # This setting is used only inside this file.
38 PROGRAM_FILES=C:/Program Files
42 ##### Microsoft Visual C / Studio Variant #####
43 # for the different Studios, see: http://en.wikipedia.org/wiki/Microsoft_Visual_Studio
44 # only one of the following MSVC_VARIANT settings should be used
46 # "Microsoft Visual Studio 6.0" - THE ONLY RECOMMENDED
47 # Visual C++ 6.0, _MSC_VER 1200, msvcrt.dll (version 6)
50 # "Microsoft Visual Studio .NET (2002)" - NOT YET WORKING
51 # Visual C++ 7.0, _MSC_VER 1300, msvcr70.dll
52 #MSVC_VARIANT=MSVC2002
54 # "Microsoft Visual Studio .NET 2003" - NOT YET WORKING
55 # Visual C++ 7.1, _MSC_VER 1310, msvcr71.dll
56 #MSVC_VARIANT=MSVC2003
58 # "Microsoft Visual C++ Toolkit 2003" - NOT YET WORKING
59 # needs additional Platform SDK installation
60 # Visual C++ 7.1, _MSC_VER 1310, msvcr71.dll
61 #MSVC_VARIANT=VC2003TOOLKIT
63 # "Microsoft .Net Framework SDK Version 1.1" - NOT YET WORKING
64 # needs additional Platform SDK installation
65 # XXX - Visual C++ 7.1, _MSC_VER 1310, msvcr71.dll
66 #MSVC_VARIANT=DOTNET11FRAMEWORK
68 # "Microsoft Visual Studio 2005" - EXPERIMENTAL
69 # "Microsoft Visual C++ 2005 Express Edition" - EXPERIMENTAL
70 # The "Express Edition" needs additional Platform SDK installation
71 # Visual C++ 8.0, _MSC_VER 1400, msvcr80.dll
72 #MSVC_VARIANT=MSVC2005
75 # Optional: Microsoft Platform SDK.
76 # (Mandatory for some MSVC_VARIANTs, see above)
78 # If you don't have the PSDK, comment this line out, so that
79 # PLATFORM_SDK_DIR isn't defined.
81 # If you have installed a platform SDK, set this to the directory where it reside
82 #PLATFORM_SDK_DIR=$(PROGRAM_FILES)\Microsoft Platform SDK for Windows Server 2003 R2
89 # Mandatory: GLib settings
91 # Current versions of GTK+ 1.3 require GLib 2.0. Earlier versions of
92 # GTK+ 1.3 are buggy; we don't recommend using them, and we don't
93 # support them. Upgrade to at least GLib 2.0.
96 GLIB_DIR=$(WIRESHARK_LIBS)\glib
99 # Mandatory: GTK (& related) settings
101 # It's possible, to build both GTK version 1 and 2 at the same time,
102 # or only one of the versions. GTK version 2 is recommended.
104 # If you want building with GTK+ 1.3, set GTK1_DIR to the pathname of the
105 # "gtk+" directory; if you want building with GTK+ 2.x, set GTK2_DIR to
106 # the pathname of the directory in which the "include" and "lib" directories
109 GTK1_DIR=$(WIRESHARK_LIBS)\gtk+
110 GTK2_DIR=$(WIRESHARK_LIBS)\gtk2
113 # Mandatory for GTK >= 2: Version numbers of gtk2 and pango.
115 # (MAJOR + MINOR Version number but without MICRO version number)
116 # These macros are used by the nsis installer script and by the setup target.
118 # GTK 2.6 is the mainline since Ethereal 0.10.14
119 #GTK2_INST_VERSION=2.6
120 #PANGO_INST_VERSION=1.8
121 # Support for GTK 2.8
122 #GTK2_INST_VERSION=2.8
123 #PANGO_INST_VERSION=1.14
124 # Support for GTK 2.10 is currently experimental ...
125 GTK2_INST_VERSION=2.10
126 PANGO_INST_VERSION=1.14
129 # If you have GTK-Wimp, set this to the pathname of the directory in
130 # which the files are stored.
132 # If you don't have GTK-Wimp, comment this line out, so that GTK-Wimp isn't
135 # Please note: GTK 2.8 (and later?) includes GTK-Wimp
136 # (in this case these GTK-Wimp related settings will have no effect)
138 GTK_WIMP_DIR=$(WIRESHARK_LIBS)\gtk-wimp\gtk-wimp-0.7.0-bin
141 # Optional: WinPcap developer's pack to capture network traffic.
143 # The WinPcap developer's pack version Wireshark is build with.
145 # If you don't have the WPdpack, comment this line out, so that
146 # WINPCAP_VERSION isn't defined.
150 # XXX - what to set for 4.0 beta 1?
152 # If you have the WinPcap developer's pack, set this to the directory
153 # in which the WinPcap developer's pack resides.
155 # If you don't have the WPdpack, comment this line out, so that
156 # PCAP_DIR isn't defined.
158 PCAP_DIR=$(WIRESHARK_LIBS)\WPdpack
161 # Optional: The ZLib enables unzipping of gzip compressed capture files
164 # If you have Zlib, set this to directory in which the Zlib headers
165 # and .lib file are stored.
167 # If you don't have Zlib, comment this line out, so that ZLIB_DIR isn't
170 # XXX - ZLIB must be recompiled on MSVC 2005 because of C runtime lib (msvcr)
171 # problems, simply disable it for now on MSVC 2005 (and other none 6 versions)
172 !IF "$(MSVC_VARIANT)" == "MSVC6"
173 ZLIB_DIR=$(WIRESHARK_LIBS)\zlib123-dll
177 # Optional: The Net-SNMP library enables SNMP OID to name resolvings
178 # for the MIBs available.
180 # If you have Net-SNMP, set this to the pathname of the directory in
181 # which the Net-SNMP headers and .lib file are stored.
183 # If you don't have Net-SNMP, comment this line out, so that NET_SNMP_DIR
186 NET_SNMP_DIR=$(WIRESHARK_LIBS)\net-snmp-5.4
189 # Optional: the ADNS library enables asynchronous (nonblocking) DNS
192 # If you have GNU ADNS, set this to the directory in which the GNU ADNS
193 # .lib file is stored.
195 # If you don't have GNU ADNS, comment this line out, so that ADNS_DIR
198 ADNS_DIR=$(WIRESHARK_LIBS)\adns-1.0-win32-05
201 # Optional: the PCRE (Perl Compatible Regular Expressions) library
202 # enables regular expressions for display filters.
204 # If you have the PCRE library, set this to the directory in which
205 # the GNUWIN32 pcre-lib package is stored.
207 # If you don't have PCRE, comment this line out, so that PCRE_DIR
210 PCRE_DIR=$(WIRESHARK_LIBS)\pcre-6.4
213 # Optional: the GNUTLS library enables ssl decryption.
215 # If you have the GNUTLS library, set this to the directory where
216 # the lib and include files are stored.
218 # If you don't have GNUTLS, comment this line out, so that GNUTLS_DIR
221 # Platform SDK conflicts with openssl.h header
222 !IFNDEF PLATFORM_SDK_DIR
223 GNUTLS_DIR=$(WIRESHARK_LIBS)\gnutls-1.6.1-1
227 # Optional: the KFW library enables kerberos/sasl/dcerpc decryption.
229 # If you have the kerberos for windows (mit) library, set this to the
230 # directory where the kfw package is stored.
232 # If you don't have KFW, comment this line out, so that KFW_DIR
235 KFW_DIR=$(WIRESHARK_LIBS)\kfw-2.5
238 # Optional: the Nettle library enables ??? decryption.
240 # If you have the Nettle encryption library, set this to the
241 # directory in which the nettle package is stored.
243 # If you don't have Nettle, comment this line out, so that NETTLE_DIR
246 # NETTLE_DIR=$(WIRESHARK_LIBS)\nettle-1.10
249 # Optional: the LUA library enables scripting support.
251 # If you have the LUA library, set this to the directory in which
252 # the LUA package is stored.
254 # If you don't have LUA, comment this line out, so that LUA_DIR
257 LUA_DIR=$(WIRESHARK_LIBS)\lua5.1
260 # Optional: the PORTAUDIO library enables audio output for RTP streams.
262 # If you have the PORTAUDIO library (used for rtp_player), set this to
263 # the directory in which the PORTAUDIO library is stored.
265 # If you don't have PORTAUDIO, comment this line out, so that
266 # PORTAUDIO_DIR isn't defined.
268 #PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1
269 PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v19
272 # Version number of PortAudio
274 #PORTAUDIO_VERSION=18
278 # Mandatory for GTK >= 2: Iconv
280 # Set ICONV_DIR to the directory in which the
281 # ICONV include files and library resides.
283 ICONV_DIR=$(WIRESHARK_LIBS)\libiconv-1.9.1.bin.woe32
286 # Mandatory for GTK >= 2: Gettext
288 # Set GETTEXT_DIR to the directory in which the
289 # GETTEXT include files and library resides.
291 #GETTEXT_DIR=$(WIRESHARK_LIBS)\gettext-runtime-0.13.1
292 GETTEXT_DIR=$(WIRESHARK_LIBS)\gettext-0.14.5
295 # Optional: AirPcap developer's pack to capture wireless network traffic
296 # incl. 802.11 management frames.
298 # If you have the AirPcap developer's pack, set this to the directory
299 # in which the AirPcap developer's pack resides.
301 # If you don't have the AirPcap developer's pack, comment this line out,
302 # so that AIRPCAP_DIR isn't defined.
304 AIRPCAP_DIR=$(WIRESHARK_LIBS)\AirPcap_Devpack_1_0_0_594\AirPcap_Devpack
310 # Set the following mandatory commands to find the tools.
311 # The easiest way is to use the corresponding packages from cygwin.
313 # Set up the path to the cygwin binaries
314 CYGWIN_PATH=c:\cygwin\bin
316 # command for a shell (cygwin's bash package recommended)
319 # bash versions after 3.1.6 need the 'igncr' shell option to be able to
320 # process scripts in windows 'native format' (dos crlf format).
321 # The following !IF results in the option being used only if it is available
322 # since using it on bash version 3.1.6 (or earlier) is not required and
323 # will cause an error message.
324 !if "$(SH_PROG)"=="bash" && [$(CYGWIN_PATH)\bash -c "set -o igncr" 2>nul: ] == 0
328 SH=$(SH_PROG) $(SH_FLAGS)
331 # command for perl (cygwin's perl package recommended)
334 # command for pod2man and pod2html
335 # (part of the perl package, usually leave these unchanged)
336 POD2MAN=$(SH) pod2man
337 POD2HTML=$(SH) pod2html
339 # command for native windows python (recommended)
340 PYTHON="C:/python24/python.exe"
341 # add native python to the path (not needed if cygwin's python is used)
342 PATH=c:\python24;$(PATH)
344 # command for python (cygwin's python package, not recommended)
347 # command for lex/flexx (cygwin's flex recommended)
350 # command for yacc/bison (cygwin's bison recommended)
354 # Optional: To build the NSIS installer.
356 # If you have the NSIS package, set this to the NSIS executable.
358 # If you don't have NSIS, comment this line out, so that MAKENSIS
361 MAKENSIS="$(PROGRAM_FILES)\nsis\makensis.exe"
364 # Optional: To build the developers documentation with doxygen and dot.
365 # Currently experimental only.
367 # You will have to download and install:
368 # Doxygen from: www.doxygen.org
369 # Graphviz from: http://www.research.att.com/sw/tools/graphviz/
371 # If you have doxygen, set this to the doxygen executable.
373 # If you don't want the developers documentation (or don't have the tools),
374 # comment this line out, so that DOXYGEN isn't defined.
376 #DOXYGEN="$(PROGRAM_FILES)/doxygen/bin/doxygen.exe"
379 # Optional: To build compressed html help format .chm and use it as online help format.
380 # You will have to download and install the html help compiler from:
382 # http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html
383 # /hwMicrosoftHTMLHelpDownloads.asp
385 # Then point HHC_DIR to the html help dir (where hhc.exe resides).
387 # If you don't want the online help (or don't have the tools),
388 # comment this line out, so that HHC_DIR isn't defined.
390 #HHC_DIR="$(PROGRAM_FILES)/HTML Help Workshop/"
394 ##### Flags, PATHs and Miscellaneous #####
397 # /W3 warning level 3 (0 less - 4 most, 1 default)
398 # /Zi create .pdb file for debugging
399 # /D_CRT_SECURE_NO_DEPRECATE don't warn for "insecure" calls, see MSDN "Security Enhancements in the CRT"
400 # /D_CRT_NONSTDC_NO_DEPRECATE don't warn for "Deprecated CRT Functions" as MSDN calls this
402 !IF "$(MSVC_VARIANT)" == "MSVC6"
404 !ELSEIF "$(MSVC_VARIANT)" == "MSVC2005"
405 LOCAL_CFLAGS=/Zi /W3 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
407 !ERROR MSVC_VARIANT unknown
411 # /DEBUG generate debug info
412 # /PROFILE generate map file(s) for profiling
413 # /DEFAULTLIB:xxx use xxx as the standard C library
414 # /NODEFAULTLIB:xxx don't use xxx as the standard C library
416 !IF "$(MSVC_VARIANT)" == "MSVC6"
418 !ELSEIF "$(MSVC_VARIANT)" == "MSVC2005"
419 #LOCAL_LDFLAGS=/DEBUG /DEFAULTLIB:msvcrt /NODEFAULTLIB:libc /NODEFAULTLIB:libcmt
420 LOCAL_LDFLAGS=/DEBUG /DEFAULTLIB:msvcrt /NODEFAULTLIB:libc /NODEFAULTLIB:libcmt
422 !ERROR MSVC_VARIANT unknown
425 WS_PLUGIN_LDFLAGS=/DEBUG /NOLOGO /INCREMENTAL:no /MACHINE:I386
429 # Optional: Use the User's Guide as the online help system
430 # (currently experimental).
432 # If you don't have the User's Guide, comment this line out, so that
433 # ENABLE_WSUG isn't defined.
438 # According to http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=403
439 # XCOPY under Windows NT doesn't support the "/Y" flag. This works
441 # XXX - This apparently doesn't work for some versions of nmake:
442 # http://support.microsoft.com/default.aspx?scid=kb;en-us;86814
443 # It looks like we'll have to call "set copycmd=/y" before we run xcopy.
447 # If you don't want to build libwireshark.dll, you should comment out the
448 # following line. (Note: for plugin support this option must stay activated)
449 ENABLE_LIBWIRESHARK=USE
452 # install (debug) directory for Wireshark GTK1 version (relative to your source dir)
453 INSTALL1_DIR=wireshark-gtk1
456 # install (debug) directory for Wireshark GTK2 version (relative to your source dir)
457 INSTALL2_DIR=wireshark-gtk2
461 ##############################################################################
463 # You should not have to change anything below this comment.
464 # If you do, it's a deficiency in the Makefile.nmake files;
465 # either tell wireshark-dev@wireshark.org about it, including
466 # details of why you had to change it, or fix config.nmake
467 # and any Makefile.nmake files that need to be changed, and
468 # send us the patches, along with details of why the change
471 ##############################################################################
473 !IFDEF ENABLE_LIBWIRESHARK
474 # Uncomment next line to link plugins with the import library of libwireshark.dll
475 LINK_PLUGINS_WITH_LIBWIRESHARK=USE
479 # The RC_VERSION should be comma-separated, not dot-separated,
480 # as per Graham Bloice's message in
482 # http://www.ethereal.com/lists/ethereal-dev/200303/msg00283.html
484 # "The RC_VERSION variable in config.nmake should be comma separated.
485 # This allows the resources to be built correctly and the version
486 # number to be correctly displayed in the explorer properties dialog
487 # for the executables, and XP's tooltip, rather than 0.0.0.0."
490 VERSION=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_MICRO)$(VERSION_EXTRA)
491 RC_VERSION=$(VERSION_MAJOR),$(VERSION_MINOR),$(VERSION_MICRO)
493 WTAP_VERSION=$(WTAP_VERSION_MAJOR).$(WTAP_VERSION_MINOR).$(WTAP_VERSION_MICRO)
494 RC_WTAP_VERSION=$(WTAP_VERSION_MAJOR),$(WTAP_VERSION_MINOR),$(WTAP_VERSION_MICRO)
497 GLIB_CFLAGS=/I$(GLIB_DIR)\include\glib-$(GLIB_VERSION) \
498 /I$(GLIB_DIR)\lib\glib-$(GLIB_VERSION)\include
499 GCC_GLIB_CFLAGS=-I$(GLIB_DIR)\include\glib-$(GLIB_VERSION) \
500 -I$(GLIB_DIR)\lib\glib-$(GLIB_VERSION)\include
501 GLIB_LIBS=$(GLIB_DIR)\lib\glib-$(GLIB_VERSION).lib \
502 $(GLIB_DIR)\lib\gmodule-$(GLIB_VERSION).lib \
503 $(GLIB_DIR)\lib\gobject-$(GLIB_VERSION).lib
506 GTK1_CFLAGS=$(GLIB_CFLAGS) /I$(GTK1_DIR)\include /I$(GTK1_DIR)\include\gdk \
507 /I$(GTK1_DIR)\lib\gtk+\include
508 GTK1_LIBS=$(GTK1_DIR)\lib\gtk.lib \
509 $(GTK1_DIR)\lib\gdk.lib \
513 GTK2_CFLAGS=$(GLIB_CFLAGS) /I$(GTK2_DIR)\include\gtk-2.0 \
514 /I$(GTK2_DIR)\lib\gtk-2.0\include \
515 /I$(GTK2_DIR)\include\atk-1.0 \
516 /I$(GTK2_DIR)\include\cairo \
517 /I$(GTK2_DIR)\include\pango-1.0
518 GTK2_LIBS=$(GTK2_DIR)\lib\gtk-win32-2.0.lib \
519 $(GTK2_DIR)\lib\gdk-win32-2.0.lib \
520 $(GTK2_DIR)\lib\gdk_pixbuf-2.0.lib \
521 $(GTK2_DIR)\lib\pango-1.0.lib \
524 !IF "$(GTK2_INST_VERSION)" == "2.10"
528 GTK_WIMP_DIR=DUMMY_TO_USE_WIMP
529 GTK_WIMP_DLLSRC_DIR=$(GTK2_DIR)\lib\gtk-2.0\2.10.0\engines
530 GTK_WIMP_DLLDST_DIR=lib\gtk-2.0\2.10.0\engines
531 GTK_WIMP_RCSRC_DIR=$(GTK2_DIR)\share\themes\MS-Windows\gtk-2.0
532 GTK_WIMP_RCDST_DIR=etc\gtk-2.0
533 !ELSEIF "$(GTK2_INST_VERSION)" == "2.8"
534 # the lib dir of GTK2.6 didn't changed since 2.4.0
538 GTK_WIMP_DIR=DUMMY_TO_USE_WIMP
539 GTK_WIMP_DLLSRC_DIR=$(GTK2_DIR)\lib\gtk-2.0\2.4.0\engines
540 GTK_WIMP_DLLDST_DIR=lib\gtk-2.0\2.4.0\engines
541 GTK_WIMP_RCSRC_DIR=$(GTK2_DIR)\share\themes\MS-Windows\gtk-2.0
542 GTK_WIMP_RCDST_DIR=etc\gtk-2.0
543 !ELSEIF "$(GTK2_INST_VERSION)" == "2.6"
545 GTK_WIMP_DLLSRC_DIR=$(GTK_WIMP_DIR)
546 GTK_WIMP_DLLDST_DIR=lib\gtk-2.0\2.4.0\engines
547 GTK_WIMP_RCSRC_DIR=$(GTK_WIMP_DIR)\Theme\gtk-2.0
548 GTK_WIMP_RCDST_DIR=share\themes\Default\gtk-2.0
549 GTK_THEME_DIR=$(GTK_WIMP_DIR)\Theme\gtk-2.0
552 # the lib dir of PANGO changed in 1.12
553 !IF "$(PANGO_INST_VERSION)" == "1.14"
555 !ELSEIF "$(PANGO_INST_VERSION)" == "1.10"
557 !ELSEIF "$(PANGO_INST_VERSION)" == "1.8"
559 !ELSEIF "$(PANGO_INST_VERSION)" == "1.4"
561 !ELSEIF "$(PANGO_INST_VERSION)" == "1.2"
566 AIRPCAP_CONFIG=^#define HAVE_AIRPCAP 1
567 AIRPDCAP_CONFIG=^#define HAVE_AIRPDCAP 1
574 # Nmake uses carets to escape special characters
575 WINPCAP_CONFIG=^#define HAVE_LIBPCAP 1
576 !IF "$(WINPCAP_VERSION)" == "3.0" || "$(WINPCAP_VERSION)" == "3.1"
577 PCAP_FINDALLDEVS_CONFIG=^#define HAVE_PCAP_FINDALLDEVS 1
578 PCAP_DATALINK_NAME_TO_VAL_CONFIG=^#define HAVE_PCAP_DATALINK_NAME_TO_VAL 1
579 PCAP_DATALINK_VAL_TO_NAME_CONFIG=^#define HAVE_PCAP_DATALINK_VAL_TO_NAME 1
580 # PCAP_BREAKLOOP won't have any benefit on Win32, but breaks compatibility with 3.0
581 #!IF "$(WINPCAP_VERSION)" == "3.1"
582 #PCAP_BREAKLOOP_CONFIG=^#define HAVE_PCAP_BREAKLOOP 1
584 PCAP_BREAKLOOP_CONFIG=
586 WPCAP_CONSTIFIED_CONFIG=^#define WPCAP_CONSTIFIED 1
588 PCAP_FINDALLDEVS_CONFIG=
589 PCAP_DATALINK_NAME_TO_VAL_CONFIG=
590 PCAP_DATALINK_VAL_TO_NAME_CONFIG=
591 PCAP_BREAKLOOP_CONFIG=
596 PCAP_FINDALLDEVS_CONFIG=
597 PCAP_DATALINK_NAME_TO_VAL_CONFIG=
598 PCAP_DATALINK_VAL_TO_NAME_CONFIG=
599 PCAP_BREAKLOOP_CONFIG=
604 ZLIB_PATH=$(ZLIB_DIR)
605 ZLIB_CFLAGS=/I$(ZLIB_DIR)\include
606 ZLIB_LIBS=$(ZLIB_DIR)\lib\zdll.lib
607 # Nmake uses carets to escape special characters
608 ZLIB_CONFIG=^#define HAVE_LIBZ 1
616 NET_SNMP_CFLAGS=/I$(NET_SNMP_DIR)\include /I$(NET_SNMP_DIR)\win32
617 NET_SNMP_LIBS=$(NET_SNMP_DIR)\win32\lib\release\netsnmp.lib
618 # Nmake uses carets to escape special characters
619 NET_SNMP_CONFIG=^#define HAVE_NET_SNMP 1
627 ADNS_PATH=$(ADNS_DIR)\adns_win32\lib
628 ADNS_CFLAGS=/I$(ADNS_DIR)\src /I$(ADNS_DIR)\adns_win32
629 ADNS_LIBS=$(ADNS_DIR)\adns_win32\lib\adns_dll.lib
630 # Nmake uses carets to escape special characters
631 ADNS_CONFIG=^#define HAVE_GNU_ADNS 1
639 KFW_PATH=$(KFW_DIR)\bin
640 KFW_CFLAGS=/I$(KFW_DIR)\inc
641 KFW_LIBS=$(KFW_DIR)\lib\krb5_32.lib
642 # Nmake uses carets to escape special characters
643 KFW_CONFIG=^#define HAVE_MIT_KERBEROS 1
651 PCRE_PATH=$(PCRE_DIR)\bin
652 PCRE_CFLAGS=/I$(PCRE_DIR)\include
653 PCRE_LIBS=$(PCRE_DIR)\lib\pcre.lib
654 # Nmake uses carets to escape special characters
655 PCRE_CONFIG=^#define HAVE_LIBPCRE 1
663 NETTLE_CFLAGS=/I$(NETTLE_DIR)
664 NETTLE_LIBS=$(NETTLE_DIR)\libnettle.lib
665 # Nmake uses carets to escape special characters
666 NETTLE_CONFIG=^#define HAVE_LIBNETTLE 1
674 GNUTLS_PATH=$(GNUTLS_DIR)
675 GNUTLS_CFLAGS=/I$(GNUTLS_DIR)\include
677 $(GNUTLS_DIR)\bin\libtasn1-3.lib \
678 $(GNUTLS_DIR)\bin\libgpg-error-0.lib \
679 $(GNUTLS_DIR)\bin\libgcrypt-11.lib \
680 $(GNUTLS_DIR)\bin\libgnutls-13.lib
681 # Nmake uses carets to escape special characters
682 GNUTLS_CONFIG=^#define HAVE_LIBGNUTLS 1
683 LIBGCRYPT_CONFIG=^#define HAVE_LIBGCRYPT 1
692 LUA_CFLAGS=/I$(LUA_DIR)\include
693 LUA_LIBS=$(LUA_DIR)\lib\dll\lua5.1.lib
694 # Nmake uses carets to escape special characters
695 LUA_CONFIG=^#define HAVE_LUA 1
696 LUA_VERSION=^#define HAVE_LUA_5_1 1
704 # Nmake uses carets to escape special characters
705 PORTAUDIO_CONFIG=^#define HAVE_LIBPORTAUDIO 1
706 !IF "$(PORTAUDIO_VERSION)" == "18"
707 # V18 uses API version 1 and v19 API version 2
708 PORTAUDIO_CFLAGS=/I$(PORTAUDIO_DIR)\pa_common
709 PORTAUDIO_API_CONFIG=^#define PORTAUDIO_API_1 1
711 PORTAUDIO_CFLAGS=/I$(PORTAUDIO_DIR)\include /I$(PORTAUDIO_DIR)\src\common
720 HHC_CFLAGS=/I$(HHC_DIR)\include -DHHC_DIR
721 HHC_LIBS=$(HHC_DIR)\lib\htmlhelp.lib
727 !IFDEF ENABLE_LIBWIRESHARK
728 LIBWIRESHARK_CONFIG=^#define HAVE_LIBWIRESHARKDLL 1
734 WSUG_CFLAGS=-DENABLE_WSUG
740 PATH=$(PATH);$(CYGWIN_PATH);$(GLIB_DIR)\bin;$(GETTEXT_DIR)\bin;$(ICONV_DIR)\bin;$(ZLIB_PATH);$(ADNS_PATH)