##############################################################
#### 		simpleServerAuth  Makefile
##############################################################

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

OBJECTS   = \
	simpleServerAuth.o \
	md5c.o \

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

LIBLIST   = rvsip rvrtp rvcore
PROGFLAGS =  \
	-I../../authenticator \
	-I../../core/ads -I../../core/common -I../../core/log -I../../core/unix \
	-I../../common -I../../call -I../../message -I../../parser \
	-I../../regClient -I../../sdp/util -I../../sdp/sdpparser \
	-I../../stackMgr -I../../transaction -I../../transport -I../../subscription 

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)/simpleServerAuth

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