39 строки
1.3 KiB
Makefile
39 строки
1.3 KiB
Makefile
|
#
|
||
|
# $HEADER$
|
||
|
#
|
||
|
|
||
|
include $(top_srcdir)/config/Makefile.options
|
||
|
|
||
|
AM_CPPFLAGS = \
|
||
|
-DOMPI_PREFIX="\"$(prefix)\"" \
|
||
|
-DOMPI_BINDIR="\"$(bindir)\"" \
|
||
|
-DOMPI_LIBDIR="\"$(libdir)\"" \
|
||
|
-DOMPI_INCDIR="\"$(includedir)\"" \
|
||
|
-DOMPI_PKGLIBDIR="\"$(pkglibdir)\"" \
|
||
|
-DOMPI_SYSCONFDIR="\"$(sysconfdir)\"" \
|
||
|
-DOMPI_CONFIGURE_USER="\"@OMPI_CONFIGURE_USER@\"" \
|
||
|
-DOMPI_CONFIGURE_HOST="\"@OMPI_CONFIGURE_HOST@\"" \
|
||
|
-DOMPI_CONFIGURE_DATE="\"@OMPI_CONFIGURE_DATE@\"" \
|
||
|
-DOMPI_BUILD_CFLAGS="\"@CFLAGS@\"" \
|
||
|
-DOMPI_BUILD_CPPFLAGS="\"@CPPFLAGS@\"" \
|
||
|
-DOMPI_BUILD_CXXFLAGS="\"@CXXFLAGS@\"" \
|
||
|
-DOMPI_BUILD_CXXCPPFLAGS="\"@CXXCPPFLAGS@\"" \
|
||
|
-DOMPI_BUILD_FFLAGS="\"@FFLAGS@\"" \
|
||
|
-DOMPI_BUILD_FCFLAGS="\"@FCFLAGS@\"" \
|
||
|
-DOMPI_BUILD_LDFLAGS="\"@LDFLAGS@\"" \
|
||
|
-DOMPI_BUILD_LIBS="\"@LIBS@\""
|
||
|
|
||
|
libs = $(top_builddir)/src/libmpi.la
|
||
|
|
||
|
bin_PROGRAMS = ompid
|
||
|
ompid_SOURCES = \
|
||
|
ompid.h \
|
||
|
ompid.cc
|
||
|
|
||
|
ompid_LDADD = $(libs) $(LIBMPI_EXTRA_LIBS) $(LIBOMPI_EXTRA_LIBS)
|
||
|
ompid_LDFLAGS = $(LIBMPI_EXTRA_LDFLAGS) $(LIBOMPI_EXTRA_LDFLAGS)
|
||
|
ompid_DEPENDENCIES = $(libs)
|
||
|
|
||
|
clean-local:
|
||
|
test -z "$(OMPI_CXX_TEMPLATE_REPOSITORY)" || $(RM) -rf $(OMPI_CXX_TEMPLATE_REPOSITORY)
|