2010-03-26 01:20:59 +02:00
|
|
|
# Network UPS Tools: common
|
|
|
|
|
|
|
|
AM_CFLAGS = -I$(top_srcdir)/include
|
|
|
|
|
2014-04-22 21:39:47 +03:00
|
|
|
noinst_LTLIBRARIES = libparseconf.la libcommon.la libcommonclient.la
|
2012-01-24 12:22:33 +02:00
|
|
|
libparseconf_la_SOURCES = parseconf.c
|
2011-01-26 11:35:08 +02:00
|
|
|
|
2012-06-01 16:55:19 +03:00
|
|
|
# do not hard depend on '../include/nut_version.h', since it blocks
|
|
|
|
# 'dist', and is only required for actual build, in which case
|
|
|
|
# BUILT_SOURCES (in ../include) will ensure nut_version.h will
|
|
|
|
# be built before anything else
|
2016-07-18 03:11:41 +03:00
|
|
|
libcommon_la_SOURCES = common.c state.c str.c upsconf.c
|
|
|
|
libcommonclient_la_SOURCES = common.c state.c str.c
|
2011-01-26 11:35:08 +02:00
|
|
|
# ensure inclusion of local implementation of missing systems functions
|
|
|
|
# using LTLIBOBJS. Refer to configure.in -> AC_REPLACE_FUNCS
|
|
|
|
libcommon_la_LIBADD = libparseconf.la @LTLIBOBJS@
|
2014-04-22 21:39:47 +03:00
|
|
|
libcommonclient_la_LIBADD = libparseconf.la @LTLIBOBJS@
|