ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_MAKEFLAGS = --no-print-directory
+EXTRA_DIST = libsmack/libsmack.sym
+
library_includedir=$(includedir)
library_include_HEADERS=libsmack/sys/smack.h
-SUBDIRS = libsmack utils doc
-
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libsmack.pc
+
+SUBDIRS = libsmack utils doc
if ENABLE_DOXYGEN
-docpkg = $(PACKAGE_TARNAME)-doxygen-$(PACKAGE_VERSION).tar.gz
+docpkg = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.gz
-CLEANFILES = $(docpkg)
+CLEANFILES = $(docpkg) doxygen.stamp
doc_DATA = $(docpkg)
libsmack_la_LDFLAGS = \
-version-info 1:0:0 \
- -Wl,--version-script=libsmack.sym
+ -Wl,--version-script=$(top_srcdir)/libsmack/libsmack.sym
libsmack_la_SOURCES = libsmack.c