# $Id: Makefile,v 1.36 2002/11/09 02:10:38 derekm Exp $ BUILD = ../build include $(BUILD)/Makefile.pre PACKAGES += UTIL PTHREAD LIBXML LIBCEXT ifeq ($(USE_SSL),1) PACKAGES += OPENSSL endif INCDIRS += codec DEFINES += USE_PTHREADS TARGET_LIBRARY = librtp TESTPROGRAMS = \ codec/encode.c \ codec/decode.c CODE_SUBDIRS = codec # name of all files to be compiled (don't include header files) SRC = \ RtpPacket.cxx \ RtpTransmitter.cxx \ RtpReceiver.cxx \ RtcpPacket.cxx \ RtcpTransmitter.cxx \ RtcpReceiver.cxx \ RtpEvent.cxx \ RtpEventReceiver.cxx \ RtpSession.cxx \ NtpTime.cxx \ rtpTools.cxx \ rtpCodec.cxx \ codec/g711.c \ codec/g721.c \ codec/g723_24.c \ codec/g723_40.c \ codec/g72x.c CAPIBUILDER := $(BUILD)/../tools/cApiBuilder rtpApi.h: rtpTools.hxx Rtp.hxx Rtcp.hxx RtpSession.hxx $(CAPIBUILDER) cat rtpTools.hxx Rtp.hxx Rtcp.hxx RtpSession.hxx | $(CAPIBUILDER) -h > rtpApi.h rtpApi.cxx: rtpTools.hxx Rtp.hxx Rtcp.hxx RtpSession.hxx $(CAPIBUILDER) cat rtpTools.hxx Rtp.hxx Rtcp.hxx RtpSession.hxx | $(CAPIBUILDER) -irtpTools.hxx -iRtp.hxx -iRtcp.hxx -iRtpSession.hxx > rtpApi.cxx include $(BUILD)/Makefile.post