diff options
author | nandika | 2011-06-08 09:20:32 +0000 |
---|---|---|
committer | nandika | 2011-06-08 09:20:32 +0000 |
commit | 1e7f8d23d53de8bb52dc462d19aa4f7c12272781 (patch) | |
tree | ab595e36055936c5b5abd26b25c20c2a7b5de0c5 /build/win32/makefile | |
parent | 2672971a08342e491e0f14895dfa0bc16bc66b99 (diff) | |
download | axis2c-1e7f8d23d53de8bb52dc462d19aa4f7c12272781.tar.gz axis2c-1e7f8d23d53de8bb52dc462d19aa4f7c12272781.tar.bz2 |
makefile updated
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1133297 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/win32/makefile')
-rw-r--r-- | build/win32/makefile | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/build/win32/makefile b/build/win32/makefile index 093376e..3b47834 100644 --- a/build/win32/makefile +++ b/build/win32/makefile @@ -145,9 +145,12 @@ AXIS2_INCLUDE_PATH = $(AXIS2_INCLUDE_PATH) /I$(LIBCURL_BIN_DIR)\include !endif
-!if "$(ENABLE_NTLM)" == "1"
+!if "$(ENABLE_NTLM_WITH_HEIMDAL)" == "1"
AXIS2_INCLUDE_PATH = $(AXIS2_INCLUDE_PATH) /I$(OPENSSL_BIN_DIR)\include /I$(HEIMDAL_BIN_DIR)\inc
!endif
+!if "$(ENABLE_NTLM_WITH_LIBNTLM)" == "1"
+AXIS2_INCLUDE_PATH = $(AXIS2_INCLUDE_PATH) /I$(LIBNTLM_BIN_DIR)\include
+!endif
# Compiler Options
###################
@@ -199,11 +202,16 @@ APACHE_LIBS = apr.lib xml.lib libhttpd.lib libaprutil.lib libapr.lib APACHE_LIBS = apr-1.lib xml.lib libhttpd.lib libapr-1.lib libaprutil-1.lib
!endif
-!if "$(ENABLE_NTLM)" == "1"
+!if "$(ENABLE_NTLM_WITH_HEIMDAL)" == "1"
LDFLAGS = $(LDFLAGS) /LIBPATH:$(HEIMDAL_BIN_DIR)\lib /LIBPATH:$(OPENSSL_BIN_DIR)\lib\VC
LIBS = $(LIBS) libheimntlm.lib libeay32MD.lib ssleay32MD.lib
!endif
+!if "$(ENABLE_NTLM_WITH_LIBNTLM)" == "1"
+LDFLAGS = $(LDFLAGS) /LIBPATH:$(LIBNTLM_BIN_DIR)\lib
+LIBS = $(LIBS) libntlm.a
+!endif
+
# Manifest Options
####################
MT=mt.exe
@@ -241,7 +249,6 @@ deploy: @if not exist $(AXIS2_INCLUDE) mkdir $(AXIS2_INCLUDE)
@if not exist $(AXIS2_LOG) mkdir $(AXIS2_LOG)
@if not exist $(AXIS2_MODULES)\addressing mkdir $(AXIS2_MODULES)\addressing
-
@if not exist $(AXIS2_INTDIR) mkdir $(AXIS2_INTDIR)
@if not exist $(AXIS2_INTDIR_SAMPLES) mkdir $(AXIS2_INTDIR_SAMPLES)
@@ -642,7 +649,7 @@ HTTP_SENDER_INTDIR1 = $(AXIS2_INTDIR)\http_sender\ssl HTTP_SENDER_INTDIR2 = $(AXIS2_INTDIR)\http_sender\libcurl
HTTP_SENDER_INTDIR3 = $(AXIS2_INTDIR)\http_sender\ntlm
HTTP_SENDER_INTDIR4 = $(AXIS2_INTDIR)\http_sender\ntlm\heimdal
-
+HTTP_SENDER_INTDIR5 = $(AXIS2_INTDIR)\http_sender\ntlm\libntlm
HTTP_SENDER_OBJS = $(HTTP_SENDER_INTDIR)\*.obj
@@ -661,6 +668,9 @@ $(HTTP_SENDER_INTDIR3) : $(HTTP_SENDER_INTDIR4) :
@if not exist $(HTTP_SENDER_INTDIR4) mkdir $(HTTP_SENDER_INTDIR4)
+$(HTTP_SENDER_INTDIR5) :
+ @if not exist $(HTTP_SENDER_INTDIR5) mkdir $(HTTP_SENDER_INTDIR5)
+
{$(HTTP_SENDER_SRC)}.c{$(HTTP_SENDER_INTDIR)}.obj ::
$(CC) $(CFLAGS) /Fo$(HTTP_SENDER_INTDIR)\ /c $<
@@ -677,6 +687,9 @@ $(HTTP_SENDER_INTDIR4) : {$(HTTP_SENDER_SRC)\ntlm\heimdal}.c{$(HTTP_SENDER_INTDIR4)}.obj ::
$(CC) $(CFLAGS) /Fo$(HTTP_SENDER_INTDIR4)\ /c $<
+{$(HTTP_SENDER_SRC)\ntlm\libntlm}.c{$(HTTP_SENDER_INTDIR5)}.obj ::
+ $(CC) $(CFLAGS) /Fo$(HTTP_SENDER_INTDIR5)\ /c $<
+
!if "$(ENABLE_SSL)" == "1"
!if "$(ENABLE_LIBCURL)" == "1"
HTTP_SENDER_OBJS = $(HTTP_SENDER_OBJS) \
@@ -699,7 +712,7 @@ $(HTTP_SENDER_OBJS) : $(HTTP_SENDER_INTDIR) $(HTTP_SENDER_INTDIR2) $(HTTP_SENDER_OBJS) : $(HTTP_SENDER_INTDIR)
!endif
-!if "$(ENABLE_NTLM)" == "1"
+!if "$(ENABLE_NTLM_WITH_HEIMDAL)" == "1"
HTTP_SENDER_OBJS = $(HTTP_SENDER_OBJS) \
$(HTTP_SENDER_INTDIR3)\*.obj \
$(HTTP_SENDER_INTDIR4)\*.obj
@@ -707,6 +720,15 @@ HTTP_SENDER_OBJS = $(HTTP_SENDER_OBJS) \ $(HTTP_SENDER_OBJS) : $(HTTP_SENDER_INTDIR3) $(HTTP_SENDER_INTDIR4)
!endif
+
+!if "$(ENABLE_NTLM_WITH_LIBNTLM)" == "1"
+HTTP_SENDER_OBJS = $(HTTP_SENDER_OBJS) \
+ $(HTTP_SENDER_INTDIR3)\*.obj \
+ $(HTTP_SENDER_INTDIR5)\*.obj
+
+$(HTTP_SENDER_OBJS) : $(HTTP_SENDER_INTDIR3) $(HTTP_SENDER_INTDIR5)
+!endif
+
$(AXIS2_LIBS)\$(AXIS2_HTTP_SENDER).dll : $(HTTP_SENDER_OBJS)
$(LD) $(LDFLAGS) $(HTTP_SENDER_OBJS) $(AXUTIL).lib \
$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib \
|