1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
|
## Process this file with automake to produce Makefile.in
# Note: Makefile is automatically generated from Makefile.in by the configure
# script, and Makefile.in is automatically from Makefile.am by automake.
# N.B.: To be able to use dependency tracking on all hosts (not only w. gmake/gcc)
# and to use the suffix in library names we need the development versions of
# automake. Presently, this means automake version 1.4f. In Groningen, you
# can find that under ~lindahl/gnu/bin , or download a copy from www.gromacs.org
ACLOCAL_AMFLAGS = -I config
AUTOMAKE_OPTIONS = foreign
SUBDIRS = include src admin scripts share man
#
# Most files in the config subdir is included automatically when
# we issue "make dist", but not depcomp
EXTRA_DIST = config/depcomp \
CMakeLists.txt cmake \
include/thread_mpi/atomic/CMakeLists.txt \
include/thread_mpi/CMakeLists.txt \
include/CMakeLists.txt \
man/CMakeLists.txt \
tests/CMakeLists.txt \
share/CMakeLists.txt \
src/kernel/gmx_gpu_utils \
src/kernel/CMakeLists.txt \
src/kernel/openmm_wrapper.cpp \
src/kernel/openmm_wrapper.h \
src/ngmx/CMakeLists.txt \
src/mdlib/CMakeLists.txt \
src/config.h.cmakein \
src/gmxlib/version.c.cmakein \
src/gmxlib/thread_mpi/CMakeLists.txt \
src/gmxlib/CMakeLists.txt \
src/CMakeLists.txt \
src/tools/CMakeLists.txt \
COPYING-GPU \
COPYING-OTHER \
INSTALL-GPU \
INSTALL.cmake \
INSTALL.automake
install-exec-hook:
if NO_LA_FILES
cd $(DESTDIR)$(libdir) && rm -f libmd@LIBSUFFIX@.la libgmx@LIBSUFFIX@.la libgmxpreprocess@LIBSUFFIX@.la libgmxana@LIBSUFFIX@.la
endif
@echo ""
@echo "GROMACS is installed under $(prefix)."
@echo "Make sure to update your PATH and MANPATH to find the"
@echo "programs and unix manual pages, and possibly LD_LIBRARY_PATH"
@echo "or /etc/ld.so.conf if you are using dynamic libraries."
@echo ""
@echo "Please run \"make tests\" now to verify your installation."
@echo ""
@echo "If you want links to the executables in /usr/local/bin,"
@echo "you can issue \"make links\" now."
# Shortcuts to construct and install the mdrun executable
mdrun:
(cd $(top_builddir)/src/gmxlib && $(MAKE) ; exit 0)
(cd $(top_builddir)/src/mdlib && $(MAKE) ; exit 0)
(cd $(top_builddir)/src/kernel && $(MAKE) mdrun ; exit 0)
install-mdrun:
(cd $(top_builddir)/src/gmxlib && $(MAKE) install ; exit 0)
(cd $(top_builddir)/src/mdlib && $(MAKE) install ; exit 0)
(cd $(top_builddir)/src/kernel && $(MAKE) install-libLTLIBRARIES ; exit 0)
(cd $(top_builddir)/src/kernel && $(MAKE) install-mdrun ; exit 0)
if NO_LA_FILES
cd $(DESTDIR)$(libdir) && rm -f libmd@LIBSUFFIX@.la libgmx@LIBSUFFIX@.la libgmxpreprocess@LIBSUFFIX@.la libgmxana@LIBSUFFIX@.la
endif
fahcore:
(cd $(top_builddir)/src/gmxlib && $(MAKE) ; exit 0)
(cd $(top_builddir)/src/mdlib && $(MAKE) ; exit 0)
(cd $(top_builddir)/src/kernel && $(MAKE) fahcore ; exit 0)
links:
cd $(bindir) && programs=`ls` && cd /usr/local/bin && \
for i in $$programs; do \
(test ! -f $$i && $(LN_S) $(bindir)/$$i . ; exit 0); \
done
tests:
(if test -d "gmxtest"; then cd "gmxtest"; ./gmxtest.pl all; cd ..; \
else echo "No gmxtest directory found. Please download and unpack it here.";\
fi)
RPMARCH=`rpm --showrc | awk '/^build arch/ {print $$4}'`
#
# Use --buildroot ???
rpm:
mkdir -p rpmdir/BUILD \
rpmdir/SPECS \
rpmdir/SOURCES \
rpmdir/SRPMS \
rpmdir/RPMS/$(RPMARCH)
cp -f $(PACKAGE)-$(VERSION).tar.gz rpmdir/SOURCES
rpmbuild --clean -ba $(top_srcdir)/admin/$(PACKAGE).spec --define "_topdir $$PWD/rpmdir"
@echo "============================================================"
@echo "Finished - the packages are in rpmdir/RPMS and rpmdir/SRPMS!"
mpi-rpm:
mkdir -p rpmdir/BUILD \
rpmdir/SPECS \
rpmdir/SOURCES \
rpmdir/SRPMS \
rpmdir/RPMS/$(RPMARCH)
cp -f $(PACKAGE)-$(VERSION).tar.gz rpmdir/SOURCES/$(PACKAGE)-$(VERSION).tar.gz
rpmbuild --clean -bb $(top_srcdir)/admin/$(PACKAGE)-mpi.spec --define "_topdir $$PWD/rpmdir"
@echo "============================================"
@echo "Finished - the packages are in rpmdir/RPMS!"
CLEANFILES = *~ \\\#*
DISTCLEANFILES = libtool config.cache config.log
|