Blame include/cdio/Makefile.am

Packit dd8086
#   Copyright (C) 2003, 2004, 2006, 2008, 2011, 2012
Packit dd8086
#    Rocky Bernstein <rocky@gnu.org>
Packit dd8086
#
Packit dd8086
#   This program is free software: you can redistribute it and/or modify
Packit dd8086
#   it under the terms of the GNU General Public License as published by
Packit dd8086
#   the Free Software Foundation, either version 3 of the License, or
Packit dd8086
#   (at your option) any later version.
Packit dd8086
#
Packit dd8086
#   This program is distributed in the hope that it will be useful,
Packit dd8086
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit dd8086
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit dd8086
#   GNU General Public License for more details.
Packit dd8086
#
Packit dd8086
#   You should have received a copy of the GNU General Public License
Packit dd8086
#   along with this program.  If not, see <http://www.gnu.org/licenses/>.
Packit dd8086
Packit dd8086
########################################################
Packit dd8086
# Things to make the install (public) libcdio headers
Packit dd8086
########################################################
Packit dd8086
#
Packit dd8086
Packit dd8086
cdio_config.h: $(top_builddir)/config.h
Packit dd8086
	@echo  '#ifndef __CDIO_CONFIG_H__' > cdio_config.h
Packit dd8086
	@echo  '#define __CDIO_CONFIG_H__' >> cdio_config.h
Packit dd8086
	@@SED@ @SED_EXTENDED_RE_FLAG@ -e 's/^(#[ \t]*define[ \t]+)/\1CDIO_/' $(top_builddir)/config.h >>cdio_config.h
Packit dd8086
	@echo '#endif /* #ifndef CDIO_CONFIG_H */' >>cdio_config.h
Packit dd8086
Packit dd8086
libcdioincludedir=$(includedir)/cdio
Packit dd8086
dist_libcdioinclude_HEADERS = \
Packit dd8086
	audio.h \
Packit dd8086
	bytesex.h \
Packit dd8086
	bytesex_asm.h \
Packit dd8086
	cdio.h \
Packit dd8086
	cd_types.h \
Packit dd8086
	cdtext.h \
Packit dd8086
	device.h \
Packit dd8086
	disc.h \
Packit dd8086
	ds.h \
Packit dd8086
	dvd.h \
Packit dd8086
	ecma_167.h \
Packit dd8086
	iso9660.h \
Packit dd8086
	logging.h \
Packit dd8086
	memory.h \
Packit dd8086
	mmc.h \
Packit dd8086
	mmc_cmds.h \
Packit dd8086
	mmc_hl_cmds.h \
Packit dd8086
	mmc_ll_cmds.h \
Packit dd8086
	mmc_util.h \
Packit dd8086
	posix.h \
Packit dd8086
	read.h \
Packit dd8086
	rock.h \
Packit dd8086
	sector.h \
Packit dd8086
        track.h \
Packit dd8086
        types.h \
Packit dd8086
	udf.h \
Packit dd8086
	udf_file.h \
Packit dd8086
	udf_time.h \
Packit dd8086
	utf8.h \
Packit dd8086
	util.h \
Packit dd8086
	version.h \
Packit dd8086
	xa.h
Packit dd8086
Packit dd8086
nodist_libcdioinclude_HEADERS = cdio_config.h
Packit dd8086
Packit dd8086
EXTRA_DIST = version.h.in
Packit dd8086
BUILT_SOURCES = version.h
Packit dd8086
Packit dd8086
DISTCLEANFILES = cdio_config.h