From: <pst...@us...> - 2008-05-26 23:40:06
|
Revision: 569 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=569&view=rev Author: pstieber Date: 2008-05-26 16:40:02 -0700 (Mon, 26 May 2008) Log Message: ----------- Added some portmidi code and options for the Mac port. Modified Paths: -------------- trunk/jazz/src/Makefile.am Modified: trunk/jazz/src/Makefile.am =================================================================== --- trunk/jazz/src/Makefile.am 2008-05-26 23:38:36 UTC (rev 568) +++ trunk/jazz/src/Makefile.am 2008-05-26 23:40:02 UTC (rev 569) @@ -3,6 +3,7 @@ bin_PROGRAMS = jazz if USE_ALSA + jazz_SOURCES = \ AboutDialog.cpp \ AlsaDriver.cpp \ @@ -81,7 +82,9 @@ Track.cpp \ TrackFrame.cpp \ TrackWindow.cpp + else + jazz_SOURCES = \ AboutDialog.cpp \ AsciiMidiFile.cpp \ @@ -132,6 +135,7 @@ PianoFrame.cpp \ PianoWindow.cpp \ Player.cpp \ +PortMidiPlayer.cpp \ Project.cpp \ ProjectManager.cpp \ PropertyListDialog.cpp \ @@ -156,6 +160,7 @@ Track.cpp \ TrackFrame.cpp \ TrackWindow.cpp + endif noinst_HEADERS = \ @@ -212,6 +217,7 @@ PianoFrame.h \ PianoWindow.h \ Player.h \ +PortMidiPlayer.h \ Project.h \ ProjectManager.h \ PropertyListDialog.h \ @@ -240,6 +246,11 @@ TrackWindow.h \ WxWidgets.h +if !USE_ALSA +jazz_LDFLAGS = -framework CoreMIDI -framework CoreAudio +jazz_LDADD = -L@PORTMIDI_PATH@/porttime -lporttime -L@PORTMIDI_PATH@/pm_mac -lportmidi +endif + # This directive defines the Jazz++ data directory. This may be a hack, but # other programs use similar techniques. # The automake info file suggests using INCLUDES for this purpose This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |