# $Id: Makefile,v 1.42 2001/06/21 22:36:21 kle Exp $

# $Log: Makefile,v $
# Revision 1.42  2001/06/21 22:36:21  kle
# uncommned out #define about a=control (REALAUDIO_HACK)
#
# Revision 1.41  2001/06/12 23:34:52  kle
# disable optimize build by default
#
# Revision 1.40  2001/06/12 22:39:51  kle
# commected out statistics by default
# add optimized flag in Make file
# added define to supress sending 200 for teardown
#
# Revision 1.39  2001/06/05 01:19:44  kle
# fixed leaving file descriptors from fopen problem..forgot to call close
#
# Revision 1.38  2001/05/16 01:19:53  kle
# added comments to compiler directives
#
# Revision 1.37  2001/05/10 22:24:04  kle
# added Doc++ commenting
#
# Revision 1.36  2001/05/09 01:04:27  wjin
# fix for comiling warning of myNumberOfCodecs
#
# Revision 1.35  2001/05/08 00:49:02  kle
# changes.
#
# Revision 1.34  2001/05/07 23:14:33  kle
# code review comments ( from codeReview1.html notes )
#
# Revision 1.33  2001/05/07 19:08:23  kle
# fixed support for various codes.  Rtp and Raw not tested yet.
# inital code review modificaitons
#
# Revision 1.32  2001/04/14 04:07:18  wjin
# add/change for RTSP statistic log
#
# Revision 1.31  2001/04/13 00:31:51  kimle
# chagngs for *.raw and *.rtp formats
#
# Revision 1.30  2001/04/12 00:53:11  wjin
# add sys stat files
#
# Revision 1.29  2001/04/12 00:29:01  kimle
# renamed config.cfg to mediaServer.cfg
# more changes ot get *.rtp format working
#
# Revision 1.28  2001/04/11 21:40:37  kimle
# fixed up *.rtp and *.raw formats a bit, still not working
# added more configuration tags
# others too...
#
# Revision 1.27  2001/04/06 01:52:38  kimle
# graceful shutdown added...not done yet
#
# Revision 1.26  2001/04/05 22:58:42  kimle
# added configuration file
# changed run line of rtsp server
# merged in Mera RtspFileHandler changes
#
# Revision 1.25  2001/04/03 23:22:13  kimle
# changes
#
# Revision 1.24  2001/04/03 02:09:57  kimle
# fixed building sdp object from parital content data
#
# Revision 1.23  2001/04/02 23:32:38  kimle
# fixed appending range problem
# added method to appendSdpFile
#
# Revision 1.22  2001/03/30 19:05:09  kimle
# Merged in Mera 3/30 changes
#
# Revision 1.21  2001/03/30 02:27:06  kimle
# bug fixes in file handling.  everything should work now
#
# Revision 1.20  2001/03/28 02:51:29  kimle
# serveral bug fixes....still more left  :(
#
# Revision 1.19  2001/03/27 03:01:44  kimle
# new completed base/child class of RtspFileHandler
# Still bugs in the file handler, needs major testing
#
# Revision 1.18  2001/03/22 03:45:57  kimle
# fixes to compile in Mera's RtspFileHandler
#
# Revision 1.17  2001/03/21 03:10:34  kimle
# divided up some operators so it takes into account of current state
#
# Revision 1.16  2001/03/21 01:18:31  kimle
# changes
#
# Revision 1.15  2001/03/16 05:01:08  kimle
# Added file manager to lock files
# lots of other changes
#
# Revision 1.14  2001/03/10 03:06:37  kimle
# correct some file name confusion on file handler
# added operators for OPTIONS and SET_PARAMTER
#
# Revision 1.13  2001/03/09 03:40:16  kimle
# Interop with windows
#
# Revision 1.12  2001/03/09 02:14:27  kimle
# Fixes in pause - still buggy
#
# Added DEFINE for performance testing of record
#
# Revision 1.11  2001/03/08 22:34:33  kimle
# Modifications for performance tests
#
# Revision 1.10  2001/03/06 02:10:06  kimle
# Surgey changes - support for wav files
#
# Revision 1.9  2001/02/28 03:12:36  kimle
# Added record functionallity
# fixed lots of bugs
#
# Revision 1.8  2001/02/27 01:53:17  kimle
# new states
# fixed rtp processing
#
# Revision 1.7  2001/02/22 21:28:44  kimle
# Added sample sound files
# Added RtspSessionManager - semi-completed
# Added RtspRtpProcessor - in progress
#
# Revision 1.6  2001/02/17 02:42:47  kimle
# Playing functionality added
#
# Revision 1.5  2001/02/17 00:02:27  kimle
# Added new states and processing
#
# Revision 1.4  2001/02/16 04:05:55  kimle
# surprise  :)
#
# Revision 1.3  2001/02/15 02:48:08  kimle
# added state machine
# add support for message handling in RtspServer
#
# Revision 1.2  2001/02/13 02:40:26  kimle
# Modified RtspServer to use RTSP interfaces
#
# Revision 1.1  2001/02/08 22:45:13  wjin
# Initial check ins for RTSP
#

BUILD = ../../build

include $(BUILD)/Makefile.pre

# Loops to a beginning of a file after reading to end of file
#DEFINES += INFINITE_READ

# Pretends to write file, but doesn't really.  Used for testing.
#DEFINES += DUMB_WRITE

# Uses *.sdp file
#DEFINES += SDP_FILE

# RealAudio hack - misinterperates a=control
#DEFINES += REAL_AUDIO

# Uses non random sessionIds.  Used for testing.
DEFINES += NONRANDOM_SESSIONID

# Surpress sending 200 for teardown request
#DEFINES += NO_200_FOR_TEARDOWN

# Optimize build
#DEFINES += CODE_OPTIMIZE

PACKAGES += LIBSNDFILE RTSPIF RTSP RTP SDP PTHREAD UTIL

TESTPROGRAMS = \
    mediaServer.cxx \

# name of all files to be compiled (don't include header files)
SRC = \
    OpAnnounce.cxx \
    OpDescribe.cxx \
    OpSetup.cxx \
    OpSetupInvalid.cxx \
    OpPlay.cxx \
    OpPlayInvalid.cxx \
    OpRecord.cxx \
    OpRecordInvalid.cxx \
    OpPause.cxx \
    OpPauseOk.cxx \
    OpPauseInvalid.cxx \
    OpTeardown.cxx \
    OpTeardownOk.cxx \
    OpOptions.cxx \
    OpSetParameter.cxx \
    StateMachine.cxx \
    State.cxx \
    RtpFileTypes.cxx \
    RtspCommandLine.cxx \
    RtspConfiguration.cxx \
    RtspFileHandler.cxx \
    RtspFileManager.cxx \
    RtspFile.cxx \
    RtspFileAu.cxx \
    RtspFileRaw.cxx \
    RtspFileRtp.cxx \
    RtspFileWav.cxx \
    RtspRtpProcessor.cxx \
    RtspSession.cxx \
    RtspSessionManager.cxx \
    RtspServer.cxx \
    RtspServerStats.cxx \
    RtspSessionStats.cxx \

include $(BUILD)/Makefile.post
