2007-11-24 12:14:45 +00:00
|
|
|
pkgconfigdir=$(libdir)/pkgconfig
|
|
|
|
libincludedir=$(includedir)/libisofs
|
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
lib_LTLIBRARIES = libisofs/libisofs.la
|
2007-11-24 12:14:45 +00:00
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Build libraries
|
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
libisofs_libisofs_la_LDFLAGS = \
|
2007-11-24 12:14:45 +00:00
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
2008-01-26 21:18:07 +00:00
|
|
|
libisofs_libisofs_la_SOURCES = \
|
|
|
|
libisofs/builder.h \
|
|
|
|
libisofs/builder.c \
|
|
|
|
libisofs/node.h \
|
|
|
|
libisofs/node.c \
|
|
|
|
libisofs/tree.h \
|
|
|
|
libisofs/tree.c \
|
|
|
|
libisofs/image.h \
|
|
|
|
libisofs/image.c \
|
|
|
|
libisofs/fsource.h \
|
|
|
|
libisofs/fsource.c \
|
|
|
|
libisofs/fs_local.c \
|
|
|
|
libisofs/fs_image.c \
|
|
|
|
libisofs/messages.h \
|
|
|
|
libisofs/messages.c \
|
|
|
|
libisofs/libiso_msgs.h \
|
|
|
|
libisofs/libiso_msgs.c \
|
|
|
|
libisofs/stream.h \
|
|
|
|
libisofs/stream.c \
|
|
|
|
libisofs/util.h \
|
|
|
|
libisofs/util.c \
|
|
|
|
libisofs/util_rbtree.c \
|
|
|
|
libisofs/util_htable.c \
|
|
|
|
libisofs/filesrc.h \
|
|
|
|
libisofs/filesrc.c \
|
|
|
|
libisofs/ecma119.h \
|
|
|
|
libisofs/ecma119.c \
|
|
|
|
libisofs/ecma119_tree.h \
|
|
|
|
libisofs/ecma119_tree.c \
|
|
|
|
libisofs/writer.h \
|
|
|
|
libisofs/buffer.c \
|
|
|
|
libisofs/rockridge.h \
|
|
|
|
libisofs/rockridge.c \
|
|
|
|
libisofs/rockridge_read.c \
|
|
|
|
libisofs/joliet.h \
|
|
|
|
libisofs/joliet.c \
|
|
|
|
libisofs/eltorito.h \
|
|
|
|
libisofs/eltorito.c \
|
|
|
|
libisofs/iso1999.h \
|
|
|
|
libisofs/iso1999.c \
|
|
|
|
libisofs/data_source.c
|
2007-11-24 12:14:45 +00:00
|
|
|
libinclude_HEADERS = \
|
2008-01-30 22:43:59 +00:00
|
|
|
libisofs/libisofs.h
|
2007-11-24 12:14:45 +00:00
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
2007-11-29 21:06:56 +00:00
|
|
|
## Build demo applications
|
2007-11-24 12:14:45 +00:00
|
|
|
noinst_PROGRAMS = \
|
2007-11-29 21:06:56 +00:00
|
|
|
demo/lsl \
|
2007-12-11 21:47:04 +00:00
|
|
|
demo/cat \
|
2007-12-23 01:24:21 +00:00
|
|
|
demo/catbuffer \
|
2007-12-15 15:55:44 +00:00
|
|
|
demo/tree \
|
2007-12-22 16:09:49 +00:00
|
|
|
demo/ecma119tree \
|
2007-12-31 02:36:48 +00:00
|
|
|
demo/iso \
|
2008-01-03 12:28:51 +00:00
|
|
|
demo/isoread \
|
2008-01-03 23:15:48 +00:00
|
|
|
demo/isocat \
|
2008-01-04 22:54:31 +00:00
|
|
|
demo/isomodify \
|
2008-01-05 01:03:22 +00:00
|
|
|
demo/isoms \
|
|
|
|
demo/isogrow
|
2007-11-24 12:14:45 +00:00
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
demo_lsl_CPPFLAGS = -Ilibisofs
|
|
|
|
demo_lsl_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
2007-11-29 21:06:56 +00:00
|
|
|
demo_lsl_SOURCES = demo/lsl.c
|
2007-11-24 12:14:45 +00:00
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
demo_cat_CPPFLAGS = -Ilibisofs
|
|
|
|
demo_cat_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
2007-11-29 21:06:56 +00:00
|
|
|
demo_cat_SOURCES = demo/cat.c
|
2007-11-26 20:31:54 +00:00
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
demo_catbuffer_CPPFLAGS = -Ilibisofs
|
|
|
|
demo_catbuffer_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
2007-12-23 01:24:21 +00:00
|
|
|
demo_catbuffer_SOURCES = demo/cat_buffer.c
|
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
demo_tree_CPPFLAGS = -Ilibisofs
|
|
|
|
demo_tree_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
2007-12-11 21:47:04 +00:00
|
|
|
demo_tree_SOURCES = demo/tree.c
|
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
demo_ecma119tree_CPPFLAGS = -Ilibisofs
|
|
|
|
demo_ecma119tree_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
2007-12-15 15:55:44 +00:00
|
|
|
demo_ecma119tree_SOURCES = demo/ecma119_tree.c
|
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
demo_iso_CPPFLAGS = -Ilibisofs
|
|
|
|
demo_iso_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
2007-12-22 16:09:49 +00:00
|
|
|
demo_iso_SOURCES = demo/iso.c
|
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
demo_isoread_CPPFLAGS = -Ilibisofs
|
|
|
|
demo_isoread_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
2007-12-31 02:36:48 +00:00
|
|
|
demo_isoread_SOURCES = demo/iso_read.c
|
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
demo_isocat_CPPFLAGS = -Ilibisofs
|
|
|
|
demo_isocat_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
2008-01-03 12:28:51 +00:00
|
|
|
demo_isocat_SOURCES = demo/iso_cat.c
|
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
demo_isomodify_CPPFLAGS = -Ilibisofs
|
|
|
|
demo_isomodify_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
2008-01-03 23:15:48 +00:00
|
|
|
demo_isomodify_SOURCES = demo/iso_modify.c
|
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
demo_isoms_CPPFLAGS = -Ilibisofs
|
|
|
|
demo_isoms_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
2008-01-04 22:54:31 +00:00
|
|
|
demo_isoms_SOURCES = demo/iso_ms.c
|
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
demo_isogrow_CPPFLAGS = -Ilibisofs -Ilibburn
|
|
|
|
demo_isogrow_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS) -lburn
|
2008-01-05 01:03:22 +00:00
|
|
|
demo_isogrow_SOURCES = demo/iso_grow.c
|
|
|
|
|
2007-11-24 12:14:45 +00:00
|
|
|
|
|
|
|
## Build unit test
|
|
|
|
|
2007-11-29 21:06:56 +00:00
|
|
|
check_PROGRAMS = \
|
|
|
|
test/test
|
2007-11-24 12:14:45 +00:00
|
|
|
|
2008-01-26 21:18:07 +00:00
|
|
|
test_test_CPPFLAGS = -Ilibisofs
|
|
|
|
test_test_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS) -lcunit
|
2007-11-29 21:06:56 +00:00
|
|
|
test_test_LDFLAGS = -L.. -lm
|
2007-11-24 12:14:45 +00:00
|
|
|
|
2007-11-29 21:06:56 +00:00
|
|
|
test_test_SOURCES = \
|
|
|
|
test/test.h \
|
|
|
|
test/test.c \
|
2007-12-02 18:49:11 +00:00
|
|
|
test/test_node.c \
|
2007-12-06 21:45:16 +00:00
|
|
|
test/test_image.c \
|
2007-12-13 20:02:36 +00:00
|
|
|
test/test_tree.c \
|
|
|
|
test/test_util.c \
|
2007-12-25 16:53:17 +00:00
|
|
|
test/test_rockridge.c \
|
2007-12-07 16:29:27 +00:00
|
|
|
test/mocked_fsrc.h \
|
|
|
|
test/mocked_fsrc.c
|
2007-11-24 12:14:45 +00:00
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
## Build documentation (You need Doxygen for this to work)
|
2008-01-29 20:30:52 +00:00
|
|
|
|
|
|
|
docdir = $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION)
|
|
|
|
|
|
|
|
doc: doc/html
|
|
|
|
|
|
|
|
doc/html: doc/doxygen.conf
|
|
|
|
$(RM) -r doc/html; \
|
|
|
|
doxygen doc/doxygen.conf;
|
|
|
|
|
|
|
|
install-data-local:
|
2008-01-31 16:07:31 +00:00
|
|
|
if [ -d doc/html ]; then \
|
|
|
|
$(mkinstalldirs) $(docdir)/html; \
|
|
|
|
$(INSTALL_DATA) doc/html/* $(docdir)/html; \
|
|
|
|
fi
|
2008-01-29 20:30:52 +00:00
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
rm -rf $(docdir)
|
2007-11-24 12:14:45 +00:00
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Extra things
|
|
|
|
nodist_pkgconfig_DATA = \
|
2008-01-31 21:07:12 +00:00
|
|
|
libisofs-1.pc
|
2007-11-24 12:14:45 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2008-01-31 21:07:12 +00:00
|
|
|
libisofs-1.pc.in \
|
2007-11-24 12:14:45 +00:00
|
|
|
version.h.in \
|
2008-01-29 20:30:52 +00:00
|
|
|
doc/doxygen.conf.in \
|
|
|
|
doc/Tutorial \
|
2007-11-24 12:14:45 +00:00
|
|
|
README \
|
|
|
|
AUTHORS \
|
|
|
|
COPYRIGHT \
|
|
|
|
COPYING \
|
|
|
|
NEWS \
|
|
|
|
INSTALL \
|
|
|
|
TODO \
|
2008-01-29 20:30:52 +00:00
|
|
|
ChangeLog \
|
|
|
|
Roadmap
|
2007-11-24 12:14:45 +00:00
|
|
|
|