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-11-24 15:58:36 +00:00
|
|
|
src/node.h \
|
|
|
|
src/node.c \
|
|
|
|
src/image.h \
|
|
|
|
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 \
|
|
|
|
src/stream.h
|
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 \
|
|
|
|
demo/cat
|
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-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 \
|
|
|
|
test/test_node.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
|
|
|
|
|