nut/common/Makefile.am

17 lines
514 B
Makefile
Raw Normal View History

2010-03-25 23:20:59 +00:00
# Network UPS Tools: common
AM_CFLAGS = -I$(top_srcdir)/include
../include/nut_version.h: FORCE
(cd ../include/ && $(MAKE) $(AM_MAKEFLAGS) nut_version.h)
FORCE:
2011-01-26 09:35:08 +00:00
noinst_LTLIBRARIES = libparseconf.la libcommon.la
2010-03-25 23:20:59 +00:00
libparseconf_la_SOURCES = parseconf.c
2011-01-26 09:35:08 +00:00
libcommon_la_SOURCES = common.c state.c upsconf.c ../include/nut_version.h
# ensure inclusion of local implementation of missing systems functions
# using LTLIBOBJS. Refer to configure.in -> AC_REPLACE_FUNCS
libcommon_la_LIBADD = libparseconf.la @LTLIBOBJS@