2008-01-01 03:14:17 +00:00
|
|
|
# $Id: Makefile.am,v 1.11 2008/01/01 03:14:17 flameeyes Exp $
|
2005-02-19 11:42:18 +00:00
|
|
|
#
|
2006-04-15 15:45:25 +00:00
|
|
|
# Copyright (C) 2005, 2006 Rocky Bernstein <rocky@cpan.org>
|
2005-02-19 11:42:18 +00:00
|
|
|
#
|
|
|
|
|
# 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
|
|
|
|
|
#
|
2005-11-10 11:11:15 +00:00
|
|
|
##########################################################
|
|
|
|
|
# Sample C++ programs using libcdio (without OO wrapper)
|
|
|
|
|
#########################################################
|
2005-02-19 11:42:18 +00:00
|
|
|
#
|
2005-11-10 11:11:15 +00:00
|
|
|
SUBDIRS = OO
|
|
|
|
|
|
2005-10-06 00:14:22 +00:00
|
|
|
if BUILD_CD_PARANOIA
|
|
|
|
|
paranoia_progs = paranoia paranoia2
|
|
|
|
|
endif
|
2008-01-01 03:14:17 +00:00
|
|
|
if BUILD_EXAMPLES
|
2006-04-15 16:16:05 +00:00
|
|
|
noinst_PROGRAMS = device eject isofile isofile2 isolist \
|
2006-04-15 15:45:25 +00:00
|
|
|
mmc1 mmc2 $(paranoia_progs)
|
2008-01-01 03:14:17 +00:00
|
|
|
endif
|
2005-02-19 11:42:18 +00:00
|
|
|
|
|
|
|
|
INCLUDES = -I$(top_srcdir) $(LIBCDIO_CFLAGS)
|
|
|
|
|
|
2005-11-07 07:53:40 +00:00
|
|
|
device_DEPENDENCIES = $(LIBCDIO_DEPS)
|
|
|
|
|
device_SOURCES = device.cpp
|
|
|
|
|
device_LDADD = $(LIBCDIO_LIBS)
|
|
|
|
|
|
|
|
|
|
eject_DEPENDENCIES = $(LIBCDIO_DEPS)
|
|
|
|
|
eject_SOURCES = eject.cpp
|
|
|
|
|
eject_LDADD = $(LIBCDIO_LIBS)
|
2005-07-15 21:38:57 +00:00
|
|
|
|
2005-09-16 09:31:38 +00:00
|
|
|
if BUILD_CD_PARANOIA
|
2005-08-27 14:29:12 +00:00
|
|
|
paranoia_SOURCES = paranoia.cpp
|
|
|
|
|
paranoia_LDADD = $(LIBCDIO_PARANOIA_LIBS) $(LIBCDIO_CDDA_LIBS) \
|
|
|
|
|
$(LIBCDIO_LIBS)
|
|
|
|
|
paranoia2_SOURCES = paranoia.cpp
|
|
|
|
|
paranoia2_LDADD = $(LIBCDIO_PARANOIA_LIBS) $(LIBCDIO_CDDA_LIBS) \
|
|
|
|
|
$(LIBCDIO_LIBS)
|
2005-09-16 09:31:38 +00:00
|
|
|
endif
|
2005-02-19 11:42:18 +00:00
|
|
|
|
2006-04-15 15:45:25 +00:00
|
|
|
isofile_SOURCES = isofile.cpp
|
|
|
|
|
isofile_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LIBICONV)
|
|
|
|
|
isofile2_SOURCES = isofile2.cpp
|
|
|
|
|
isofile2_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LIBICONV)
|
2006-04-15 16:18:33 +00:00
|
|
|
isolist_SOURCES = isolist.cpp
|
|
|
|
|
isolist_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LIBICONV)
|
2005-02-19 11:42:18 +00:00
|
|
|
|
2005-08-27 14:29:12 +00:00
|
|
|
mmc1_SOURCES = mmc1.cpp
|
2005-11-10 11:11:15 +00:00
|
|
|
mmc1_DEPENDENCIES = $(LIBCDIO_DEPS)
|
2005-08-27 14:29:12 +00:00
|
|
|
mmc1_LDADD = $(LIBCDIO_LIBS)
|
|
|
|
|
|
|
|
|
|
mmc2_SOURCES = mmc2.cpp
|
2005-11-10 11:11:15 +00:00
|
|
|
mmc2_DEPENDENCIES = $(LIBCDIO_DEPS)
|
2005-08-27 14:29:12 +00:00
|
|
|
mmc2_LDADD = $(LIBCDIO_LIBS)
|
2005-02-19 11:42:18 +00:00
|
|
|
|
|
|
|
|
# iso programs create file "copying"
|
|
|
|
|
MOSTLYCLEANFILES = copying
|