[gnome-applets] configure.ac: fix one more warning



commit 2f0e8f845f87575adae3f2c90293c7f0af2d2164
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Sep 27 20:54:53 2015 +0300

    configure.ac: fix one more warning

 battstat/Makefile.am        |    2 +-
 battstat/apmlib/Makefile.am |   14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/battstat/Makefile.am b/battstat/Makefile.am
index 8571bfa..8460d71 100644
--- a/battstat/Makefile.am
+++ b/battstat/Makefile.am
@@ -11,7 +11,7 @@ APMLIB = -lapm
 APMDIR =
 APMINC = 
 else
-APMLIB = apmlib/libapm.a
+APMLIB = apmlib/libapm.la
 APMDIR = apmlib
 APMINC = -I$(srcdir)/apmlib/
 endif
diff --git a/battstat/apmlib/Makefile.am b/battstat/apmlib/Makefile.am
index df9d823..cf21386 100644
--- a/battstat/apmlib/Makefile.am
+++ b/battstat/apmlib/Makefile.am
@@ -6,11 +6,14 @@
 
 NULL =
 
-noinst_LIBRARIES = libapm.a
+noinst_LTLIBRARIES = libapm.la
 
-libapm_a_SOURCES = apmlib.c apm.h
+libapm_la_SOURCES = \
+       apmlib.c \
+       apm.h \
+       $(NULL)
 
-libapm_a_CFLAGS = \
+libapm_la_CFLAGS = \
        -I$(top_srcdir)                         \
        -I$(top_srcdir)/apmlib                  \
        -DG_LOG_DOMAIN=\"battstat_applet\" \
@@ -19,12 +22,9 @@ libapm_a_CFLAGS = \
        $(AM_CFLAGS) \
        $(NULL)
 
-libapm_a_LDFLAGS = \
+libapm_la_LDFLAGS = \
        $(WARN_LDFLAGS) \
        $(AM_LDFLAGS) \
        $(NULL)
 
-CLEANFILES = \
-       libapm.a
-
 -include $(top_srcdir)/git.mk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]