#
# Targets
#

# Place the .so file in DEST
DEST          = $(SNS_ROOT)/lib

# List of the source-files in this directory
SRCS          = RadvisionSipStack.cpp \
		OTDetermination.cpp \
		HeaderCtrl.cpp \
		SdpCtrl.cpp \
		RadvisionOutboundAddressManager.cpp \
		RadvisionCallLegEventHandler.cpp \
		RadvisionStackUtil.cpp \
		TransformationCollection.cpp \
		RadvisionPrivacyTransformation.cpp \
		RadvisionSipStackTransformations.cpp \
		RadvisionMakeAsiCallTransformation.cpp \
		RadvisionMakeCallTransformation.cpp \
		RadvisionAsiTransformation.cpp \
		RadvisionMessageTransformation.cpp \
		RadvisionRoutingTransformation.cpp \
		RadvisionRemoveSdpTransformation.cpp \
		RadvisionAssertedIdentityTransformation.cpp \
		RadvisionSdpInactiveTransformation.cpp \
		RadvisionSetOriginHeaderTransformation.cpp \
		RadvisionRedirectAsiTransformation.cpp \
		RadvisionModifyInviteTransformation.cpp \
		RadvisionTransactionEventHandler.cpp


# Object-files that are derived from the sources
OBJS          = $(SRCS:%.cpp=%.o)

# Directories to search for header-files
INCL          = -DSERVER_COMMON_APP_DLL= $(SSPINCL) $(ASNINCL) \
		-I$(SNS_ROOT)/src/event \
		-I$(SNS_ROOT)/src/networkcall \
		-I$(SNS_ROOT)/src/sicc \
		-I$(SNS_ROOT)/src/condition \
		-I$(SNS_ROOT)/src/sipstack \
		-I$(SNS_ROOT)/src/utils \
		-I$(SNS_ROOT)/src/connector \
		-I$(SNS_ROOT)/src/sippresence \
		-I$(SNS_ROOT)/src/sipconn \
        -I$(SNS_ROOT)/src/statistics \
        -I$(SNS_ROOT)/src/sipha \
		-I$(UTL_ROOT)/src/include \
		-I$(UTL_ROOT)/src/libOam \
		-I$(UTL_ROOT)/src/libeICC \
		-I$(CSN_ROOT)/infrastructure/replication/c++/src \
		-I$(CSN_ROOT)/infrastructure/failover/status/c++/src \
		-I$(CSN_ROOT)/infrastructure/failover/role/c++/src \
		-I$(ORACLE_HOME)/precomp/public

# Libraries to link against
LIBS          =

# Name of the .so to produce
LIBNAME       = libSnsSipStack

include $(UTL_ROOT)/MakeIncl/Makeflags.$(PNX_OS)
include $(UTL_ROOT)/MakeIncl/MakeLib

# Take any .pc files and use them to create .cpp
$(GENS): %.cpp: %.pc

# Take any OBJS files with .o and use the .cpp to create them
$(OBJS): %.o: %.cpp

