~ubuntu-branches/ubuntu/wily/alsaplayer/wily

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
##
## If you would like to negotiate alternate licensing terms, you may do
## so by contacting the author: Andy Lo A Foe <andy@alsaplayer.org>
##
## $Id: Makefile.am 1220 2007-06-23 15:28:22Z dominique_libre $
##

if ARCH_ULTRA

SUN_LIBS = -lresolv

endif

LIBS = -lpthread -ldl $(SUN_LIBS)

COMMON_FLAGS = @DFLAGS@ -D_REENTRANT \
		-DADDON_DIR=\"$(ADDON_DIR)\" \
		@ARCH_CFLAGS@

INCLUDES = -I$(top_srcdir)/alsaplayer -I$(top_srcdir)/libalsaplayer

AM_CPPFLAGS = -I../intl -I$(top_srcdir)/intl

AM_CXXFLAGS = $(COMMON_FLAGS)

AM_CFLAGS = $(CXXFLAGS)

bin_PROGRAMS = alsaplayer

localedir = $(datadir)/locale
alsaplayer_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\"

alsaplayer_LDFLAGS = -export-dynamic

alsaplayer_SOURCES = AlsaSubscriber.cpp \
		AlsaNode.cpp Effects.cpp \
		Main.cpp CorePlayer.cpp Playlist.cpp  \
		SampleBuffer.cpp \
		reverbst.cpp \
		fft.c convolve.c utilities.c \
		ControlSocket.cpp \
		prefs.c reader.cpp

alsaplayer_LDADD = @LIBINTL@

jackplayer:
		ln -s alsaplayer jackplayer