diff --git a/configure.ac b/configure.ac index ac4a704..4d1ee15 100644 --- a/configure.ac +++ b/configure.ac @@ -18,8 +18,8 @@ AC_INIT([sysklogd], [2.0-beta1], [https://github.com/troglobit/sysklogd/issues],, [https://github.com/troglobit/sysklogd]) -AM_INIT_AUTOMAKE([1.11 foreign]) -LT_INIT +AM_INIT_AUTOMAKE([1.11 foreign subdir-objects]) +LT_INIT([pic-only]) AM_SILENT_RULES([yes]) AC_CONFIG_SRCDIR([src/syslogd.c]) diff --git a/lib/.gitignore b/lib/.gitignore index 824d581..23edac5 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -1,2 +1,3 @@ *.o +*.lo .dirstamp diff --git a/src/Makefile.am b/src/Makefile.am index ae1db65..4ec1cd9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -15,7 +15,6 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -AUTOMAKE_OPTIONS = subdir-objects bin_PROGRAMS = logger sbin_PROGRAMS = syslogd klogd @@ -46,4 +45,5 @@ pkgconfig_DATA = libsyslog.pc pkginclude_HEADERS = syslog.h libsyslog_la_SOURCES = syslog.c syslog.h libsyslog_la_CPPFLAGS = $(AM_CPPFLAGS) -D_XOPEN_SOURCE=600 +libsyslog_la_LIBADD = $(LTLIBOBJS) libsyslog_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:0:0