Fixed a bug in the pdb-writing code.
[gromacs.git] / src / kernel / Makefile.am
blob2ca38c3b30a8232c623a496d101c3d95a2cc34ef
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 LDADD = ../mdlib/libmd@LIBSUFFIX@.la ../gmxlib/libgmx@LIBSUFFIX@.la 
10 bin_PROGRAMS = \
11         grompp          mdrun           tpbconv         pdb2gmx         \
12         protonate       luck            gmxdump         rtp2xml         \
13         gmxcheck        x2top           ffscan
16 grompp_SOURCES = \
17         topio.c         toppush.c       topcat.c        topshake.c      \
18         convparm.c      tomorse.c       sorting.c       splitter.c      \
19         dum_parm.c      readir.c        add_par.c       topexcl.c       \
20         toputil.c       topdirs.c       grompp.c        add_par.h       \
21         splitter.h      topio.h         toputil.h       convparm.h      \
22         sorting.h       topdirs.h       toppush.h       dum_parm.h      \
23         readir.h        topcat.h        topexcl.h       topshake.h
25 tpbconv_SOURCES = \
26         readir.c        toputil.c       topdirs.c       add_par.c       \
27         topexcl.c       tpbconv.c       add_par.h       toputil.h       \
28         topdirs.h       readir.h        topexcl.h
30 pdb2gmx_SOURCES = \
31         hizzie.c        xlate.c         specbond.c      ter_db.c        \
32         h_db.c          genhydro.c      pdb2top.c       gen_ad.c        \
33         gen_dum.c       pgutil.c        resall.c        hackblock.c     \
34         add_par.c       topexcl.c       toputil.c       topdirs.c       \
35         pdb2gmx.c       gen_ad.h        add_par.h       h_db.h          \
36         pdb2top.h       resall.h        toputil.h       xlate.h         \
37         gen_dum.h       hackblock.h     pgutil.h        ter_db.h        \
38         topdirs.h       genhydro.h      hizzie.h        specbond.h      \
39         topexcl.h
41 rtp2xml_SOURCES = \
42         hizzie.c        xlate.c         specbond.c      ter_db.c        \
43         h_db.c          genhydro.c      pdb2top.c       gen_ad.c        \
44         gen_dum.c       pgutil.c        resall.c        hackblock.c     \
45         add_par.c       topexcl.c       toputil.c       topdirs.c       \
46         rtp2xml.c       gen_ad.h        add_par.h       h_db.h          \
47         pdb2top.h       resall.h        toputil.h       xlate.h         \
48         gen_dum.h       hackblock.h     pgutil.h        ter_db.h        \
49         topdirs.h       genhydro.h      hizzie.h        specbond.h      \
50         topexcl.h
52 protonate_SOURCES = \
53         hackblock.c     ter_db.c        h_db.c          genhydro.c      \
54         pgutil.c        resall.c        add_par.c       topexcl.c       \
55         toputil.c       topdirs.c       protonate.c     add_par.h       \
56         h_db.h          resall.h        toputil.h       hackblock.h     \
57         pgutil.h        ter_db.h        topdirs.h       topexcl.h
59 gmxcheck_SOURCES = \
60         gmxcheck.c      tpbcmp.c        tpbcmp.h
62 x2top_SOURCES = \
63         toppush.c       nm2type.c       pdb2top.c       gen_ad.c        \
64         gen_dum.c       pgutil.c        resall.c        hackblock.c     \
65         add_par.c       topexcl.c       toputil.c       topdirs.c       \
66         x2top.c         add_par.h       gen_ad.h        pdb2top.h       \
67         resall.h        toputil.h       gen_dum.h       hackblock.h     \
68         pgutil.h        topdirs.h       toppush.h       topexcl.h       \
69         x2top.h
71 mdrun_SOURCES = \
72         glaasje.c       glaasje.h       gctio.c         init_sh.c       \
73         ionize.c        ionize.h        ion_data.h      xmdrun.h        \
74         do_gct.c        relax_sh.c      xutils.c        \
75         md.c            mdrun.c         genalg.c        genalg.h
77 ffscan_SOURCES = \
78         ffscan.c        \
79         glaasje.c       glaasje.h       gctio.c         init_sh.c       \
80         ionize.c        ionize.h        ion_data.h      \
81         do_gct.c        relax_sh.c      xutils.c        \
82         md.c            genalg.c
85 # shortcut to install only mdrun
87 install-mdrun: mdrun$(EXEEXT)
88         $(mkinstalldirs) $(DESTDIR)$(bindir)
89         if test -f mdrun$(EXEEXT); then \
90           f=`echo mdrun$(EXEEXT)|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
91           echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) mdrun$(EXEEXT) $(DESTDIR)$(bindir)/$$f"; \
92           $(INSTALL_PROGRAM_ENV) $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) mdrun$(EXEEXT) $(DESTDIR)$(bindir)/$$f; \
93         else :; fi 
95 CLEANFILES = *~ \\\#*