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 EXTRA_DIST = libgmxpreprocess.pc.cmakein
14 LDADD = $(lib_LTLIBRARIES) ../mdlib/libmd@LIBSUFFIX@.la ../gmxlib/libgmx@LIBSUFFIX@.la
16 libgmxpreprocess@LIBSUFFIX@_la_LIBADD = ../mdlib/libmd@LIBSUFFIX@.la
17 libgmxpreprocess@LIBSUFFIX@_la_DEPENDENCIES =
19 libgmxpreprocess@LIBSUFFIX@_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ $(PTHREAD_LIBS)
21 libgmxpreprocess@LIBSUFFIX@_la_SOURCES = \
23 compute_io.c compute_io.h \
24 convparm.c convparm.h \
25 fflibutil.c fflibutil.h \
27 gen_vsite.c gen_vsite.h \
28 genhydro.c genhydro.h \
30 gpp_bond_atomtype.c gpp_bond_atomtype.h \
37 readpull.c readrot.c \
40 specbond.c specbond.h \
42 tomorse.c gpp_tomorse.h \
47 topshake.c topshake.h \
50 vsite_parm.c vsite_parm.h \
54 grompp mdrun tpbconv pdb2gmx \
55 g_protonate g_luck gmxdump \
58 g_x2top_SOURCES = g_x2top.c nm2type.c g_x2top.h
62 ionize.c ionize.h xmdrun.h \
63 do_gct.c repl_ex.c repl_ex.h \
64 xutils.c runner.c md.c mdrun.c \
65 genalg.c genalg.h md_openmm.h md_openmm.c
68 noinst_LTLIBRARIES = libfahcore.la
69 libfahcore_la_SOURCES = $(mdrun_SOURCES)
70 libfahcore_la_CFLAGS = $(AM_CFLAGS)
71 libfahcore_la_LDFLAGS = -all-static $(AM_LDFLAGS)
72 libfahcore_la_LIBADD = libgmxpreprocess@LIBSUFFIX@.la
75 fahcore: libfahcore.la
77 # shortcut to install only mdrun
79 install-mdrun: mdrun$(EXEEXT)
80 $(mkinstalldirs) $(DESTDIR)$(bindir)
81 if test -f mdrun$(EXEEXT); then \
82 f=`echo mdrun$(EXEEXT)|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
83 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) mdrun$(EXEEXT) $(DESTDIR)$(bindir)/$$f"; \
84 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) mdrun$(EXEEXT) $(DESTDIR)$(bindir)/$$f; \