# -*- makefile -*- # # Copyright (c) 2020 Intel, Inc. All rights reserved. # Copyright (c) 2022-2023 Nanook Consulting. All rights reserved. # $COPYRIGHT$ # # Additional copyrights may follow # # $HEADER$ # AM_CPPFLAGS = $(prm_pbs_CPPFLAGS) headers = prm_pbs.h sources = \ prm_pbs_component.c \ prm_pbs.c # Make the output library in this directory, and name it either # mca__.la (for DSO builds) or libmca__.la # (for static builds). if MCA_BUILD_pmix_prm_pbs_DSO lib = lib_sources = component = pmix_mca_prm_pbs.la component_sources = $(headers) $(sources) else lib = libpmix_mca_prm_pbs.la lib_sources = $(headers) $(sources) component = component_sources = endif mcacomponentdir = $(pmixlibdir) mcacomponent_LTLIBRARIES = $(component) pmix_mca_prm_pbs_la_SOURCES = $(component_sources) pmix_mca_prm_pbs_la_LIBADD = $(prm_pbs_LIBS) pmix_mca_prm_pbs_la_LDFLAGS = -module -avoid-version $(prm_pbs_LDFLAGS) if NEED_LIBPMIX pmix_mca_prm_pbs_la_LIBADD += $(top_builddir)/src/libpmix.la endif noinst_LTLIBRARIES = $(lib) libpmix_mca_prm_pbs_la_SOURCES = $(lib_sources) libpmix_mca_prm_pbs_la_LDFLAGS = -module -avoid-version $(prm_pbs_LDFLAGS)