2007-09-14 04:32:05 +00:00
|
|
|
pkgconfigdir=$(libdir)/pkgconfig
|
2007-09-14 04:41:55 +00:00
|
|
|
libincludedir=$(includedir)/libisoburn
|
2007-09-14 04:32:05 +00:00
|
|
|
|
2008-01-26 00:26:57 +00:00
|
|
|
lib_LTLIBRARIES = libisoburn/libisoburn.la
|
2007-09-14 04:32:05 +00:00
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Build libraries
|
2008-01-26 00:26:57 +00:00
|
|
|
libisoburn_libisoburn_la_LDFLAGS = \
|
2007-09-14 04:32:05 +00:00
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
2008-01-26 00:26:57 +00:00
|
|
|
libisoburn_libisoburn_la_SOURCES = \
|
|
|
|
libisoburn/burn_wrap.c \
|
|
|
|
libisoburn/data_source.c \
|
|
|
|
libisoburn/isoburn.c \
|
|
|
|
libisoburn/isoburn.h \
|
|
|
|
libisoburn/isofs_wrap.c \
|
|
|
|
libisoburn/libisoburn.h \
|
2007-09-14 04:32:05 +00:00
|
|
|
version.h
|
|
|
|
|
|
|
|
libinclude_HEADERS = \
|
2008-01-26 00:26:57 +00:00
|
|
|
libisoburn/libisoburn.h
|
2007-09-14 04:32:05 +00:00
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
## Build test applications
|
2008-01-10 15:20:57 +00:00
|
|
|
noinst_PROGRAMS =
|
2007-09-22 15:19:05 +00:00
|
|
|
|
2008-01-10 15:20:57 +00:00
|
|
|
# ts A80110 : I am too lazy for now to apply the ng patch to test.c .
|
|
|
|
# noinst_PROGRAMS =
|
|
|
|
# test/test
|
|
|
|
|
|
|
|
# test_test_CPPFLAGS = -Ilibisofs -Ilibburn -Ilibisoburn
|
2008-01-26 00:26:57 +00:00
|
|
|
# test_test_LDADD = $(libisoburn_libisoburn_la_OBJECTS) $(THREAD_LIBS) -lburn -lisofs
|
2008-01-10 15:20:57 +00:00
|
|
|
# test_test_SOURCES = test/test.c
|
2007-09-14 04:32:05 +00:00
|
|
|
|
2008-02-01 19:59:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
bin_PROGRAMS = \
|
|
|
|
xorriso/xorriso
|
|
|
|
|
|
|
|
xorriso_xorriso_CPPFLAGS = -Ilibisoburn
|
|
|
|
xorriso_xorriso_CFLAGS = -DXorriso_with_maiN -DXorriso_with_regeX $(READLINE_DEF)
|
|
|
|
xorriso_xorriso_LDADD = libisoburn/libisoburn.la -lisofs -lburn $(THREAD_LIBS)
|
|
|
|
xorriso_xorriso_SOURCES = \
|
|
|
|
xorriso/xorriso.h \
|
|
|
|
xorriso/xorriso_private.h \
|
|
|
|
xorriso/xorriso.c \
|
|
|
|
xorriso/xorrisoburn.h \
|
|
|
|
xorriso/xorrisoburn.c \
|
|
|
|
xorriso/xorriso_timestamp.h
|
2007-09-14 04:32:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
## Build documentation (You need Doxygen for this to work)
|
|
|
|
webhost = http://libburn-api.pykix.org
|
|
|
|
webpath = /
|
|
|
|
docdir = $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION)
|
|
|
|
|
|
|
|
doc: doc/html
|
|
|
|
|
|
|
|
doc/html: doc/doxygen.conf
|
|
|
|
if [ -f ./doc/doc.lock ]; then \
|
|
|
|
$(RM) -r doc/html; \
|
|
|
|
doxygen doc/doxygen.conf; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
doc-upload: doc/html
|
|
|
|
scp -r $</* $(webhost):$(webpath)
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Indent source files
|
|
|
|
indent_files = \
|
2008-01-26 00:26:57 +00:00
|
|
|
$(libisoburn_libisoburn_la_SOURCES)
|
2007-09-14 04:32:05 +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 = \
|
2008-02-01 19:59:12 +00:00
|
|
|
libisoburn-1.pc
|
2007-09-14 04:32:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2008-02-01 19:59:12 +00:00
|
|
|
libisoburn-1.pc.in \
|
2007-09-14 04:32:05 +00:00
|
|
|
version.h.in \
|
|
|
|
doc/comments \
|
|
|
|
doc/doxygen.conf.in \
|
|
|
|
README \
|
|
|
|
AUTHORS \
|
|
|
|
CONTRIBUTORS \
|
|
|
|
COPYRIGHT \
|
|
|
|
COPYING \
|
|
|
|
NEWS \
|
|
|
|
ChangeLog \
|
2007-09-14 04:41:55 +00:00
|
|
|
INSTALL
|
2007-09-14 04:32:05 +00:00
|
|
|
|