pkgconfigdir=$(libdir)/pkgconfig libincludedir=$(includedir)/libisofs lib_LTLIBRARIES = libisofs/libisofs.la ## ========================================================================= ## # Build libraries libisofs_libisofs_la_LDFLAGS = \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) libisofs_libisofs_la_SOURCES = \ 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 \ libisofs/joliet.h \ libisofs/exclude.c \ libisofs/exclude.h \ libisofs/hash.h \ libisofs/hash.c \ libisofs/file.h \ libisofs/file.c \ libisofs/eltorito.h \ libisofs/eltorito.c libinclude_HEADERS = \ libisofs/libisofs.h ## ========================================================================= ## ## Build test applications noinst_PROGRAMS = \ test/iso test_iso_CPPFLAGS = -Ilibisofs test_iso_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS) test_iso_SOURCES = test/iso.c ## Build unit test check_PROGRAMS = \ test/test test_test_CPPFLAGS = -Ilibisofs test_test_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS) -lcunit test_test_LDFLAGS = -L.. -lm test_test_SOURCES = \ test/test_exclude.c \ test/test_tree.c \ test/test_file_hashtable.c \ test/test_util.c \ test/test.c ## ========================================================================= ## ## 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 $