1# Makefile for acct_gather_energy/xcc plugin 2 3#dprx need to uncomment this when safe to build 4#SUBDIRS = include lib 5 6AUTOMAKE_OPTIONS = foreign 7 8AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common $(FREEIPMI_CPPFLAGS) 9 10if BUILD_IPMI 11 12PLUGIN_FLAGS = -module -avoid-version --export-dynamic 13 14pkglib_LTLIBRARIES = acct_gather_energy_xcc.la 15 16# Energy accounting xcc plugin. 17acct_gather_energy_xcc_la_SOURCES = acct_gather_energy_xcc.c 18 19#acct_gather_energy_xcc_la_CFLAGS = $(MYSQL_CFLAGS) 20 21acct_gather_energy_xcc_la_LDFLAGS = $(PLUGIN_FLAGS) $(FREEIPMI_LDFLAGS) 22acct_gather_energy_xcc_la_LIBADD = $(FREEIPMI_LIBS) 23 24else 25 26EXTRA_acct_gather_energy_xcc_la_SOURCES = acct_gather_energy_xcc.c 27endif 28