1# -*- makefile -*- 2# 3# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4# University Research and Technology 5# Corporation. All rights reserved. 6# Copyright (c) 2004-2005 The University of Tennessee and The University 7# of Tennessee Research Foundation. All rights 8# reserved. 9# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10# University of Stuttgart. All rights reserved. 11# Copyright (c) 2004-2005 The Regents of the University of California. 12# All rights reserved. 13# Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved. 14# Copyright (c) 2011 Sandia National Laboratories. All rights reserved. 15# Copyright (c) 2012 Oak Rigde National Laboratory. All rights reserved. 16# Copyright (c) 2013 Los Alamos National Security, LLC. All rights 17# Copyright (c) 2015 Research Organization for Information Science 18# and Technology (RIST). All rights reserved. 19# reserved. 20# $COPYRIGHT$ 21# 22# Additional copyrights may follow 23# 24# $HEADER$ 25# 26 27include $(top_srcdir)/Makefile.ompi-rules 28 29# 30# OMPI_PROFILING_DEFINES flag s enabled when we want our MPI_* symbols 31# to be replaced by PMPI_*. In other words, this flag decides 32# whether "profile/defines.h" is included or not. "profile/defines.h" 33# replaces all MPI_* symbols with PMPI_* symbols. In this directory 34# we definately need it to be 1. 35# 36AM_CPPFLAGS = -DOMPI_PROFILING_DEFINES=1 37 38# 39# This build needs to go through only if profiling is required. 40# Further, this build HAS to go through if profiling is required. 41# 42 43noinst_LTLIBRARIES = libmpi_pmpit.la 44 45headers = defines.h 46 47nodist_libmpi_pmpit_la_SOURCES = \ 48 pcategory_changed.c \ 49 pcategory_get_categories.c \ 50 pcategory_get_cvars.c \ 51 pcategory_get_info.c \ 52 pcategory_get_index.c \ 53 pcategory_get_num.c \ 54 pcategory_get_pvars.c \ 55 pcvar_get_info.c \ 56 pcvar_get_index.c \ 57 pcvar_get_num.c \ 58 pcvar_handle_alloc.c \ 59 pcvar_handle_free.c \ 60 pcvar_read.c \ 61 pcvar_write.c \ 62 penum_get_info.c \ 63 penum_get_item.c \ 64 pfinalize.c \ 65 pinit_thread.c \ 66 ppvar_get_info.c \ 67 ppvar_get_index.c \ 68 ppvar_get_num.c \ 69 ppvar_handle_alloc.c \ 70 ppvar_handle_free.c \ 71 ppvar_read.c \ 72 ppvar_readreset.c \ 73 ppvar_reset.c \ 74 ppvar_session_create.c \ 75 ppvar_session_free.c \ 76 ppvar_start.c \ 77 ppvar_stop.c \ 78 ppvar_write.c 79 80# 81# Sym link in the sources from the real MPI directory 82# 83$(nodist_libmpi_pmpit_la_SOURCES): 84 $(OMPI_V_LN_S) if test ! -r $@ ; then \ 85 pname=`echo $@ | cut -b '2-'` ; \ 86 $(LN_S) $(top_srcdir)/ompi/mpi/tool/$$pname $@ ; \ 87 fi 88 89# Conditionally install the header files 90 91if WANT_INSTALL_HEADERS 92ompidir = $(ompiincludedir)/$(subdir) 93ompi_HEADERS = $(headers) 94endif 95 96# These files were created by targets above 97 98MAINTAINERCLEANFILES = $(nodist_libmpi_pmpit_la_SOURCES) 99 100# Don't want these targets in here 101 102tags-recursive: 103tags: 104TAGS: 105GTAGS: 106ID: 107