2007-11-24 12:14:45 +00:00
|
|
|
pkgconfigdir=$(libdir)/pkgconfig
|
|
|
|
libincludedir=$(includedir)/libisofs
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = src/libisofs.la
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Build libraries
|
|
|
|
|
|
|
|
src_libisofs_la_LDFLAGS = \
|
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
|
|
|
src_libisofs_la_SOURCES = \
|
2007-12-02 18:10:30 +00:00
|
|
|
src/builder.h \
|
2007-12-04 21:33:40 +00:00
|
|
|
src/builder.c \
|
2007-12-02 18:10:30 +00:00
|
|
|
src/error.h \
|
2007-11-24 15:58:36 +00:00
|
|
|
src/node.h \
|
|
|
|
src/node.c \
|
2008-01-03 19:04:08 +00:00
|
|
|
src/tree.h \
|
2007-12-06 01:11:05 +00:00
|
|
|
src/tree.c \
|
2007-11-24 15:58:36 +00:00
|
|
|
src/image.h \
|
2007-12-02 18:10:30 +00:00
|
|
|
src/image.c \
|
2007-11-24 15:58:36 +00:00
|
|
|
src/fsource.h \
|
2007-11-25 15:46:21 +00:00
|
|
|
src/fsource.c \
|
2007-11-24 15:58:36 +00:00
|
|
|
src/fs_local.c \
|
2007-12-30 20:39:17 +00:00
|
|
|
src/fs_image.c \
|
2007-12-02 21:04:26 +00:00
|
|
|
src/messages.h \
|
|
|
|
src/messages.c \
|
|
|
|
src/libiso_msgs.h \
|
|
|
|
src/libiso_msgs.c \
|
2007-12-13 20:02:36 +00:00
|
|
|
src/stream.h \
|
|
|
|
src/stream.c \
|
|
|
|
src/util.h \
|
2007-12-15 12:13:49 +00:00
|
|
|
src/util.c \
|
2007-12-19 23:25:25 +00:00
|
|
|
src/util_rbtree.c \
|
2008-01-12 01:07:16 +00:00
|
|
|
src/util_htable.c \
|
2007-12-15 12:13:49 +00:00
|
|
|
src/filesrc.h \
|
|
|
|
src/filesrc.c \
|
2007-12-15 15:55:44 +00:00
|
|
|
src/ecma119.h \
|
|
|
|
src/ecma119.c \
|
|
|
|
src/ecma119_tree.h \
|
2007-12-16 18:10:47 +00:00
|
|
|
src/ecma119_tree.c \
|
2007-12-23 01:24:21 +00:00
|
|
|
src/writer.h \
|
2007-12-24 03:31:15 +00:00
|
|
|
src/buffer.c \
|
|
|
|
src/rockridge.h \
|
2007-12-30 16:47:44 +00:00
|
|
|
src/rockridge.c \
|
2007-12-31 02:36:48 +00:00
|
|
|
src/rockridge_read.c \
|
2008-01-06 16:38:31 +00:00
|
|
|
src/joliet.h \
|
|
|
|
src/joliet.c \
|
2008-01-10 16:22:53 +00:00
|
|
|
src/eltorito.h \
|
|
|
|
src/eltorito.c \
|
2008-01-16 20:51:41 +00:00
|
|
|
src/iso1999.h \
|
|
|
|
src/iso1999.c \
|
2007-12-30 16:47:44 +00:00
|
|
|
src/data_source.c
|
2007-11-24 12:14:45 +00:00
|
|
|
libinclude_HEADERS = \
|
|
|
|
src/libisofs.h
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
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
|
|
|
|
2007-11-29 21:06:56 +00:00
|
|
|
demo_lsl_CPPFLAGS = -Isrc
|
|
|
|
demo_lsl_LDADD = $(src_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
demo_lsl_SOURCES = demo/lsl.c
|
2007-11-24 12:14:45 +00:00
|
|
|
|
2007-11-29 21:06:56 +00:00
|
|
|
demo_cat_CPPFLAGS = -Isrc
|
|
|
|
demo_cat_LDADD = $(src_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
demo_cat_SOURCES = demo/cat.c
|
2007-11-26 20:31:54 +00:00
|
|
|
|
2007-12-23 01:24:21 +00:00
|
|
|
demo_catbuffer_CPPFLAGS = -Isrc
|
|
|
|
demo_catbuffer_LDADD = $(src_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
demo_catbuffer_SOURCES = demo/cat_buffer.c
|
|
|
|
|
2007-12-11 21:47:04 +00:00
|
|
|
demo_tree_CPPFLAGS = -Isrc
|
|
|
|
demo_tree_LDADD = $(src_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
demo_tree_SOURCES = demo/tree.c
|
|
|
|
|
2007-12-15 15:55:44 +00:00
|
|
|
demo_ecma119tree_CPPFLAGS = -Isrc
|
|
|
|
demo_ecma119tree_LDADD = $(src_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
demo_ecma119tree_SOURCES = demo/ecma119_tree.c
|
|
|
|
|
2007-12-22 16:09:49 +00:00
|
|
|
demo_iso_CPPFLAGS = -Isrc
|
|
|
|
demo_iso_LDADD = $(src_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
demo_iso_SOURCES = demo/iso.c
|
|
|
|
|
2007-12-31 02:36:48 +00:00
|
|
|
demo_isoread_CPPFLAGS = -Isrc
|
|
|
|
demo_isoread_LDADD = $(src_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
demo_isoread_SOURCES = demo/iso_read.c
|
|
|
|
|
2008-01-03 12:28:51 +00:00
|
|
|
demo_isocat_CPPFLAGS = -Isrc
|
|
|
|
demo_isocat_LDADD = $(src_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
demo_isocat_SOURCES = demo/iso_cat.c
|
|
|
|
|
2008-01-03 23:15:48 +00:00
|
|
|
demo_isomodify_CPPFLAGS = -Isrc
|
|
|
|
demo_isomodify_LDADD = $(src_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
demo_isomodify_SOURCES = demo/iso_modify.c
|
|
|
|
|
2008-01-04 22:54:31 +00:00
|
|
|
demo_isoms_CPPFLAGS = -Isrc
|
|
|
|
demo_isoms_LDADD = $(src_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
demo_isoms_SOURCES = demo/iso_ms.c
|
|
|
|
|
2008-01-05 01:03:22 +00:00
|
|
|
demo_isogrow_CPPFLAGS = -Isrc -Ilibburn
|
|
|
|
demo_isogrow_LDADD = $(src_libisofs_la_OBJECTS) $(THREAD_LIBS) -lburn
|
|
|
|
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
|
|
|
|
2007-11-29 21:06:56 +00:00
|
|
|
test_test_CPPFLAGS = -Isrc
|
|
|
|
test_test_LDADD = $(src_libisofs_la_OBJECTS) $(THREAD_LIBS) -lcunit
|
|
|
|
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)
|
|
|
|
## TODO!!
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Extra things
|
|
|
|
nodist_pkgconfig_DATA = \
|
|
|
|
libisofs-5.pc
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
libisofs-5.pc.in \
|
|
|
|
version.h.in \
|
|
|
|
README \
|
|
|
|
AUTHORS \
|
|
|
|
COPYRIGHT \
|
|
|
|
COPYING \
|
|
|
|
NEWS \
|
|
|
|
INSTALL \
|
|
|
|
TODO \
|
|
|
|
ChangeLog
|
|
|
|
|