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 generated from Makefile.am by automake.
5 AM_CPPFLAGS = -I$(top_srcdir)/include -DGMXLIBDIR=\"$(datadir)/top\"
7 lib_LTLIBRARIES = libgmxpreprocess@LIBSUFFIX@.la
9 pkgconfigdir = ${libdir}/pkgconfig
10 pkgconfig_DATA = libgmxpreprocess@LIBSUFFIX@.pc
12 LDADD = $(lib_LTLIBRARIES) ../mdlib/libmd@LIBSUFFIX@.la ../gmxlib/libgmx@LIBSUFFIX@.la
15 #AM_CPPFLAGS += -I$(top_srcdir)/libraries/openmm/include
16 #LDADD += $(top_srcdir)/libraries/openmm/lib/linux64/libOpenMM.*
17 lib_LTLIBRARIES += libopenmminterface.la
18 libopenmminterface_la_SOURCES = md_openmm.cpp
19 #mdrun_LINK = $(CXXLINK)
22 libgmxpreprocess@LIBSUFFIX@_la_LIBADD = ../mdlib/libmd@LIBSUFFIX@.la
23 libgmxpreprocess@LIBSUFFIX@_la_DEPENDENCIES =
25 libgmxpreprocess@LIBSUFFIX@_la_SOURCES = \
27 compute_io.c compute_io.h \
28 convparm.c convparm.h \
29 fflibutil.c fflibutil.h \
31 gen_vsite.c gen_vsite.h \
32 genhydro.c genhydro.h \
34 gpp_bond_atomtype.c gpp_bond_atomtype.h \
41 readpull.c readrot.c \
44 specbond.c specbond.h \
46 tomorse.c gpp_tomorse.h \
51 topshake.c topshake.h \
54 vsite_parm.c vsite_parm.h \
58 grompp mdrun tpbconv pdb2gmx \
59 g_protonate g_luck gmxdump \
62 g_x2top_SOURCES = g_x2top.c nm2type.c g_x2top.h
66 ionize.c ionize.h xmdrun.h \
67 do_gct.c repl_ex.c repl_ex.h \
68 xutils.c runner.c md.c mdrun.c \
72 noinst_LTLIBRARIES = libfahcore.la
73 libfahcore_la_SOURCES = $(mdrun_SOURCES)
74 libfahcore_la_CFLAGS = $(AM_CFLAGS)
75 libfahcore_la_LDFLAGS = -all-static $(AM_LDFLAGS)
76 libfahcore_la_LIBADD = libgmxpreprocess@LIBSUFFIX@.la
79 fahcore: libfahcore.la
81 # shortcut to install only mdrun
83 install-mdrun: mdrun$(EXEEXT)
84 $(mkinstalldirs) $(DESTDIR)$(bindir)
85 if test -f mdrun$(EXEEXT); then \
86 f=`echo mdrun$(EXEEXT)|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
87 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) mdrun$(EXEEXT) $(DESTDIR)$(bindir)/$$f"; \
88 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) mdrun$(EXEEXT) $(DESTDIR)$(bindir)/$$f; \