From 99e1002701e4ae1dfd54271ddecdb8b1eba02c78 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 23 Oct 2015 11:25:35 +1000 Subject: [PATCH] Build libratbag-util as helper library Signed-off-by: Peter Hutterer --- src/Makefile.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index cdf255b8..a380c10e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,6 @@ lib_LTLIBRARIES = libratbag.la -noinst_LTLIBRARIES = libhidpp.la +noinst_LTLIBRARIES = libhidpp.la \ + libutil.la include_HEADERS = \ libratbag.h @@ -14,14 +15,13 @@ libratbag_la_SOURCES = \ libratbag.h \ libratbag-hidraw.c \ libratbag-hidraw.h \ - libratbag-util.c \ libratbag-private.h \ - libratbag-util.h \ libratbag-test.c \ libratbag-test.h libratbag_la_LIBADD = \ libhidpp.la \ + libutil.la \ $(LIBUDEV_LIBS) $(LIBEVDEV_LIBS) libratbag_la_CFLAGS = -I$(top_srcdir)/include \ @@ -50,3 +50,7 @@ libhidpp_la_SOURCES = \ hidpp10.c \ hidpp20.h \ hidpp20.c +libutil_la_SOURCES = \ + libratbag-util.c \ + libratbag-util.h +libutil_la_LIBADD = $(LIBUDEV_LIBS)