#
# Targets
#

# Place the sipconn executable in DEST
DEST          = $(SNS_ROOT)/bin

# List of the source-files in this directory
SRCS          = UnitTestClient.cpp \
		SipConnectorClientProxy.cpp \
		SipConnectorAccessPoint.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$(CSN_ROOT)/infrastructure/failover/role/c++/src \
		-I$(UTL_ROOT)/src/include \
		-I$(UTL_ROOT)/src/libOam \
		-I$(UTL_ROOT)/src/libeICC \
		-I$(ORACLE_HOME)/precomp/public

# -L is a search-path for libraries
# -l is a librariy to include in linking
LIBS=	$(ASNLIB) -L$(CSN_ROOT)/infrastructure/failover/role/c++/lib -lFailoverRole -L$(UTL_ROOT)/lib -lpthread \
	-L$(UTL_ROOT)/lib -lLogs -lTimer -lOam \
	-lrt -lasn1ber -lasn1rt \
	-lCore++ -lAlarm $(SSPLIB) -L$(ORACLE_HOME)/$(ORALIB) -lclntsh -lRdnPool \
	$(PNX_LIBSQL)

# the name of the executable to produce
EXEC          = UnitTestClient

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

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

