2003-09-17 12:13:07 +00:00
|
|
|
# $Id: Makefile.am,v 1.15 2003/09/17 12:13:07 rocky Exp $
|
2003-03-24 19:01:09 +00:00
|
|
|
#
|
|
|
|
|
# Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
|
|
|
|
#
|
|
|
|
|
# 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
|
|
|
|
|
#
|
|
|
|
|
####################################################
|
|
|
|
|
# Things to make the sample/test programs
|
|
|
|
|
####################################################
|
2003-06-01 21:05:45 +00:00
|
|
|
CDDB_LIBS=@CDDB_LIBS@
|
2003-04-14 04:29:45 +00:00
|
|
|
|
2003-03-30 01:11:56 +00:00
|
|
|
if BUILD_CDINFO
|
2003-08-16 15:34:58 +00:00
|
|
|
cd_info_SOURCES = cd-info.c
|
2003-08-31 06:59:23 +00:00
|
|
|
cd_info_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LIBPOPT_LIBS) $(CDDB_LIBS) $(VCDINFO_LIBS)
|
2003-08-16 13:25:13 +00:00
|
|
|
|
2003-09-17 12:13:07 +00:00
|
|
|
cd_read_SOURCES = cd-read.c
|
|
|
|
|
cd_read_LDADD = $(LIBCDIO_LIBS) $(LIBPOPT_LIBS)
|
|
|
|
|
|
2003-03-24 19:01:09 +00:00
|
|
|
if BUILD_CDINFO_LINUX
|
|
|
|
|
cdinfo_linux_SOURCES = cdinfo-linux.c
|
2003-03-30 01:11:56 +00:00
|
|
|
cdinfo_linux_LDADD = $(LIBCDIO_LIBS) $(LIBPOPT_LIBS)
|
2003-09-17 12:13:07 +00:00
|
|
|
bin_PROGRAMS = cd-info cd-read cdinfo-linux
|
2003-03-24 19:01:09 +00:00
|
|
|
else
|
2003-09-17 12:13:07 +00:00
|
|
|
bin_PROGRAMS = cd-info cd-read
|
2003-03-30 01:11:56 +00:00
|
|
|
EXTRA_DIST = cdinfo-linux.c
|
2003-03-24 19:01:09 +00:00
|
|
|
endif
|
2003-03-30 01:11:56 +00:00
|
|
|
else
|
2003-09-17 12:13:07 +00:00
|
|
|
EXTRA_DIST = cdinfo-linux.c cd-info.c cd-read.c
|
2003-03-29 17:32:00 +00:00
|
|
|
endif
|
2003-03-24 19:01:09 +00:00
|
|
|
|
2003-08-10 02:27:49 +00:00
|
|
|
INCLUDES = -I$(top_srcdir) $(LIBPOPT_CFLAGS) $(LIBCDIO_CFLAGS) $(VCDINFO_CFLAGS)
|
2003-03-24 19:01:09 +00:00
|
|
|
|