#
# Targets
#

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

# List of the source-files in this directory
SRCS          = PresenceServer.cpp

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

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

# Libraries to link against
LIBS          = 

# Name of the .so to produce
LIBNAME       = libSnsSipPresence

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

