home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / maestro / source / makefile next >
Encoding:
Makefile  |  1993-06-15  |  2.5 KB  |  95 lines

  1. #
  2. # Master Makefile for building the current MAEstro source,
  3. # including the MAEstro messaging system library, utility
  4. # modules, and application programs.
  5. #
  6.  
  7. SourceDir        = /home/sioux/MAEstro/Source
  8. DestDir            = /home/sioux/MAEstro/Applications
  9.  
  10. #
  11. # Applications can be installed either stripped or not.  If you strip the
  12. # application binaries, they will take up much less space but will lack
  13. # debugging information useful in reporting errors.
  14. #
  15. # If you do not want to strip the binaries, define InstallFlags as follows:
  16. #InstallFlags        =
  17. #
  18. # To strip the binaries, leave the following line alone:
  19. InstallFlags        = -s
  20.  
  21.  
  22. #
  23. # Location of the Sun audio libraries and header files.
  24. # This is "/usr/demo/SOUND" on a default Sun installation.
  25. #
  26.  
  27. AudioLibDir        = /usr/demo/SOUND
  28.  
  29. #
  30. # If you are using PAL video devices (instead of, say, NTSC),
  31. # define the "FrameRate" variable below as "$(PALFrameRate)".
  32. #
  33.  
  34. NTSCFrameRate = 30
  35. PALFrameRate = 25
  36.  
  37. FrameRate = $(NTSCFrameRate)
  38.  
  39. #
  40. # If you have the XVideo board sold by Parallax Graphics,
  41. # you should be able to build the "VideoFrame" application.
  42. # To do so, use the first definition of "VideoFrameApp" below.
  43. # If you do not have the XVideo board, then VideoFrame will not build
  44. # (the XVideo board comes with C libraries to control it); in this
  45. # case, use the second definition of "VideoFrameApp" (in effect, defining
  46. # "VideoFrameApp" as nothing).
  47. #
  48.  
  49. #VideoFrameApp = VideoFrame
  50. VideoFrameApp = 
  51.  
  52.  
  53. #
  54. # Do Not Change Anything Below This Line
  55. #
  56.  
  57. CC = gcc
  58.  
  59. GetOptSourceDir        = $(SourceDir)/GetOpt
  60. BrowseSourceDir        = $(SourceDir)/Browse
  61. NetworkSourceDir    = $(SourceDir)/NetworkProtocol
  62.  
  63. SubDirs            = GetOpt Browse NetworkProtocol VideoObject \
  64.               VideoEdit vcrEdit vcrDub \
  65.               cdEdit DTR QuoteMaker ShellEdit DisplayTool \
  66.               TimeLine PortManager $(VideoFrameApp)
  67.  
  68.  
  69. all:     
  70.     @for i in $(SubDirs) ; \
  71.     do \
  72.     (cd $$i; echo "Building" "$$i..."; \
  73.     make CC='$(CC)' SourceDir='$(SourceDir)' AudioLibDir='$(AudioLibDir)' FrameRate='$(FrameRate)'); \
  74.     done
  75.     @echo "***** Build of MAEstro is complete. *****"
  76.  
  77. install:     
  78.     @for i in $(SubDirs) ; \
  79.     do \
  80.     (cd $$i; echo "Installing" "$$i..."; \
  81.     make -s InstallFlags='$(InstallFlags)' DestDir='$(DestDir)' SourceDir='$(SourceDir)' install); \
  82.     done
  83.     @install -d /tmp/MAEstro
  84.     @install ../Demos/Greeting/* /tmp/MAEstro
  85.     @echo "Launching the Port Manager application..."
  86.     @$(DestDir)/PortManager &
  87.     @echo "***** Installation of MAEstro applications is complete. *****"
  88.  
  89. clean:
  90.     @for i in $(SubDirs) ; \
  91.     do \
  92.     (cd $$i; echo "Cleaning" "$$i..."; \
  93.     make -s clean); \
  94.     done
  95.