Revised wording in pdb2gmx.c, hopefully clearer now.
[gromacs/rigid-bodies.git] / src / gmxlib / Makefile.am
blobce3323560c04aed040adcddce14c24924e5255c0
2 ## Process this file with automake to produce Makefile.in
3 # Note: Makefile is automatically generated from Makefile.in by the configure
4 # script, and Makefile.in is generated from Makefile.am by automake.
6 if !GMX_EXTERNAL_BLAS
7   BLAS_DIR       = gmx_blas
8   BLAS_LIBOBJS   = gmx_blas/libblas.la       
9 endif
11 if !GMX_EXTERNAL_LAPACK
12   LAPACK_DIR     = gmx_lapack
13   LAPACK_LIBOBJS = gmx_lapack/liblapack.la
14 endif
16 if THREAD_PARALLEL
17     THREAD_MPI_LIBOBJS = thread_mpi/libthread_mpi.la 
18     THREAD_MPI_DIR     = thread_mpi
19 endif
22 SUBDIRS = nonbonded selection statistics trajana $(THREAD_MPI_DIR) \
23           $(BLAS_DIR) $(LAPACK_DIR)
25 AM_CPPFLAGS= -I$(top_srcdir)/include -DGMXLIBDIR=\"$(datadir)/top\"
27 lib_LTLIBRARIES = libgmx@LIBSUFFIX@.la
30 # Use a utility library for all the nonbonded kernels and wrapper routines.
32 libgmx@LIBSUFFIX@_la_LIBADD =       nonbonded/libnonbonded.la         \
33                                     selection/libselection.la \
34                                     statistics/libstatistics.la \
35                                     trajana/libtrajana.la \
36                                     $(THREAD_MPI_LIBOBJS) \
37                                     $(BLAS_LIBOBJS) $(LAPACK_LIBOBJS)
39 libgmx@LIBSUFFIX@_la_DEPENDENCIES = nonbonded/libnonbonded.la         \
40                                     selection/libselection.la \
41                                     statistics/libstatistics.la \
42                                     trajana/libtrajana.la \
43                                     $(THREAD_MPI_LIBOBJS) \
44                                     $(BLAS_LIBOBJS) $(LAPACK_LIBOBJS)
46 #       
48 libgmx@LIBSUFFIX@_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ @DLOPEN_LIBS@ $(PTHREAD_LIBS)
50 libgmx@LIBSUFFIX@_la_SOURCES = \
51         3dview.c        atomprop.c      bondfree.c      \
52         calcgrid.c      calch.c         chargegroup.c   checkpoint.c    \
53         confio.c        copyrite.c      disre.c         do_fit.c        \
54         enxio.c         ewald_util.c    ffscanf.c       \
55         filenm.c        futil.c         gbutil.c        gmx_fatal.c     \
56         gmx_sort.c      gmxcpp.c \
57         gmxfio.c        ifunc.c         index.c         inputrec.c      \
58         cinvsqrtdata.c  \
59         invblock.c      macros.c        orires.c        sparsematrix.c  \
60         main.c          maths.c         matio.c         mshift.c        \
61         mtop_util.c     mtxio.c         mvdata.c        names.c         \
62         network.c       nrama.c         nrjac.c         nrnb.c          \
63         pargs.c         pbc.c           pdbio.c         princ.c         \
64         rando.c         random.c        gmx_random.c    rbin.c          \
65         readinp.c       replace.c       rmpbc.c         shift_util.c    \
66         sortwater.c     smalloc.c       statutil.c      sfactor.c       \
67         strdb.c         string2.c       symtab.c        \
68         topsort.c       tpxio.c         \
69         trnio.c         trxio.c         txtdump.c       typedefs.c      \
70         viewit.c        warninp.c       \
71         wgms.c          wman.c          writeps.c       \
72         xdrd.c          xtcio.c         xvgr.c          replace.h       \
73         libxdrf.c       gmx_arpack.c    gmx_matrix.c            \
74         dihres.c        gmx_random_gausstable.h gmxfio_int.h\
75         tcontrol.c      splitter.c      gmx_cyclecounter.c              \
76         gmx_system_xdr.c md5.c vmdio.c vmddlopen.c      sighandler.c    \
77         oenv.c          gmxfio_rw.c     gmxfio_asc.c    gmxfio_bin.c    \
78         gmxfio_xdr.c
80 pkgconfigdir = ${libdir}/pkgconfig
81 pkgconfig_DATA = libgmx@LIBSUFFIX@.pc
83 # clean all libtool libraries, since the target names might have changed
84 CLEANFILES     = *.la *~ \\\#* innerc.c innerf.f mkinl
86 if USE_VERSION_H
87 #version.c contains generated git version information
88 libgmx@LIBSUFFIX@_la_SOURCES += version.c
89 CLEANFILES += version.c
90 #The empty target FORCE forces make to run the command every time. But
91 #version.c is only changed if the version actually has changed, and hence
92 #rebuilds are only triggered when they are needed.
93 version.c: FORCE
94         $(top_srcdir)/src/gmxlib/genversion.sh @VERSION@ $(top_srcdir)
95 FORCE:
96 endif
98 EXTRA_DIST = version.h libgmx.pc.cmakein