You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2003/07/02 07:02:16 UTC

cvs commit: xml-axis/c/src/server/handlers Makefile

damitha     2003/07/01 22:02:16

  Added:       c/src/server/handlers Makefile
  Log:
  commiting C++ codebase
  
  Revision  Changes    Path
  1.1                  xml-axis/c/src/server/handlers/Makefile
  
  Index: Makefile
  ===================================================================
  # Makefile for axishandlers
  #
  #
  # Modify the TOPDIR variable to point to the top of the
  # directory tree where the Axis_Lib dir may be found.
  #
  
  BASE_PATH = ../../..
  include ../../../inc.mk
  
  PACKAGE_SRCS = LogHandler.cpp \
  		LogAccessCount.cpp
  
  PACKAGE_OBJS = $(PACKAGE_SRCS:%.cpp=$(AX_OBJ_DIR_HANDLERS)/%.o)
  
  all: MAKE_LIB
  
  MAKE_LIB:OBJS
  	echo "making handlers.a" ;
  	$(AX_AR) $(AX_LIB_HANDLERS) $(AX_OBJ_DIR_HANDLERS)/*.o
  	@echo "making libcount.so shared library" ;
  	$(AX_SO) $(AX_SO_HANDLERS) $(AX_OBJ_DIR_HANDLERS)/*.o -ldl -lstdc++
  
  #$(AX_OBJ_DIR_HANDLERS)/timestamp objects:
  #	@( cd $(AX_SRC_DIR) ; $(MAKE) -$(MAKEFLAGS) )
  
  OBJS: $(PACKAGE_OBJS)
  
  
  clean:
  	-@rm -rf $(AX_OBJ_DIR)/server/handlers/*
  	-@rm -rf $(OBJS) *~