# Makefile for acct_gather_energy/ibmaem plugin

AUTOMAKE_OPTIONS = foreign

PLUGIN_FLAGS = -module -avoid-version --export-dynamic

AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common

pkglib_LTLIBRARIES = acct_gather_energy_ibmaem.la

# cpu/core energy accounting plugin.
acct_gather_energy_ibmaem_la_SOURCES = acct_gather_energy_ibmaem.c

acct_gather_energy_ibmaem_la_LDFLAGS = $(SO_LDFLAGS) $(PLUGIN_FLAGS)
acct_gather_energy_ibmaem_la_LIBADD  = -lm
