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