2006-11-13 00:15:17 +00:00
|
|
|
pkgconfigdir=$(libdir)/pkgconfig
|
2006-11-14 01:24:10 +00:00
|
|
|
libincludedir=$(includedir)/libisofs
|
2006-11-13 00:15:17 +00:00
|
|
|
|
2006-11-14 01:24:10 +00:00
|
|
|
lib_LTLIBRARIES = libisofs/libisofs.la
|
2006-11-13 00:15:17 +00:00
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
libinclude_HEADERS = \
|
|
|
|
libisofs/libisofs.h
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
## Build test applications
|
|
|
|
noinst_PROGRAMS = \
|
2006-12-02 17:11:45 +00:00
|
|
|
test/iso
|
2006-11-14 01:24:10 +00:00
|
|
|
|
2006-11-13 00:15:17 +00:00
|
|
|
test_iso_CPPFLAGS = -Ilibisofs
|
|
|
|
test_iso_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
|
|
|
test_iso_SOURCES = test/iso.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 $</* $(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 = \
|
|
|
|
$(libisofs_libisofs_la_SOURCES) \
|
|
|
|
$(test_iso_SOURCES)
|
|
|
|
|
|
|
|
|
|
|
|
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 = \
|
|
|
|
libisofs-1.pc
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
libisofs-1.pc.in \
|
|
|
|
version.h.in \
|
|
|
|
doc/comments \
|
|
|
|
doc/doxygen.conf.in \
|
|
|
|
README \
|
|
|
|
AUTHORS \
|
|
|
|
CONTRIBUTORS \
|
|
|
|
COPYRIGHT \
|
2006-12-10 17:12:14 +00:00
|
|
|
COPYING \
|
|
|
|
NEWS \
|
|
|
|
INSTALL \
|
|
|
|
ChangeLog
|
2006-11-13 00:15:17 +00:00
|
|
|
|