summaryrefslogtreecommitdiff
path: root/library/Makefile.am
diff options
context:
space:
mode:
authorJan Altenberg <jan@linutronix.de>2016-05-20 19:02:57 +0200
committerJan Altenberg <jan@linutronix.de>2016-05-20 19:02:57 +0200
commitde3626497bba95b5d44550c9c23b99fd20a8d9c8 (patch)
treedeb98eff85fffccf9f7b2818bf837e6ab51d836a /library/Makefile.am
parent29bcbff58ced768f9f4edbc6f4d9d9604552f09e (diff)
parentf4af36737b6e0ca37f5b17434b8f37d04cf083d7 (diff)
Merge remote-tracking branch 'remotes/origin/devel/manut/yocto'
Integration of Manu's latest Yocto topics (autotools)
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