summaryrefslogtreecommitdiff
path: root/library/Makefile.am
diff options
context:
space:
mode:
authorManuel Traut <manut@linutronix.de>2016-05-18 15:48:35 +0200
committerManuel Traut <manut@linutronix.de>2016-05-18 15:48:35 +0200
commit2269acccfb754c9c326c45b15aeabdecbca7b775 (patch)
tree4f5fce7895126613c037e6d6e127dbea28848f21 /library/Makefile.am
parentc64c0e81c354a2795503aae3bc6352dc0a63d15a (diff)
add autotools stuff from bene
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'library/Makefile.am')
-rw-r--r--library/Makefile.am32
1 files changed, 32 insertions, 0 deletions
diff --git a/library/Makefile.am b/library/Makefile.am
new file mode 100644
index 0000000..d2d8ad4
--- /dev/null
+++ b/library/Makefile.am
@@ -0,0 +1,32 @@
+pkgconfigdir = $(datadir)/pkgconfig
+pkgconfig_DATA = libhello.pc
+
+lib_LTLIBRARIES = libhello.la
+libhello_la_SOURCES = hello.c hello.h
+libhello_la_CFLAGS = -g -O2 -Wall -Wextra -Werror
+
+include_HEADERS = hello.h
+
+EXTRA_DIST = libhello.pc.in libhello-uninstalled.pc.in
+
+# 1) If the library source code has changed at all since the last update, then
+# increment revision ("c:r:a" becomes "c:r+1:a").
+# 2) If any interfaces have been added, removed, or changed since the last
+# update, increment current, and set revision to 0.
+# 3) If any interfaces have been added since the last public release,
+# then increment age.
+# 4) If any interfaces have been removed or changed since the last public
+# release, then set age to 0.
+
+libhello_la_LDFLAGS = -version-info 0:0:0
+
+maintainer-clean-local:
+ rm -rf m4/
+
+DISTCLEANFILES = *~
+
+MAINTAINERCLEANFILES = ChangeLog INSTALL Makefile.in aclocal.m4 \
+ compile config.guess config.h.in config.rpath config.sub configure \
+ depcomp install-sh ltmain.sh m4/ missing po/Makefile.in.in
+
+ACLOCAL_AMFLAGS = -I m4