2006-08-15 20:37:04 +00:00
|
|
|
pkgconfigdir=$(libdir)/pkgconfig
|
2006-08-18 20:33:03 +00:00
|
|
|
libincludedir=$(includedir)/libburn
|
2006-08-15 20:37:04 +00:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libburn/libburn.la libisofs/libisofs.la
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Build libraries
|
|
|
|
libburn_libburn_la_LDFLAGS = \
|
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
|
|
|
libburn_libburn_la_SOURCES = \
|
|
|
|
libburn/async.c \
|
|
|
|
libburn/async.h \
|
2006-08-26 13:49:53 +00:00
|
|
|
libburn/back_hacks.h \
|
2006-10-03 16:37:08 +00:00
|
|
|
libburn/cleanup.c \
|
|
|
|
libburn/cleanup.h \
|
2006-08-15 20:37:04 +00:00
|
|
|
libburn/crc.c \
|
|
|
|
libburn/crc.h \
|
|
|
|
libburn/debug.c \
|
|
|
|
libburn/debug.h \
|
|
|
|
libburn/drive.c \
|
|
|
|
libburn/drive.h \
|
|
|
|
libburn/error.h \
|
|
|
|
libburn/file.c \
|
|
|
|
libburn/file.h \
|
|
|
|
libburn/init.c \
|
|
|
|
libburn/init.h \
|
|
|
|
libburn/lec.c \
|
|
|
|
libburn/lec.h \
|
|
|
|
libburn/libburn.h \
|
2006-09-24 17:16:01 +00:00
|
|
|
libburn/libdax_msgs.h \
|
|
|
|
libburn/libdax_msgs.c \
|
2006-08-15 20:37:04 +00:00
|
|
|
libburn/mmc.c \
|
|
|
|
libburn/mmc.h \
|
|
|
|
libburn/null.c \
|
|
|
|
libburn/null.h \
|
|
|
|
libburn/options.c \
|
|
|
|
libburn/options.h \
|
|
|
|
libburn/read.c \
|
|
|
|
libburn/read.h \
|
|
|
|
libburn/sbc.c \
|
|
|
|
libburn/sbc.h \
|
|
|
|
libburn/sector.c \
|
|
|
|
libburn/sector.h \
|
|
|
|
libburn/sg.c \
|
|
|
|
libburn/sg.h \
|
|
|
|
libburn/source.h \
|
|
|
|
libburn/source.c \
|
|
|
|
libburn/spc.c \
|
|
|
|
libburn/spc.h \
|
|
|
|
libburn/structure.c \
|
|
|
|
libburn/structure.h \
|
|
|
|
libburn/toc.c \
|
|
|
|
libburn/toc.h \
|
|
|
|
libburn/transport.h \
|
|
|
|
libburn/util.c \
|
|
|
|
libburn/util.h \
|
|
|
|
libburn/write.c \
|
|
|
|
libburn/write.h \
|
|
|
|
version.h
|
|
|
|
|
2006-09-24 20:25:54 +00:00
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
libisofs_libisofs_la_LDFLAGS = \
|
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
|
|
|
libisofs_libisofs_la_SOURCES = \
|
2006-08-24 19:23:37 +00:00
|
|
|
libisofs/tree.h \
|
|
|
|
libisofs/tree.c \
|
|
|
|
libisofs/volume.h \
|
|
|
|
libisofs/volume.c \
|
|
|
|
libisofs/util.h \
|
|
|
|
libisofs/util.c \
|
|
|
|
libisofs/ecma119.c \
|
|
|
|
libisofs/ecma119.h \
|
|
|
|
libisofs/ecma119_tree.c \
|
|
|
|
libisofs/ecma119_tree.h \
|
|
|
|
libisofs/susp.h \
|
|
|
|
libisofs/susp.c \
|
|
|
|
libisofs/rockridge.h \
|
|
|
|
libisofs/rockridge.c \
|
|
|
|
libisofs/joliet.c \
|
2006-09-01 12:11:33 +00:00
|
|
|
libisofs/joliet.h \
|
|
|
|
libisofs/exclude.c \
|
|
|
|
libisofs/exclude.h \
|
|
|
|
libisofs/hash.h \
|
|
|
|
libisofs/hash.c
|
2006-08-15 20:37:04 +00:00
|
|
|
|
|
|
|
libinclude_HEADERS = \
|
|
|
|
libburn/libburn.h \
|
|
|
|
libisofs/libisofs.h
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
## Build test applications
|
|
|
|
noinst_PROGRAMS = \
|
2006-08-30 15:14:41 +00:00
|
|
|
test/libburner \
|
2006-08-15 20:37:04 +00:00
|
|
|
test/iso \
|
|
|
|
test/poll \
|
|
|
|
test/toc \
|
2006-09-15 07:51:50 +00:00
|
|
|
test/structest
|
|
|
|
|
|
|
|
bin_PROGRAMS = \
|
2006-09-15 07:23:36 +00:00
|
|
|
cdrskin/cdrskin
|
2006-08-15 20:37:04 +00:00
|
|
|
|
2006-08-30 15:14:41 +00:00
|
|
|
test_libburner_CPPFLAGS = -Ilibburn
|
|
|
|
test_libburner_LDADD = $(libburn_libburn_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
test_libburner_SOURCES = test/libburner.c
|
2006-08-15 20:37:04 +00:00
|
|
|
test_poll_CPPFLAGS = -Ilibburn
|
|
|
|
test_poll_LDADD = $(libburn_libburn_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
test_poll_SOURCES = test/poll.c
|
|
|
|
test_toc_CPPFLAGS = -Ilibburn
|
|
|
|
test_toc_LDADD = $(libburn_libburn_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
test_toc_SOURCES = test/toc.c
|
|
|
|
test_structest_CPPFLAGS = -Ilibburn
|
|
|
|
test_structest_LDADD = $(libburn_libburn_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
test_structest_SOURCES = test/structest.c
|
|
|
|
test_iso_CPPFLAGS = -Ilibisofs
|
|
|
|
test_iso_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
test_iso_SOURCES = test/iso.c
|
|
|
|
|
2006-08-18 16:58:31 +00:00
|
|
|
## cdrskin construction site - ts A60816
|
|
|
|
cdrskin_cdrskin_CPPFLAGS = -Ilibburn
|
2006-09-21 09:49:05 +00:00
|
|
|
cdrskin_cdrskin_CFLAGS = -DCdrskin_libburn_0_2_3
|
2006-08-18 16:58:31 +00:00
|
|
|
cdrskin_cdrskin_LDADD = $(libburn_libburn_la_OBJECTS) $(THREAD_LIBS)
|
2006-10-03 16:37:08 +00:00
|
|
|
cdrskin_cdrskin_SOURCES = cdrskin/cdrskin.c cdrskin/cdrfifo.c cdrskin/cdrfifo.h cdrskin/cdrskin_timestamp.h
|
|
|
|
## cdrskin_cdrskin_SOURCES = cdrskin/cdrskin.c cdrskin/cdrfifo.c cdrskin/cdrfifo.h cdrskin/cleanup.c cdrskin/cleanup.h cdrskin/cdrskin_timestamp.h
|
2006-08-18 16:58:31 +00:00
|
|
|
##
|
|
|
|
## Open questions: how to compute $timestamp and express -DX="$timestamp"
|
|
|
|
##
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
## Build documentation (You need Doxygen for this to work)
|
|
|
|
webhost = http://libburn-api.pykix.org
|
|
|
|
webpath = /
|
2006-09-15 17:18:44 +00:00
|
|
|
docdir = $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION)
|
2006-08-15 20:37:04 +00:00
|
|
|
|
2006-09-15 17:18:44 +00:00
|
|
|
doc: doc/html
|
2006-08-15 20:37:04 +00:00
|
|
|
|
2006-09-20 20:08:02 +00:00
|
|
|
doc/html: doc/doxygen.conf
|
|
|
|
if [ -f ./doc/doc.lock ]; then \
|
|
|
|
$(RM) -r doc/html; \
|
|
|
|
doxygen doc/doxygen.conf; \
|
|
|
|
fi
|
2006-08-15 20:37:04 +00:00
|
|
|
|
|
|
|
doc-upload: doc/html
|
|
|
|
scp -r $</* $(webhost):$(webpath)
|
|
|
|
|
2006-09-20 20:08:02 +00:00
|
|
|
all: doc
|
|
|
|
|
|
|
|
install-data-local:
|
|
|
|
if [ -f ./doc/doc.lock ]; then \
|
|
|
|
$(mkinstalldirs) $(docdir)/html; \
|
|
|
|
$(INSTALL_DATA) doc/html/* $(docdir)/html; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
rm -rf $(docdir)
|
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Indent source files
|
|
|
|
indent_files = \
|
|
|
|
$(libisofs_libisofs_la_SOURCES) \
|
|
|
|
$(libburn_libburn_la_SOURCES) \
|
2006-08-30 15:14:41 +00:00
|
|
|
$(test_libburner_SOURCES) \
|
2006-08-15 20:37:04 +00:00
|
|
|
$(test_poll_SOURCES) \
|
|
|
|
$(test_toc_SOURCES) \
|
|
|
|
$(test_structest_SOURCES) \
|
2006-09-21 07:50:02 +00:00
|
|
|
$(test_iso_SOURCES)
|
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
|
|
|
|
indent: $(indent_files)
|
|
|
|
indent -bad -bap -nbbb -nbbo -nbc -bli0 -br -bls \
|
|
|
|
-cdw -ce -cli0 -ncs -nbfda -i8 -l79 -lc79 \
|
|
|
|
-lp -saf -sai -nprs -npsl -saw -sob -ss -ut \
|
|
|
|
-sbi0 -nsc -ts8 -npcs -ncdb -fca \
|
|
|
|
$^
|
|
|
|
|
|
|
|
.PHONY: indent
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Extra things
|
|
|
|
nodist_pkgconfig_DATA = \
|
|
|
|
libburn-1.pc \
|
|
|
|
libisofs-1.pc
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
libburn-1.pc.in \
|
|
|
|
libisofs-1.pc.in \
|
|
|
|
version.h.in \
|
2006-09-17 13:17:10 +00:00
|
|
|
doc/comments \
|
2006-08-15 20:37:04 +00:00
|
|
|
doc/doxygen.conf.in \
|
|
|
|
README \
|
2006-09-18 14:41:43 +00:00
|
|
|
AUTHORS \
|
2006-09-21 07:50:02 +00:00
|
|
|
CONTRIBUTORS \
|
2006-09-18 14:41:43 +00:00
|
|
|
COPYRIGHT \
|
2006-09-14 08:45:42 +00:00
|
|
|
cdrskin/README \
|
|
|
|
cdrskin/cdrecord_spy.sh \
|
2006-09-15 07:23:36 +00:00
|
|
|
cdrskin/compile_cdrskin.sh \
|
2006-09-14 08:45:42 +00:00
|
|
|
cdrskin/changelog.txt \
|
2006-09-15 07:23:36 +00:00
|
|
|
cdrskin/cdrskin_eng.html \
|
|
|
|
cdrskin/wiki_plain.txt \
|
|
|
|
COPYING
|
2006-09-14 08:45:42 +00:00
|
|
|
|