diff options
| author | Manuel Traut <manut@linutronix.de> | 2016-05-18 15:48:35 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@linutronix.de> | 2016-05-18 15:48:35 +0200 |
| commit | 2269acccfb754c9c326c45b15aeabdecbca7b775 (patch) | |
| tree | 4f5fce7895126613c037e6d6e127dbea28848f21 /appnlib/Makefile.am | |
| parent | c64c0e81c354a2795503aae3bc6352dc0a63d15a (diff) | |
add autotools stuff from bene
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'appnlib/Makefile.am')
| -rw-r--r-- | appnlib/Makefile.am | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/appnlib/Makefile.am b/appnlib/Makefile.am new file mode 100644 index 0000000..6039417 --- /dev/null +++ b/appnlib/Makefile.am @@ -0,0 +1,38 @@ +pkgconfigdir = $(datadir)/pkgconfig +pkgconfig_DATA = libhello.pc + +bin_PROGRAMS = hello + +hello_SOURCES = main.c +hello_CFLAGS = -g -O2 -Wall -Wextra -Werror +hello_LDADD = libhello.la + +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 |
