From: Sebastian Harl Date: Mon, 30 Dec 2013 18:05:12 +0000 (+0100) Subject: src/Makefile: Use LTLIBRARIES for libsysdb_scanner. X-Git-Tag: sysdb-0.1.0~271 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=65ae9e277cf77952608dc05b7cf52db535a2b90d;p=sysdb.git src/Makefile: Use LTLIBRARIES for libsysdb_scanner. --- diff --git a/src/Makefile.am b/src/Makefile.am index 6c257bb..53f4efb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -40,6 +40,7 @@ pkgclientinclude_HEADERS = \ include/client/sysdb.h lib_LTLIBRARIES = libsysdbclient.la libsysdb.la +noinst_LTLIBRARIES = libsysdbclient_la_SOURCES = \ client/client.c include/client/sysdb.h \ @@ -87,14 +88,14 @@ if BUILD_CLIENT bin_PROGRAMS += sysdb # don't use strict CFLAGS for flex code -noinst_LIBRARIES = libsysdb_scanner.a -libsysdb_scanner_a_SOURCES = tools/sysdb/scanner.l -libsysdb_scanner_a_CFLAGS = -DBUILD_DATE="\"$$( date --utc '+%F %T' ) (UTC)\"" +noinst_LTLIBRARIES += libsysdb_scanner.la +libsysdb_scanner_la_SOURCES = tools/sysdb/scanner.l +libsysdb_scanner_la_CFLAGS = -DBUILD_DATE="\"$$( date --utc '+%F %T' ) (UTC)\"" sysdb_SOURCES = tools/sysdb/main.c include/client/sysdb.h \ tools/sysdb/input.c tools/sysdb/input.h sysdb_CFLAGS = -DBUILD_DATE="\"$$( date --utc '+%F %T' ) (UTC)\"" \ $(AM_CFLAGS) @READLINE_CFLAGS@ -sysdb_LDADD = libsysdb_scanner.a libsysdbclient.la @READLINE_LIBS@ +sysdb_LDADD = libsysdb_scanner.la libsysdbclient.la @READLINE_LIBS@ endif sysdbd_SOURCES = tools/sysdbd/main.c include/sysdb.h \