Skip to content
Snippets Groups Projects
Commit c3a2e676 authored by Alejandro Sanchez's avatar Alejandro Sanchez
Browse files

acct_gather_profile/influxdb - refactor Makefile.am files.

parent ab6155c0
No related branches found
No related tags found
No related merge requests found
# Makefile for accounting gather profile plugins
SUBDIRS = none influxdb
SUBDIRS = none
if BUILD_HDF5
SUBDIRS += hdf5
endif
if WITH_CURL
SUBDIRS += influxdb
endif
......@@ -4,17 +4,17 @@ AUTOMAKE_OPTIONS = foreign
PLUGIN_FLAGS = -module -avoid-version --export-dynamic
# Do not put a link to common here. src/common contains an mpi.h which
# hdf5 could of been installed with a link to the generic mpi.h.
AM_CPPFLAGS = -I$(top_srcdir)
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common $(LIBCURL_CPPFLAGS)
# cpu/core energy accounting plugin.
INFLUXDB_SOURCES = acct_gather_profile_influxdb.c
if WITH_CURL
pkglib_LTLIBRARIES = acct_gather_profile_influxdb.la
endif
acct_gather_profile_influxdb_la_SOURCES = $(INFLUXDB_SOURCES)
acct_gather_profile_influxdb_la_LDFLAGS = $(SO_LDFLAGS) $(PLUGIN_FLAGS)
acct_gather_profile_influxdb_la_LIBADD = $(LIBCURL)
acct_gather_profile_influxdb_la_SOURCES = acct_gather_profile_influxdb.c
acct_gather_profile_influxdb_la_LDFLAGS = $(SO_LDFLAGS) $(PLUGIN_FLAGS)
acct_gather_profile_influxdb_la_LIBADD = $(LIBCURL)
else
EXTRA_acct_gather_profile_influxdb_la_SOURCES = $(INFLUXDB_SOURCES)
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment