##############################################################
#### 		simpleSession  Makefile
##############################################################

include ../../make/project.mk
include $(PROJECT_BASE)/SipTK/make/os.mk

OBJECTS   = \
	simpleSession.o 

#PROGLIBS  =  \
#	-lauthenticator -lcall -lcoreunix -lcoreads -lcorelog -lcorecommon \
#	-lmessage -lparser -lregClient -lrtp -lstackMgr -lparser -ltransaction \
#	-ltransport -lcorecommon -lcoreads -lcoreunix -lstackMgr -lparser -lcall -lregClient -lcoreunix \
#	-lcoreunix -lauthenticator -lcorelog -ltransaction -lcall -lsubscription

ifneq ($(OS),Windows_NT)
PROGLIBS += -lpthread
endif

LIBLIST   = rvsip rvrtp rvcore
PROGFLAGS =  -I../../include/sipAPI -I../../include/sdpAPI -I../../include/coreAPI

PROGDEFS  = 

ifneq ($(OS),Windows_NT)
  ifeq ($(VER), 5.6)	#Solaris2.6
        PROGLIBS += -lposix4
  else
	PROGLIBS += -lrt
  endif
endif

include $(PROJECT_BASE)/SipTK/make/common.mk


APPTARGET = $(bindir)/simpleSession

all: $(APPTARGET)
include $(PROJECT_BASE)/SipTK/make/app.mk



