libisoburn/Makefile.am

104 lines
2.1 KiB
Makefile
Raw Normal View History

2007-09-14 04:32:46 +00:00
pkgconfigdir=$(libdir)/pkgconfig
libincludedir=$(includedir)/libisoburn
2007-09-14 04:32:46 +00:00
lib_LTLIBRARIES = src/libisoburn.la
2007-09-14 04:32:46 +00:00
## ========================================================================= ##
# Build libraries
src_libisoburn_la_LDFLAGS = \
2007-09-14 04:32:46 +00:00
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
src_libisoburn_la_SOURCES = \
src/burn_wrap.c \
src/data_source.c \
src/isoburn.c \
src/isoburn.h \
src/isofs_wrap.c \
src/libisoburn.h \
2007-09-14 04:32:46 +00:00
version.h
## libburn/sg-@ARCH@.c \
libinclude_HEADERS = \
2007-09-21 17:32:26 +00:00
src/libisoburn.h
2007-09-14 04:32:46 +00:00
## ========================================================================= ##
## Build test applications
noinst_PROGRAMS = \
test/test
test_test_CPPFLAGS = -Ilibisofs -Ilibburn -Ilibisoburn
test_test_LDADD = $(src_libisoburn_la_OBJECTS) $(THREAD_LIBS) -lburn -lisofs
test_test_SOURCES = test/test.c
2007-09-14 04:32:46 +00:00
2007-09-21 17:32:26 +00:00
bin_PROGRAMS =
2007-09-14 04:32:46 +00:00
## ========================================================================= ##
## 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 = \
2007-09-21 17:32:26 +00:00
$(src_libisoburn_la_SOURCES)
2007-09-14 04:32:46 +00:00
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 = \
libisoburn.pc
2007-09-14 04:32:46 +00:00
EXTRA_DIST = \
libisoburn.pc.in \
2007-09-14 04:32:46 +00:00
version.h.in \
doc/comments \
doc/doxygen.conf.in \
README \
AUTHORS \
CONTRIBUTORS \
COPYRIGHT \
COPYING \
NEWS \
ChangeLog \
INSTALL
2007-09-14 04:32:46 +00:00