view Plugins/Input/flac/Makefile.am @ 75:56074bfbb565 trunk

[svn] Use the conitional HAVE_FLAC so we won't try to compile it if we shouldn't.
author msameer
date Sat, 29 Oct 2005 17:41:30 -0700
parents fa848bd484d8
children
line wrap: on
line source

#  libxmms-flac - XMMS FLAC input plugin
#  Copyright (C) 2000,2001,2002,2003,2004,2005  Josh Coalson
#
#  This program is free software; you can redistribute it and/or
#  modify it under the terms of the GNU General Public License
#  as published by the Free Software Foundation; either version 2
#  of the License, or (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  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.

#
# GNU makefile
#

if HAVE_FLAC
SUBDIRS = plugin_common

noinst_HEADERS = \
	charset.h \
	configure.h \
	http.h \
	plugin.h \
	tag.h \
	fast_float_math_hack.h \
	replaygain_analysis.h \
	grabbag.h \
	replaygain_synthesis.h

lib_LTLIBRARIES = libflac.la
endif

libdir = $(plugindir)/$(INPUT_PLUGIN_DIR)

libflac_la_LDFLAGS = @PLUGIN_LDFLAGS@ $(LIBFLAC_LIBS)  -L./plugin_common -lplugin_common

libflac_la_SOURCES = \
	charset.c \
	configure.c \
	fileinfo.c \
	http.c \
	plugin.c \
	tag.c \
	replaygain_synthesis.c \
	replaygain.c \
	replaygain_analysis.c \
	file.c

INCLUDES = @GTK_CFLAGS@ -I$(top_builddir)/intl -I$(top_srcdir) $(LIBFLAC_CFLAGS)