1# 2# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3# University Research and Technology 4# Corporation. All rights reserved. 5# Copyright (c) 2004-2009 The University of Tennessee and The University 6# of Tennessee Research Foundation. All rights 7# reserved. 8# Copyright (c) 2004-2009 High Performance Computing Center Stuttgart, 9# University of Stuttgart. All rights reserved. 10# Copyright (c) 2004-2005 The Regents of the University of California. 11# All rights reserved. 12# Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved. 13# Copyright (c) 2015-2016 Intel, Inc. All rights reserved. 14# Copyright (c) 2016 Research Organization for Information Science 15# and Technology (RIST). All rights reserved. 16# $COPYRIGHT$ 17# 18# Additional copyrights may follow 19# 20# $HEADER$ 21# 22 23SUBDIRS = \ 24 include \ 25 datatype \ 26 etc \ 27 util \ 28 mca/base \ 29 $(MCA_opal_FRAMEWORKS_SUBDIRS) \ 30 $(MCA_opal_FRAMEWORK_COMPONENT_STATIC_SUBDIRS) \ 31 . \ 32 $(MCA_opal_FRAMEWORK_COMPONENT_DSO_SUBDIRS) 33 34# libltdl is included by variable because if --disable-dlopen was 35# used, there will be no generated Makefile in that directory (and 36# therefore make distclean will fail). 37DIST_SUBDIRS = \ 38 include \ 39 datatype \ 40 etc \ 41 util \ 42 mca/base \ 43 $(MCA_opal_FRAMEWORKS_SUBDIRS) \ 44 $(MCA_opal_FRAMEWORK_COMPONENT_ALL_SUBDIRS) 45 46# Build the main OPAL library 47 48lib_LTLIBRARIES = lib@OPAL_LIB_PREFIX@open-pal.la 49lib@OPAL_LIB_PREFIX@open_pal_la_SOURCES = 50lib@OPAL_LIB_PREFIX@open_pal_la_LIBADD = \ 51 datatype/libdatatype.la \ 52 mca/base/libmca_base.la \ 53 util/libopalutil.la \ 54 $(MCA_opal_FRAMEWORK_LIBS) 55lib@OPAL_LIB_PREFIX@open_pal_la_DEPENDENCIES = $(lib@OPAL_LIB_PREFIX@open_pal_la_LIBADD) 56lib@OPAL_LIB_PREFIX@open_pal_la_LDFLAGS = -version-info $(libopen_pal_so_version) 57 58# included subdirectory Makefile.am's and appended-to variables 59headers = 60noinst_LTLIBRARIES = 61dist_opaldata_DATA = 62lib@OPAL_LIB_PREFIX@open_pal_la_SOURCES += $(headers) 63 64# Conditionally install the header files 65 66if WANT_INSTALL_HEADERS 67opaldir = $(opalincludedir)/$(subdir) 68nobase_opal_HEADERS = $(headers) 69endif 70 71include class/Makefile.am 72include memoryhooks/Makefile.am 73include runtime/Makefile.am 74include threads/Makefile.am 75include mca/Makefile.am 76include tools/Makefile.am 77include dss/Makefile.am 78