##############################################################
#### 		simpleProxy  Makefile
##############################################################

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

OBJECTS   = \
	simpleProxy.o \

#PROGLIBS  =  \
#	-lauthenticator -lcall -lcoreunix -lcoreads -lcorelog -lcorecommon \
#	-lmessage -lparser -lregClient -lrtp -lstackMgr -lparser -ltransaction \
#	-ltransport -lcorecommon -lcoreads -lcoreunix -lcoreads -lstackMgr -lparser -lcall -lregClient  \
#	-lcoreunix -lcoreads -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)/simpleProxy

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