2010-03-26 01:20:59 +02: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 11:35:08 +02:00
|
|
|
noinst_LTLIBRARIES = libparseconf.la libcommon.la
|
2010-03-26 01:20:59 +02:00
|
|
|
libparseconf_la_SOURCES = parseconf.c
|
2011-01-26 11:35:08 +02: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@
|