if HAVE_PERF _perfhook_files = \ prov/hook/perf/src/hook_perf.c _perfhook_headers = \ prov/hook/perf/include/hook_perf.h if HAVE_PERF_DL pkglib_LTLIBRARIES += libperf-fi.la libperf_fi_la_SOURCES = $(_perfhook_files) \ $(_perfhook_headers) \ $(common_hook_srcs) \ $(common_srcs) libperf_fi_la_CPPFLAGS = $(AM_CPPFLAGS) \ -I$(top_srcdir)/prov/hook/include \ -I$(top_srcdir)/prov/hook/perf/include libperf_fi_la_LIBADD = $(linkback) $(perfhook_shm_LIBS) libperf_fi_la_LDFLAGS = -module -avoid-version -shared -export-dynamic libperf_fi_la_DEPENDENCIES = $(linkback) else !HAVE_PERF_DL src_libfabric_la_SOURCES += $(_perfhook_files) \ $(_perfhook_headers) src_libfabric_la_LIBADD += $(perfhook_shm_LIBS) endif !HAVE_PERF_DL src_libfabric_la_CPPFLAGS += -I$(top_srcdir)/prov/hook/perf/include endif HAVE_PERF