axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r414467 - in /webservices/axis2/trunk/c: build/win32/ modules/core/transport/http/server/simple_axis2_server/ util/include/platforms/windows/ util/src/platforms/windows/
Date Thu, 15 Jun 2006 05:14:11 GMT
Author: nandika
Date: Wed Jun 14 22:14:10 2006
New Revision: 414467

URL: http://svn.apache.org/viewvc?rev=414467&view=rev
Log:
getopt function corrected , makefile update

Modified:
    webservices/axis2/trunk/c/build/win32/configure.in
    webservices/axis2/trunk/c/build/win32/makefile
    webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c
    webservices/axis2/trunk/c/util/include/platforms/windows/axis2_getopt_windows.h
    webservices/axis2/trunk/c/util/src/platforms/windows/getopt_windows.c

Modified: webservices/axis2/trunk/c/build/win32/configure.in
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/build/win32/configure.in?rev=414467&r1=414466&r2=414467&view=diff
==============================================================================
--- webservices/axis2/trunk/c/build/win32/configure.in (original)
+++ webservices/axis2/trunk/c/build/win32/configure.in Wed Jun 14 22:14:10 2006
@@ -1,5 +1,7 @@
+ENABLE_SSL = 1
 LIBXML2_INSTALL_DIR = E:\libxml2-2.6.23.win32
 ICONV_INSTALL_DIR = E:\iconv-1.9.1.win32
 ZLIB_INSTALL_DIR=E:\zlib-1.2.3.win32
 APACHE_INSTALL_DIR = E:\Apache2
+OPENSSL_INSTALL_DIR = E:\OpenSSL
 RELEASE_VER = 0.92

Modified: webservices/axis2/trunk/c/build/win32/makefile
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/build/win32/makefile?rev=414467&r1=414466&r2=414467&view=diff
==============================================================================
--- webservices/axis2/trunk/c/build/win32/makefile (original)
+++ webservices/axis2/trunk/c/build/win32/makefile Wed Jun 14 22:14:10 2006
@@ -1,16 +1,15 @@
-# THIS IS THE MAKE FILE FOR AXIS2
+# THIS IS THE MAKE FILE FOR AXIS2/C
 # this file should reside in the win32 directory of the source directory
 # when executed 
 # nmake [all] build dlls , server , samples [ client, server ] 
 # nmake clean clean everything
 # nmake samples build samples
-# nmake tests
 # nmake install to install axis2 with server all modules and services
 
 
 # install directory will be (default)deploy or if the user a specified  directory
 # then the directory structure is following
-#	AXIS2_INSTALL_DIR
+#      AXIS2_INSTALL_DIR
 #	|
 #	|- bin        - server and other executables
 #       |   |- samples - samples
@@ -24,12 +23,10 @@
 #            |- unit tests           
 
 
-# directory structure of install directory
 AUTOCONF = configure.in
 !include $(AUTOCONF)
 
-#LIBXML2_INSTALL_DIR = C:\libxml2
-#ICONV_INSTALL_DIR = C:\iconv
+# directory structure of install directory
 
 AXIS2_INSTALL_DIR = ..\deploy
 AXIS2_SERVICES = $(AXIS2_INSTALL_DIR)\services
@@ -44,12 +41,6 @@
 AXIS2_TESTS_UNIT = $(AXIS2_TESTS)\unit_tests
 AXIS2_SOURCE_DIR = ..\..
 
-#config file name
-
-AXIS2_CONFIG_FILE = .\axis2config.msvc
-
-
-
 #  versioning information
 
 AXIS2_MAJOR_VERSION = M
@@ -68,41 +59,103 @@
 AXIS2_SERVER = axis2_http_server
 AXIS2_APACHE_MODULE = mod_axis2
 
-# axis2_version
+#other modules 
 
-AXIS2_DIST_VER = $(AXIS2_MAJOR_VERSION).$(AXIS2_MINOR_VERSION).$(AXIS2_MICRO_VERSION)
+AXIS2_RAMPART = mod_rampart
+AXIS2_MOD_ADDR = axis2_mod_addr
 
+# include path
+APACHE_INCLUE_PATH = /I$(APACHE_INSTALL_DIR)\include
+AXIS2_INCLUDE_PATH = 	/I$(AXIS2_SOURCE_DIR)\util\include \
+		/I$(AXIS2_SOURCE_DIR)\util\src\  \
+		/I$(AXIS2_SOURCE_DIR)\util\src\minizip\  \
+		/I$(AXIS2_SOURCE_DIR)\axiom\include  \
+		/I$(AXIS2_SOURCE_DIR)\axiom\src\om  \
+		/I$(AXIS2_SOURCE_DIR)\axiom\src\soap \
+		/I$(AXIS2_SOURCE_DIR)\util\include\platforms \
+		/I$(AXIS2_SOURCE_DIR)\modules\wsdl \
+		/I$(AXIS2_SOURCE_DIR)\modules\core\clientapi \
+		/I$(AXIS2_SOURCE_DIR)\modules\core\deployment \
+		/I$(AXIS2_SOURCE_DIR)\modules\core\description \
+		/I$(AXIS2_SOURCE_DIR)\modules\core\transport \
+		/I$(AXIS2_SOURCE_DIR)\include \
+		/I$(AXIS2_SOURCE_DIR)\modules\core\engine \
+		/I$(AXIS2_SOURCE_DIR)\modules\core\context \
+		/I$(AXIS2_SOURCE_DIR)\modules\core\util \
+		/I$(AXIS2_SOURCE_DIR)\modules\core\transport\http\server\apache2 \
+		/I$(AXIS2_SOURCE_DIR)\axiom\src\attachments \
+		/I$(LIBXML2_INSTALL_DIR)\include \
+		/I$(ICONV_INSTALL_DIR)\include \
+		/I$(ZLIB_INSTALL_DIR)\include
 
-# the preprocessor and its options
-CPP = cl.exe /FP
-CPPFLAGS = /nologo /I$(AXIS2_SOURCE_DIR)\include 
+!if "$(ENABLE_SSL)" == "1"
+AXIS2_INCLUDE_PATH = $(AXIS2_INCLUDE_PATH) /I$(OPENSSL_INSTALL_DIR)\include
+!endif
 
-#The compiler and its options
+#source paths for core modules
 
-# include path
-GUTHTHILA_INCP = /I$(AXIS2_SOURCE_DIR)\guththila\impl\src
-APACHE_INCP = /I$(APACHE_INSTALL_DIR)\include
-AXIS2_INCP = /I$(AXIS2_SOURCE_DIR)\util\include /I$(AXIS2_SOURCE_DIR)\util\src\ /I$(AXIS2_SOURCE_DIR)\util\src\minizip\
/I$(AXIS2_SOURCE_DIR)\axiom\include /I$(AXIS2_SOURCE_DIR)\axiom\src\om /I$(AXIS2_SOURCE_DIR)\axiom\src\soap
 /I$(AXIS2_SOURCE_DIR)\util\include\platforms /I$(AXIS2_SOURCE_DIR)\modules\wsdl /I$(AXIS2_SOURCE_DIR)\modules\core\clientapi
/I$(AXIS2_SOURCE_DIR)\modules\core\deployment /I$(AXIS2_SOURCE_DIR)\modules\core\description
/I$(AXIS2_SOURCE_DIR)\modules\core\transport /I$(AXIS2_SOURCE_DIR)\include /I$(LIBXML2_INSTALL_DIR)\include
/I$(ICONV_INSTALL_DIR)\include /I$(ZLIB_INSTALL_DIR)\include /I$(AXIS2_SOURCE_DIR)\modules\core\engine
/I$(AXIS2_SOURCE_DIR)\modules\core\context /I$(AXIS2_SOURCE_DIR)\modules\core\util /I$(AXIS2_SOURCE_DIR)\include\platforms
/I$(AXIS2_SOURCE_DIR)\include\platforms\windows /I$(AXIS2_SOURCE_DIR)\modules\xml\om /I$(AXIS2_SOURCE_DIR)\modules\xml\soap
 /I$(AXIS2_SOURCE_DIR)\modules\core\transport\http\server\apache2 /I$(AXIS2_SOURCE_D
 IR)\axiom\src\attachments
+AXIS2_UTIL_SRC = $(AXIS2_SOURCE_DIR)\util\src\platforms\windows\*.c \
+		$(AXIS2_SOURCE_DIR)\util\src\minizip\*.c \
+		$(AXIS2_SOURCE_DIR)\util\src\*.c 
+
+AXIS2_PARSER_SRC = $(AXIS2_SOURCE_DIR)\axiom\src\parser\libxml2\*.c
+
+AXIOM_SRC = $(AXIS2_SOURCE_DIR)\axiom\src\om\*.c \
+		$(AXIS2_SOURCE_DIR)\axiom\src\soap\*.c \
+		$(AXIS2_SOURCE_DIR)\axiom\src\attachments\*.c \
+		$(AXIS2_SOURCE_DIR)\axiom\src\util\*.c
+						
+AXIS2_ENGINE_SRC =  $(AXIS2_SOURCE_DIR)\modules\core\addr\*.c \
+		$(AXIS2_SOURCE_DIR)\modules\core\clientapi\*.c \
+		$(AXIS2_SOURCE_DIR)\modules\core\context\*.c \
+		$(AXIS2_SOURCE_DIR)\modules\core\deployment\*.c \
+		$(AXIS2_SOURCE_DIR)\modules\core\description\*.c \
+		$(AXIS2_SOURCE_DIR)\modules\core\engine\*.c \
+		$(AXIS2_SOURCE_DIR)\modules\core\phaseresolver\*.c \
+		$(AXIS2_SOURCE_DIR)\modules\core\receivers\*.c \
+		$(AXIS2_SOURCE_DIR)\modules\core\util\*.c \
+		$(AXIS2_SOURCE_DIR)\modules\core\transport\http\*.c 
+
+AXIS2_WSDL_SRC = $(AXIS2_SOURCE_DIR)\modules\wsdl\*.c
+
+AXIS2_HTTP_SENDER_SRC = $(AXIS2_SOURCE_DIR)\modules\core\transport\http\sender\*.c
+!if "$(ENABLE_SSL)" == "1"
+AXIS2_HTTP_SENDER_SRC = $(AXIS2_HTTP_SENDER_SRC) \
+		$(AXIS2_SOURCE_DIR)\modules\core\transport\http\sender\ssl\*.c
+!endif
 
+AXIS2_HTTP_RECEIVER_SRC = $(AXIS2_SOURCE_DIR)\modules\core\transport\http\receiver\*.c 
 
 
-CC = cl.exe 
-CFLAGS = /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "AXIS2_DECLARE_EXPORT" /D "AXIS2_SVR_MULTI_THREADED"
/w /nologo
-CFLAGS = $(CFLAGS) $(AXIS2_INCP) $(GUTHTHILA_INCP) $(APACHE_INCP)
+#addr module
 
+AXIS2_MOD_ADDR_SRC = $(AXIS2_SOURCE_DIR)\modules\mod_addr\*.c
 
+#rampart module
+MOD_RAMPART_SRC = $(AXIS2_SOURCE_DIR)\rampart\src\core\*.c \
+		$(AXIS2_SOURCE_DIR)\rampart\src\handlers\*.c \
+		$(AXIS2_SOURCE_DIR)\rampart\src\util\*.c
+
+MOD_RAMPART_INCLUDE_PATH = $(AXIS2_SOURCE_DIR)\rampart\include
 
-# linker options
 
+#compiler options
+CC = cl.exe 
+CFLAGS = /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "AXIS2_DECLARE_EXPORT" \
+	  /D "AXIS2_SVR_MULTI_THREADED" /w /nologo $(AXIS2_INCLUDE_PATH) \
+	 $(APACHE_INCLUDE_PATH)
+
+# linker options
 LD = link.exe
-LDFLAGS = /nologo /LIBPATH:$(AXIS2_LIBS) /LIBPATH:$(LIBXML2_INSTALL_DIR)\lib /LIBPATH:$(APACHE_INSTALL_DIR)\lib
/LIBPATH:$(ZLIB_INSTALL_DIR)\lib
+LDFLAGS = /nologo /LIBPATH:$(AXIS2_LIBS) /LIBPATH:$(LIBXML2_INSTALL_DIR)\lib \
+		/LIBPATH:$(APACHE_INSTALL_DIR)\lib /LIBPATH:$(ZLIB_INSTALL_DIR)\lib
 LIBS =  Rpcrt4.lib Ws2_32.lib
+!if "$(ENABLE_SSL)" == "1"
+LDFLAGS = $(LDFLAGS) /LIBPATH:$(OPENSSL_INSTALL_DIR)\lib\vc 
+LIBS = $(LIBS) libeay32MT.lib ssleay32MT.lib
+!endif
 APACHE_LIBS = apr.lib xml.lib libhttpd.lib aprutil.lib libapr.lib
 
-# The archiver and its options.
-AR = lib.exe
-ARFLAGS = /nologo
-
 #debug symbols
 !if "$(DEBUG)" == "1"
 CFLAGS = $(CFLAGS) /D "_DEBUG" /Od /Z7
@@ -113,8 +166,9 @@
 !endif
 
 
-# create the directory structure
+################################################################
 
+# create the directory structure
 deploy:
 	if not exist $(AXIS2_INSTALL_DIR) mkdir $(AXIS2_INSTALL_DIR) 
 	if not exist $(AXIS2_BINS) mkdir $(AXIS2_BINS)
@@ -124,6 +178,7 @@
 	if not exist $(AXIS2_INCLUDE) mkdir $(AXIS2_INCLUDE)
 	if not exist $(AXIS2_LOG) mkdir $(AXIS2_LOG)
 
+#clean 
 clean:
 	if exist $(AXIS2_INSTALL_DIR) rmdir /S /Q $(AXIS2_INSTALL_DIR)
 
@@ -142,59 +197,77 @@
 	xcopy /E /I /Y $(AXIS2_SOURCE_DIR)\util\include $(AXIS2_INSTALL_DIR)\include\
 
 axis2_util: 
-	$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\util\src\platforms\windows\*.c $(AXIS2_SOURCE_DIR)\util\src\minizip\*.c
$(AXIS2_SOURCE_DIR)\util\src\*.c  /c
-	$(LD) $(LDFLAGS) *.obj $(LIBS) $(ZLIB_INSTALL_DIR)\lib\zdll.lib /DLL  /OUT:$(AXIS2_UTIL).dll
/IMPLIB:$(AXIS2_UTIL).lib
+	$(CC) $(CFLAGS) $(AXIS2_UTIL_SRC)  /c
+	$(LD) $(LDFLAGS) *.obj $(LIBS) $(ZLIB_INSTALL_DIR)\lib\zdll.lib \
+		/DLL  /OUT:$(AXIS2_UTIL).dll /IMPLIB:$(AXIS2_UTIL).lib
 	del *.obj
+	del *.exp
 	copy $(AXIS2_UTIL).* $(AXIS2_LIBS)\
 	
 	del axis2*.*
 
 axis2_parser: 
-	$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\axiom\src\parser\libxml2\*.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(LIBS) $(LIBXML2_INSTALL_DIR)\lib\libxml2.lib
 /DLL /OUT:$(AXIS2_PARSER).dll /IMPLIB:$(AXIS2_PARSER).lib
+	$(CC) $(CFLAGS) $(AXIS2_PARSER_SRC) /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(LIBS) \
+	$(LIBXML2_INSTALL_DIR)\lib\libxml2.lib  /DLL \
+	/OUT:$(AXIS2_PARSER).dll /IMPLIB:$(AXIS2_PARSER).lib
 	del *.obj
+	del *.exp
 	copy $(AXIS2_PARSER).* $(AXIS2_LIBS)\
 
 	del axis2*.*
 
 axiom: 
-	$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\axiom\src\om\*.c $(AXIS2_SOURCE_DIR)\axiom\src\soap\*.c
$(AXIS2_SOURCE_DIR)\axiom\src\attachments\*.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIS2_PARSER).lib $(LIBS)  /DLL /OUT:$(AXIOM).dll
/IMPLIB:$(AXIOM).lib
+	$(CC) $(CFLAGS) $(AXIOM_SRC) /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib \
+	$(AXIS2_PARSER).lib $(LIBS)  /DLL /OUT:$(AXIOM).dll /IMPLIB:$(AXIOM).lib
 	del *.obj
+	del *.exp
 	copy $(AXIOM).* $(AXIS2_LIBS)\
-	
-	del $(AXIOM).*
 
+	del $(AXIOM).*
 
 axis2_wsdl: 
-	$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\modules\wsdl\*.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(LIBS)  /DLL /OUT:$(AXIS2_WSDL).dll /IMPLIB:$(AXIS2_WSDL).lib
+	$(CC) $(CFLAGS) $(AXIS2_WSDL_SRC) /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(LIBS) \
+	/DLL /OUT:$(AXIS2_WSDL).dll /IMPLIB:$(AXIS2_WSDL).lib
 	del *.obj
+	del *.exp
 	copy $(AXIS2_WSDL).* $(AXIS2_LIBS)\
 	
 	del axis2*.*
 
 axis2_engine: 
-	$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\modules\core\addr\*.c $(AXIS2_SOURCE_DIR)\modules\core\clientapi\*.c
$(AXIS2_SOURCE_DIR)\modules\core\context\*.c $(AXIS2_SOURCE_DIR)\modules\core\deployment\*.c
$(AXIS2_SOURCE_DIR)\modules\core\description\*.c $(AXIS2_SOURCE_DIR)\modules\core\engine\*.c
$(AXIS2_SOURCE_DIR)\modules\core\phaseresolver\*.c $(AXIS2_SOURCE_DIR)\modules\core\receivers\*.c
$(AXIS2_SOURCE_DIR)\modules\core\util\*.c $(AXIS2_SOURCE_DIR)\modules\core\transport\http\*.c
$(AXIS2_SOURCE_DIR)\modules\wsdl\*.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(AXIS2_WSDL).lib
$(LIBS)  /DLL /OUT:$(AXIS2_ENGINE).dll /IMPLIB:$(AXIS2_ENGINE).lib
+	$(CC) $(CFLAGS) $(AXIS2_ENGINE_SRC) /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib \
+	$(AXIS2_PARSER).lib $(AXIS2_WSDL).lib $(LIBS)  \
+	/DLL /OUT:$(AXIS2_ENGINE).dll /IMPLIB:$(AXIS2_ENGINE).lib
 	del *.obj
+	del *.exp
 	copy $(AXIS2_ENGINE).* $(AXIS2_LIBS)\
-	
+
 	del axis2*.*
 
 axis2_http_sender: 
-	$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\modules\core\transport\http\sender\*.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /DLL /OUT:$(AXIS2_TRANSPORT_SENDER).dll /IMPLIB:$(AXIS2_TRANSPORT_SENDER).lib
+	$(CC) $(CFLAGS) $(AXIS2_HTTP_SENDER_SRC) /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib \
+	$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib \
+	/DLL /OUT:$(AXIS2_TRANSPORT_SENDER).dll /IMPLIB:$(AXIS2_TRANSPORT_SENDER).lib
+
 	del *.obj
+	del *.exp
 	copy $(AXIS2_TRANSPORT_SENDER).* $(AXIS2_LIBS)\
 	
 	del axis2*.*
 	
 		
 axis2_http_receiver: 
-	$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\modules\core\transport\http\receiver\*.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /DLL /OUT:$(AXIS2_TRANSPORT_RECEIVER).dll /IMPLIB:$(AXIS2_TRANSPORT_RECEIVER).lib
+	$(CC) $(CFLAGS) $(AXIS2_HTTP_RECEIVER_SRC) /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib \
+	$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib  \
+	/DLL /OUT:$(AXIS2_TRANSPORT_RECEIVER).dll /IMPLIB:$(AXIS2_TRANSPORT_RECEIVER).lib
 	del *.obj
+	del *.exp
 	copy $(AXIS2_TRANSPORT_RECEIVER).* $(AXIS2_LIBS)\
 	
 	del axis2*.*	
@@ -202,8 +275,9 @@
 # modules 
 
 axis2_mod_addr:
-	$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\modules\mod_addr\*.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
/DLL /OUT:axis2_mod_addr.dll  /IMPLIB:axis2_mod_addr.lib
+	$(CC) $(CFLAGS) $(AXIS2_MOD_ADDR_SRC) /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
+	$(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:axis2_mod_addr.dll  /IMPLIB:axis2_mod_addr.lib
 	del *.obj
 	
 	if not exist $(AXIS2_MODULES)\addressing mkdir $(AXIS2_MODULES)\addressing
@@ -211,26 +285,36 @@
 	copy axis2_mod_addr.dll $(AXIS2_MODULES)\addressing\
 
 	del *.dll
-	
 	del *.lib
-	
 	copy $(AXIS2_SOURCE_DIR)\modules\mod_addr\module.xml $(AXIS2_MODULES)\addressing
 
-# end modules
 
-axis2_server: 
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP) $(AXIS2_SOURCE_DIR)\modules\core\transport\http\server\simple_axis2_server\http_server_main.c
/c
-	$(LD) $(LDFLAGS) http_server_main.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib
$(LIBS) $(AXIS2_ENGINE).lib $(AXIS2_TRANSPORT_RECEIVER).lib  /OUT:$(AXIS2_SERVER).exe 
+mod_rampart:
+	$(CC) $(CFLAGS) /I$(MOD_RAMPART_INCLUDE_PATH) $(MOD_RAMPART_SRC) /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
+	$(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:mod_rampart.dll  /IMPLIB:mod_rampart.lib
 	del *.obj
-	copy $(AXIS2_SERVER).exe $(AXIS2_BINS)\
 	
-	del axis2*.*
+	if not exist $(AXIS2_MODULES)\rampart mkdir $(AXIS2_MODULES)\rampart
+
+	copy mod_rampart.dll $(AXIS2_MODULES)\rampart\
+	
+	del *.dll
+	del *.lib
+	copy $(AXIS2_SOURCE_DIR)\rampart\src\data\module.xml $(AXIS2_MODULES)\rampart
+
+
+############# end modules  ###################
+
+################ services ####################
 
-	copy $(AXIS2_SOURCE_DIR)\samples\server\axis2.xml $(AXIS2_INSTALL_DIR)\
 
 axis2_services_echo:
-	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\echo  $(AXIS2_SOURCE_DIR)\samples\server\echo\*.c
/c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
$(AXIS2_TRANSPORT_RECEIVER).lib $(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:echo.dll  
+	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\echo \
+	$(AXIS2_SOURCE_DIR)\samples\server\echo\*.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
+	$(LIBS) $(AXIS2_ENGINE).lib $(AXIS2_TRANSPORT_RECEIVER).lib \
+	$(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:echo.dll  
 	del *.obj
 	
 	if not exist $(AXIS2_SERVICES)\echo mkdir $(AXIS2_SERVICES)\echo
@@ -244,8 +328,11 @@
 	copy $(AXIS2_SOURCE_DIR)\samples\server\echo\services.xml $(AXIS2_SERVICES)\echo
 
 axis2_services_notify:
-	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\echo  $(AXIS2_SOURCE_DIR)\samples\server\notify\*.c
/c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
$(AXIS2_TRANSPORT_RECEIVER).lib $(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:notify.dll  
+	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\echo \
+	$(AXIS2_SOURCE_DIR)\samples\server\notify\*.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib \
+	$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib $(AXIS2_TRANSPORT_RECEIVER).lib \
+	$(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:notify.dll  
 	del *.obj
 	
 	if not exist $(AXIS2_SERVICES)\notify mkdir $(AXIS2_SERVICES)\notify
@@ -260,8 +347,11 @@
 
 
 axis2_services_math:
-	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\math  $(AXIS2_SOURCE_DIR)\samples\server\math\*.c
/c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
$(AXIS2_TRANSPORT_RECEIVER).lib $(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:math.dll  
+	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\math \
+	$(AXIS2_SOURCE_DIR)\samples\server\math\*.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib \
+	$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib $(AXIS2_TRANSPORT_RECEIVER).lib \
+	$(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:math.dll  
 	del *.obj
 	
 	if not exist $(AXIS2_SERVICES)\math mkdir $(AXIS2_SERVICES)\math
@@ -275,8 +365,11 @@
 	copy $(AXIS2_SOURCE_DIR)\samples\server\math\services.xml $(AXIS2_SERVICES)\math
 
 axis2_services_mtom:
-	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\mtom  $(AXIS2_SOURCE_DIR)\samples\server\mtom\*.c
/c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
$(AXIS2_TRANSPORT_RECEIVER).lib $(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:mtom.dll  
+	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\mtom \
+	$(AXIS2_SOURCE_DIR)\samples\server\mtom\*.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
+	$(LIBS) $(AXIS2_ENGINE).lib $(AXIS2_TRANSPORT_RECEIVER).lib \
+	$(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:mtom.dll  
 	del *.obj
 	
 	if not exist $(AXIS2_SERVICES)\mtom mkdir $(AXIS2_SERVICES)\mtom
@@ -290,20 +383,33 @@
 	copy $(AXIS2_SOURCE_DIR)\samples\server\mtom\services.xml $(AXIS2_SERVICES)\mtom
 
 axis2_services_sg_math:
-	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\sg_math  $(AXIS2_SOURCE_DIR)\samples\server\sg_math\add.c
$(AXIS2_SOURCE_DIR)\samples\server\sg_math\add_skeleton.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
$(AXIS2_TRANSPORT_RECEIVER).lib $(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:add.dll  
-	del *.obj
-
-	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\sg_math  $(AXIS2_SOURCE_DIR)\samples\server\sg_math\div.c
$(AXIS2_SOURCE_DIR)\samples\server\sg_math\div_skeleton.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
$(AXIS2_TRANSPORT_RECEIVER).lib $(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:div.dll  
-	del *.obj
-	
-	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\sg_math  $(AXIS2_SOURCE_DIR)\samples\server\sg_math\sub.c
$(AXIS2_SOURCE_DIR)\samples\server\sg_math\sub_skeleton.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
$(AXIS2_TRANSPORT_RECEIVER).lib $(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:sub.dll  
-	del *.obj
-	
-	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\sg_math  $(AXIS2_SOURCE_DIR)\samples\server\sg_math\mul.c
$(AXIS2_SOURCE_DIR)\samples\server\sg_math\mul_skeleton.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
$(AXIS2_TRANSPORT_RECEIVER).lib $(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:mul.dll  
+	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\sg_math  \
+	$(AXIS2_SOURCE_DIR)\samples\server\sg_math\add.c \
+	$(AXIS2_SOURCE_DIR)\samples\server\sg_math\add_skeleton.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib \
+	$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib \
+	$(AXIS2_TRANSPORT_RECEIVER).lib $(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:add.dll  
+	del *.obj
+
+	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\sg_math \
+	$(AXIS2_SOURCE_DIR)\samples\server\sg_math\div.c \
+	$(AXIS2_SOURCE_DIR)\samples\server\sg_math\div_skeleton.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib \
+	$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib $(AXIS2_TRANSPORT_RECEIVER).lib \
+	$(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:div.dll  
+	del *.obj
+	
+	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\sg_math  \
+	$(AXIS2_SOURCE_DIR)\samples\server\sg_math\sub.c $(AXIS2_SOURCE_DIR)\samples\server\sg_math\sub_skeleton.c
/c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
+	$(LIBS) $(AXIS2_ENGINE).lib $(AXIS2_TRANSPORT_RECEIVER).lib $(AXIS2_TRANSPORT_SENDER).lib
/DLL /OUT:sub.dll  
+	del *.obj
+	
+	$(CC) $(CFLAGS) /I$(AXIS2_SOURCE_DIR)\samples\server\sg_math  \
+	$(AXIS2_SOURCE_DIR)\samples\server\sg_math\mul.c $(AXIS2_SOURCE_DIR)\samples\server\sg_math\mul_skeleton.c
/c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
+	$(LIBS) $(AXIS2_ENGINE).lib $(AXIS2_TRANSPORT_RECEIVER).lib \
+	$(AXIS2_TRANSPORT_SENDER).lib /DLL /OUT:mul.dll  
 	del *.obj
 	
 	if not exist $(AXIS2_SERVICES)\sg_math mkdir $(AXIS2_SERVICES)\sg_math
@@ -316,9 +422,28 @@
 	
 	copy $(AXIS2_SOURCE_DIR)\samples\server\sg_math\services.xml $(AXIS2_SERVICES)\sg_math
 
+################## server ##################################
+
+axis2_server: 
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH) \
+	$(AXIS2_SOURCE_DIR)\modules\core\transport\http\server\simple_axis2_server\http_server_main.c
/c
+	$(LD) $(LDFLAGS) http_server_main.obj $(AXIS2_UTIL).lib \
+	$(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib \
+	$(AXIS2_TRANSPORT_RECEIVER).lib  /OUT:$(AXIS2_SERVER).exe 
+	del *.obj
+	copy $(AXIS2_SERVER).exe $(AXIS2_BINS)\
+	
+	del axis2*.*
+
+	copy $(AXIS2_SOURCE_DIR)\samples\server\axis2.xml $(AXIS2_INSTALL_DIR)\
+
+
+################# apache module ###########################
+
 axis2_apache_module:
-	$(CC) $(CFLAGS) $(AXIS2_SOURCE_DIR)\modules\core\transport\http\server\apache2\*.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
$(APACHE_LIBS) /DLL /OUT:mod_axis2.dll  /IMPLIB:mod_axis2.lib 
+	$(CC) $(CFLAGS) $(APACHE_INCLUE_PATH) $(AXIS2_SOURCE_DIR)\modules\core\transport\http\server\apache2\*.c
/c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
+	$(LIBS) $(AXIS2_ENGINE).lib $(APACHE_LIBS) /DLL /OUT:mod_axis2.dll  /IMPLIB:mod_axis2.lib

 	del *.obj
 	copy mod_axis2.dll $(AXIS2_LIBS)\
 
@@ -328,9 +453,13 @@
 	del *.exp
 	del *.lib
 	
+###################### clients #################################
+
 axis2_client_math:
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP)  $(AXIS2_SOURCE_DIR)\samples\client\math\*.c
/c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /OUT:math.exe 
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH) \
+	$(AXIS2_SOURCE_DIR)\samples\client\math\*.c /w /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib \
+	$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib  /OUT:math.exe 
 	del *.obj
 	
 	if not exist $(AXIS2_BINS)\samples mkdir $(AXIS2_BINS)\samples
@@ -340,7 +469,8 @@
 	del math.exp
 
 axis2_client_echo:
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP)  $(AXIS2_SOURCE_DIR)\samples\client\echo\echo.c
/c
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH) \
+	$(AXIS2_SOURCE_DIR)\samples\client\echo\echo.c /c
 	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /OUT:echo.exe 
 	del *.obj
 	
@@ -352,8 +482,10 @@
 	
 
 axis2_client_google_spell:
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP)  $(AXIS2_SOURCE_DIR)\samples\client\google\*.c
/c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /OUT:google_spell.exe 
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH) \
+	$(AXIS2_SOURCE_DIR)\samples\client\google\*.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
+	$(AXIS2_ENGINE).lib  /OUT:google_spell.exe 
 	del *.obj
 	
 	if not exist $(AXIS2_BINS)\samples mkdir $(AXIS2_BINS)\samples
@@ -362,8 +494,10 @@
 	del google_spell.exe
 
 axis2_client_notify:
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP)  $(AXIS2_SOURCE_DIR)\samples\client\notify\*.c
/c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /OUT:notify.exe 
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH) \
+	$(AXIS2_SOURCE_DIR)\samples\client\notify\*.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
+	$(AXIS2_ENGINE).lib  /OUT:notify.exe 
 	del *.obj
 	
 	if not exist $(AXIS2_BINS)\samples mkdir $(AXIS2_BINS)\samples
@@ -373,8 +507,10 @@
 	del notify.exp
 
 axis2_client_mtom:
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP)  $(AXIS2_SOURCE_DIR)\samples\client\mtom\*.c
/c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /OUT:mtom.exe 
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH)  \
+	$(AXIS2_SOURCE_DIR)\samples\client\mtom\*.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
+	$(AXIS2_ENGINE).lib  /OUT:mtom.exe 
 	del *.obj
 	
 	if not exist $(AXIS2_BINS)\samples mkdir $(AXIS2_BINS)\samples
@@ -386,32 +522,52 @@
 	del mtom.exp
 
 axis2_client_userguide:
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP)  $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking.c
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /OUT:echo_blocking.exe 
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH)  \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking.c \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
+	$(AXIS2_ENGINE).lib  /OUT:echo_blocking.exe 
 	del *.obj
 	
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP)  $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_non_blocking.c
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /OUT:echo_non_blocking.exe 
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH)  \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_non_blocking.c \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
+	$(AXIS2_ENGINE).lib  /OUT:echo_non_blocking.exe 
 	del *.obj
 
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP)  $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking_addr.c
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /OUT:echo_blocking_addr.exe 
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH)  \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking_addr.c \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
+	$(AXIS2_ENGINE).lib  /OUT:echo_blocking_addr.exe 
 	del *.obj
 
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP)  $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_rest.c
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /OUT:echo_rest.exe 
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH)  \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_rest.c \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
+	$(AXIS2_ENGINE).lib  /OUT:echo_rest.exe 
 	del *.obj
 
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP)  $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking_dual.c
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH)  \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking_dual.c \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
 	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /OUT:echo_blocking_dual.exe 
 	del *.obj
 
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP)  $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_non_blocking_dual.c
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /OUT:echo_non_blocking_dual.exe 
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH)  \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_non_blocking_dual.c \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
+	$(AXIS2_ENGINE).lib  /OUT:echo_non_blocking_dual.exe 
 	del *.obj
 
-	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCP)  $(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking_soap11.c
$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
-	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib
 /OUT:echo_blocking_soap11.exe 
+	$(CC) /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" $(AXIS2_INCLUDE_PATH)  \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_blocking_soap11.c \
+	$(AXIS2_SOURCE_DIR)\samples\user_guide\clients\echo_util.c /c
+	$(LD) $(LDFLAGS) *.obj $(AXIS2_UTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib $(LIBS) \
+	$(AXIS2_ENGINE).lib  /OUT:echo_blocking_soap11.exe 
 	del *.obj
 	
 	
@@ -485,7 +641,12 @@
 	xcopy /E /I $(AXIS2_INSTALL_DIR) ..\axis2c-bin-$(RELEASE_VER)-win32
 	rmdir /S /Q $(AXIS2_INSTALL_DIR)
 
-all: clean_make_dir clean deploy axis2_util axis2_parser axiom axis2_wsdl axis2_engine axis2_http_sender
axis2_http_receiver axis2_mod_addr axis2_server axis2_services_echo axis2_services_math axis2_services_notify
axis2_services_sg_math axis2_services_mtom axis2_client_echo axis2_client_math  axis2_client_google_spell
axis2_client_notify axis2_client_mtom axis2_client_userguide copy_include clean_make_dir 
+all_services: axis2_services_echo axis2_services_math axis2_services_notify axis2_services_sg_math
axis2_services_mtom
+all_clients: axis2_client_echo axis2_client_math  axis2_client_google_spell axis2_client_notify
axis2_client_mtom axis2_client_userguide
+all_core_modules: axis2_util axis2_parser axiom axis2_wsdl axis2_engine axis2_http_sender
axis2_http_receiver
+other_modules: axis2_mod_addr mod_rampart
+
+all: clean_make_dir clean deploy all_core_modules other_modules all_services all_clients
axis2_server   copy_include clean_make_dir 
  
 install: all
 

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c?rev=414467&r1=414466&r2=414467&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c
(original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c
Wed Jun 14 22:14:10 2006
@@ -71,14 +71,14 @@
 {
    axis2_allocator_t *allocator = NULL;
    axis2_env_t *env = NULL;
-    extern char *optarg;
-    extern int optopt;
-    int c;
-
-    axis2_log_levels_t log_level = AXIS2_LOG_LEVEL_DEBUG;
-    const axis2_char_t *log_file = "axis2.log";
+   extern char *optarg;
+   extern int optopt;
+   int c;
+   axis2_log_levels_t log_level = AXIS2_LOG_LEVEL_DEBUG;
+   const axis2_char_t *log_file = "axis2.log";
    int port = 9090;
-    const axis2_char_t *repo_path = "../";
+   const axis2_char_t *repo_path = "../";
+   
    axis2_http_socket_read_timeout = AXIS2_HTTP_DEFAULT_SO_TIMEOUT;
 
     while ((c = AXIS2_GETOPT(argc, argv, ":p:r:ht:l:f:")) != -1)

Modified: webservices/axis2/trunk/c/util/include/platforms/windows/axis2_getopt_windows.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/platforms/windows/axis2_getopt_windows.h?rev=414467&r1=414466&r2=414467&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/platforms/windows/axis2_getopt_windows.h (original)
+++ webservices/axis2/trunk/c/util/include/platforms/windows/axis2_getopt_windows.h Wed Jun
14 22:14:10 2006
@@ -32,9 +32,9 @@
  * @{
  */
 
-AXIS2_DECLARE_DATA  int   opterr;
-AXIS2_DECLARE_DATA  int    optopt;   
-AXIS2_DECLARE_DATA  char   *optarg;
+AXIS2_IMPORT extern int   opterr;
+AXIS2_IMPORT extern int optopt;   
+AXIS2_IMPORT extern char  *optarg;
 
 /**
   * return and log error

Modified: webservices/axis2/trunk/c/util/src/platforms/windows/getopt_windows.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/platforms/windows/getopt_windows.c?rev=414467&r1=414466&r2=414467&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/platforms/windows/getopt_windows.c (original)
+++ webservices/axis2/trunk/c/util/src/platforms/windows/getopt_windows.c Wed Jun 14 22:14:10
2006
@@ -20,13 +20,13 @@
 
 #include <platforms/windows/axis2_getopt_windows.h>
 
-int      opterr = 1; /*default - log error*/
 int      optind = 1;
+int      opterr = 1;
 int      optopt;
 char*   optarg;
 
 #define AXIS2_OPT_ERR_NO_ARG         1
-#define   AXIS2_OPT_ERR_INVALID_OPTION   2
+#define AXIS2_OPT_ERR_INVALID_OPTION   2
 #define AXIS2_OPT_ERR_BAD_ARG         3
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message