diff options
author | Yang Tse <yangsita@gmail.com> | 2008-08-20 23:35:48 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-08-20 23:35:48 +0000 |
commit | 8ca51bc68acb3defd20066fabc96e19c9de0bb36 (patch) | |
tree | 7bde2ee19a0d53289672b2a2b40306b85d074acf /lib/Makefile.Watcom | |
parent | 56f852a64f5022155f3cc1d69ab546d08806a5f7 (diff) | |
download | curl-8ca51bc68acb3defd20066fabc96e19c9de0bb36.tar.gz |
Added option to use c-ares resolver lib.
Diffstat (limited to 'lib/Makefile.Watcom')
-rw-r--r-- | lib/Makefile.Watcom | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Makefile.Watcom b/lib/Makefile.Watcom index 470725f28..a698f9967 100644 --- a/lib/Makefile.Watcom +++ b/lib/Makefile.Watcom @@ -19,11 +19,16 @@ CFLAGS = -3r -mf -d3 -hc -zff -zgf -zq -zm -zc -s -fr=con -w2 -fpi -oilrtfm -bt= # ZLIB_ROOT = ..\..\..\zlib-1.2.3 USE_ZLIB = 0 +USE_ARES = 0 !ifeq USE_ZLIB 1 CFLAGS += -dHAVE_ZLIB_H -dHAVE_LIBZ -I$(ZLIB_ROOT) !endif +!ifeq USE_ARES 1 +CFLAGS += -dUSE_ARES -I..\ares +!endif + OBJ_BASE = WC_Win32.obj C_ARG = $(OBJ_BASE)\wcc386.arg LINK_ARG = $(OBJ_BASE)\dyn\wlink.arg @@ -119,6 +124,9 @@ $(LINK_ARG): $(__MAKEFILES__) !ifeq USE_ZLIB 1 @%append $^@ library $(ZLIB_ROOT)\zlib.lib !endif +!ifeq USE_ARES 1 + @%append $^@ library ..\ares\cares.lib +!endif $(LIB_ARG): $(__MAKEFILES__) %create $^@ |