## Process this file with automake to produce Makefile.in
include $(top_srcdir)/config/sipXcommon.am.inc

SUBDIRS = . test

lib_LTLIBRARIES = libsipXport.la

INCLUDES = -I$(top_srcdir)/sipXportLib/include -I$(top_srcdir)/sipXcallLib/include

## Libtool version info - update only immediately before a release
# Current - increment if any interfaces are added, removed, or changed
version_Current=2
# Revision - set to 0 if Current was incremented
#            increment if any implementation has changed
version_Revision=0
# Age - set to 0 of any interfaces have been removed
#       increment if any interfaces have been added
version_Age=0

libsipXport_la_LDFLAGS = \
	-version-info ${version_Current}:${version_Revision}:${version_Age}

libsipXport_la_LIBADD = \
	-lssl -lcrypto \
	-lpcre \
	-ldl \
	-lpthread  \
	-lstdc++

# this is helpful if you're debugging something with lots of inlines (like the UtlLink code)
# 		-fno-gcse -O0 -fno-implement-inlines -fno-default-inline

libsipXport_la_CXXFLAGS = \
	-DSIPX_TMPDIR=\"@SIPX_TMPDIR@\" \
	-DSIPX_CONFDIR=\"@SIPX_CONFDIR@\"

nodist_libsipXport_la_SOURCES =  \
    $(top_srcdir)/config/@PACKAGE@-buildstamp.h \
    $(top_srcdir)/config/@PACKAGE@-buildstamp.cpp

libsipXport_la_SOURCES =  \
    utl/UtlLongLongInt.cpp \
    utl/UtlNameValueTokenizer.cpp \
    utl/UtlBool.cpp \
    utl/UtlCopyableContainable.cpp \
    utl/UtlCrc32.cpp \
    utl/UtlCryptoData.cpp \
    utl/UtlCryptoKey.cpp \
    utl/UtlCryptoKeyRsa.cpp \
    utl/UtlCryptoKeySym.cpp \
    utl/UtlDateTime.cpp \
    utl/UtlLink.cpp \
    utl/UtlVoidPtr.cpp \
    utl/UtlHistogram.cpp \
    utl/UtlInit.cpp \
    utl/UtlInt.cpp \
    utl/UtlIntPtr.cpp \
    utl/UtlString.cpp \
    utl/UtlChainPool.cpp \
    utl/UtlContainable.cpp \
    utl/UtlContainer.cpp \
    utl/UtlContainableAtomic.cpp \
    utl/UtlContainablePair.cpp \
    utl/UtlIterator.cpp \
    utl/UtlList.cpp \
    utl/UtlListIterator.cpp \
    utl/UtlSList.cpp \
    utl/UtlCopyableSList.cpp \
    utl/UtlSListIterator.cpp \
    utl/UtlDList.cpp \
    utl/UtlDListIterator.cpp \
    utl/UtlCopyableSortedList.cpp \
    utl/UtlSortedList.cpp \
    utl/UtlSortedListIterator.cpp \
    utl/UtlHashMap.cpp \
    utl/UtlHashMapIterator.cpp \
    utl/UtlHashBag.cpp \
    utl/UtlHashBagIterator.cpp \
    utl/UtlRscStore.cpp \
    utl/UtlRegex.cpp \
    utl/UtlTokenizer.cpp \
    utl/XmlContent.cpp \
    utl/UtlRandom.cpp \
    utl/PluginHooks.cpp \
    os/NatMsg.cpp \
    os/OsAssert.c \
    os/OsCallback.cpp \
    os/OsConfigDb.cpp \
    os/OsContact.cpp \
    os/OsContactList.cpp \
    os/OsConnectionSocket.cpp \
    os/OsCSemBase.cpp \
    os/OsDatagramSocket.cpp \
    os/OsDateTime.cpp \
    os/OsDirBase.cpp \
    os/OsEncryption.cpp \
    os/OsEvent.cpp \
    os/OsEventMsg.cpp \
    os/OsExcept.cpp \
    os/OsFileBase.cpp \
    os/OsFileInfoBase.cpp \
    os/OsFileIteratorBase.cpp \
    os/OsFileSystem.cpp \
    os/OsLockingList.cpp \
    os/OsIntPtrMsg.cpp \
    os/OsMsg.cpp \
    os/OsMsgPool.cpp \
    os/OsMsgQ.cpp \
    os/OsMsgDispatcher.cpp \
    os/OsMulticastSocket.cpp \
    os/OsNameDb.cpp \
    os/OsNameDbInit.cpp \
    os/OsNatAgentTask.cpp \
    os/OsNatDatagramSocket.cpp \
    os/OsNatConnectionSocket.cpp \
    os/OsNatSocketBaseImpl.cpp \
    os/OsPathBase.cpp \
    os/osPrintf.cpp \
    os/OsProcessBase.cpp \
    os/OsProcessIteratorBase.cpp \
    os/OsProcessMgr.cpp \
    os/OsProtectEvent.cpp \
    os/OsProtectEventMgr.cpp \
    os/OsProtectEventMgrInit.cpp \
    os/OsPtrMsg.cpp \
    os/OsQueuedEvent.cpp \
    os/OsRpcMsg.cpp \
    os/OsServerSocket.cpp \
    os/OsServerTask.cpp \
    os/OsSharedLibMgr.cpp \
    os/OsSocket.cpp \
    os/OsSocketCrypto.cpp \
    os/OsSSL.cpp \
    os/OsSSLConnectionSocket.cpp \
    os/OsSSLServerSocket.cpp \
    os/OsSysLog.cpp \
    os/OsSysLogFacilities.cpp \
    os/OsSysLogMsg.cpp \
    os/OsSysLogTask.cpp \
    os/OsTask.cpp \
    os/OsTime.cpp \
    os/OsTimeLog.cpp \
    os/OsTimer.cpp \
    os/OsTimerMsg.cpp \
    os/OsTimerTask.cpp \
    os/OsTLSServerSocket.cpp \
    os/OsTLSConnectionSocket.cpp \
    os/OsTLSClientConnectionSocket.cpp \
    os/OsTokenizer.cpp \
    os/OsUtil.cpp \
    os/StunMessage.cpp \
    os/StunUtils.cpp \
    os/TurnMessage.cpp \
    os/shared/OsMsgQShared.cpp \
    os/shared/OsTimerMessage.cpp \
    os/linux/clock_gettime.c \
    os/linux/host_address.c \
    os/linux/AdapterInfo.cpp \
    os/linux/OsBSemLinux.cpp \
    os/linux/OsCSemLinux.cpp \
    os/linux/OsDateTimeLinux.cpp \
    os/linux/OsDirLinux.cpp \
    os/linux/OsFileInfoLinux.cpp \
    os/linux/OsFileIteratorLinux.cpp \
    os/linux/OsFileLinux.cpp \
    os/linux/OsMutexLinux.cpp \
    os/linux/OsPathLinux.cpp \
    os/linux/OsProcessIteratorLinux.cpp \
    os/linux/OsProcessLinux.cpp \
    os/linux/OsRWMutexLinux.cpp \
    os/linux/OsSharedLibMgrLinux.cpp \
    os/linux/OsTaskLinux.cpp \
    os/linux/OsUtilLinux.cpp \
    os/linux/pt_csem.c \
    os/linux/pt_mutex.c \
    xmlparser/tinystr.cpp \
    xmlparser/tinyxml.cpp \
    xmlparser/tinyxmlerror.cpp \
    xmlparser/tinyxmlparser.cpp \
    xmlparser/TiXmlIterator.cpp \
    xmlparser/ExtractContent.cpp \
    hmac-sha1/hmac-sha1.c \
    hmac-sha1/sha1.c \
    hmac-sha1/sha1.h

EXTRA_DIST= \
    os/Wnt/getWindowsDNSServers.cpp \
    os/Wnt/OsBSemWnt.cpp \
    os/Wnt/OsCSemWnt.cpp \
    os/Wnt/OsDateTimeWnt.cpp \
    os/Wnt/OsDirWnt.cpp \
    os/Wnt/OsFileInfoWnt.cpp \
    os/Wnt/OsFileIteratorWnt.cpp \
    os/Wnt/OsFileSystemWnt.cpp \
    os/Wnt/OsFileWnt.cpp \
    os/Wnt/OsMutexWnt.cpp \
    os/Wnt/OsPathWnt.cpp \
    os/Wnt/OsProcessIteratorWnt.cpp \
    os/Wnt/OsProcessWnt.cpp \
    os/Wnt/OsSharedLibMgrWnt.cpp \
    os/Wnt/OsTaskWnt.cpp \
    os/Wnt/OsTimerMessage.cpp \
    os/Wnt/OsUtilWnt.cpp \
    os/Wnt/WindowsAdapterInfo.cpp 
