nut/common/Makefile.am

16 lines
615 B
Makefile
Raw Normal View History

2010-03-25 23:20:59 +00:00
# Network UPS Tools: common
AM_CFLAGS = -I$(top_srcdir)/include
2011-01-26 09:35:08 +00:00
noinst_LTLIBRARIES = libparseconf.la libcommon.la
2012-01-24 10:22:33 +00:00
libparseconf_la_SOURCES = parseconf.c
2011-01-26 09:35:08 +00:00
2012-06-01 13:55:19 +00: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
libcommon_la_SOURCES = common.c state.c upsconf.c
2011-01-26 09:35:08 +00: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@