Fix dependencies on config.h for typedefs.h
authorRoland Schulz <roland@utk.edu>
Fri, 7 Mar 2014 00:28:39 +0000 (19:28 -0500)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 18 Mar 2014 13:11:50 +0000 (14:11 +0100)
commit5e945648a83fe7fd9bfa0a50967732ece91c4173
tree6ec9e05e999ad7a7ee13fc416410e40457d3046d
parent18dc06fdfacc65a597088b1eba4792f7533ac86f
Fix dependencies on config.h for typedefs.h

The include in simple.h hid other dependencies and was only
used for gmx_inline and gmx_restrict. Defining those
in just one place simplifies it.

Also fix missing includes in public headers.
All public headers should be able to be compiled by themselfes
and shouldn't rely on other headers aready being included.

Also fixes that math module headers were installed to maths.

thread-mpi headers and commrec.h are not installed anymore.
The installed headers have no dependency on GMX_LIB_MPI and
GMX_THREAD_MPI anymore.

Change-Id: Ie1f26913739d3e42d653a51fa2c2d71e6ea3ef7a
87 files changed:
CMakeLists.txt
cmake/gmxTestInline.cmake [deleted file]
cmake/gmxTestRestrict.cmake [deleted file]
src/config.h.cmakein
src/gromacs/fft/fft5d.h
src/gromacs/fileio/filenm.h
src/gromacs/fileio/futil.cpp
src/gromacs/fileio/futil.h
src/gromacs/fileio/mdoutf.c
src/gromacs/fileio/trajectory_writing.h
src/gromacs/gmxana/gmx_pme_error.cpp
src/gromacs/gmxana/gmx_tune_pme.c
src/gromacs/gmxlib/checkpoint.c
src/gromacs/gmxlib/disre.c
src/gromacs/gmxlib/ewald_util.c
src/gromacs/gmxlib/gmx_fatal.c
src/gromacs/gmxlib/main.cpp
src/gromacs/gmxlib/mvdata.c
src/gromacs/gmxlib/network.c
src/gromacs/gmxlib/orires.c
src/gromacs/gmxlib/pbc.c
src/gromacs/gmxlib/txtdump.c
src/gromacs/gmxpreprocess/addconf.c
src/gromacs/legacyheaders/CMakeLists.txt
src/gromacs/legacyheaders/constr.h
src/gromacs/legacyheaders/coulomb.h
src/gromacs/legacyheaders/domdec.h
src/gromacs/legacyheaders/domdec_network.h
src/gromacs/legacyheaders/genborn.h
src/gromacs/legacyheaders/gmx_detect_hardware.h
src/gromacs/legacyheaders/gmx_fatal_collective.h
src/gromacs/legacyheaders/gmx_ga2la.h
src/gromacs/legacyheaders/gmx_hash.h
src/gromacs/legacyheaders/gmx_omp_nthreads.h
src/gromacs/legacyheaders/gmx_thread_affinity.h
src/gromacs/legacyheaders/gpu_utils.h
src/gromacs/legacyheaders/main.h
src/gromacs/legacyheaders/md_logging.h
src/gromacs/legacyheaders/mdrun.h
src/gromacs/legacyheaders/mvdata.h
src/gromacs/legacyheaders/nbnxn_cuda_data_mgmt.h
src/gromacs/legacyheaders/network.h
src/gromacs/legacyheaders/nrnb.h
src/gromacs/legacyheaders/pbc.h
src/gromacs/legacyheaders/pmalloc_cuda.h
src/gromacs/legacyheaders/tables.h
src/gromacs/legacyheaders/typedefs.h
src/gromacs/legacyheaders/types/commrec.h
src/gromacs/legacyheaders/types/inputrec.h
src/gromacs/legacyheaders/types/nbnxn_pairlist.h
src/gromacs/legacyheaders/types/simple.h
src/gromacs/legacyheaders/types/state.h
src/gromacs/legacyheaders/vec.h
src/gromacs/legacyheaders/vsite.h
src/gromacs/math/CMakeLists.txt
src/gromacs/mdlib/constr.c
src/gromacs/mdlib/coupling.c
src/gromacs/mdlib/domdec_box.c
src/gromacs/mdlib/domdec_con.c
src/gromacs/mdlib/domdec_network.c
src/gromacs/mdlib/domdec_setup.c
src/gromacs/mdlib/domdec_top.c
src/gromacs/mdlib/ewald.c
src/gromacs/mdlib/forcerec.c
src/gromacs/mdlib/genborn.c
src/gromacs/mdlib/nbnxn_atomdata.c
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.cu
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.h
src/gromacs/mdlib/nbnxn_search.c
src/gromacs/mdlib/ns.c
src/gromacs/mdlib/pme_pp.c
src/gromacs/mdlib/qmmm.c
src/gromacs/mdlib/shellfc.c
src/gromacs/mdlib/stat.c
src/gromacs/mdlib/wnblist.c
src/gromacs/pulling/pull.c
src/gromacs/pulling/pullutil.c
src/gromacs/utility/CMakeLists.txt
src/gromacs/utility/gmx_header_config_gen.h.cmakein
src/gromacs/utility/gmxmpi.h
src/gromacs/utility/gmxomp.h
src/programs/mdrun/deform.h [new file with mode: 0644]
src/programs/mdrun/md.c
src/programs/mdrun/mdrun.cpp
src/programs/mdrun/membed.c
src/programs/mdrun/pme_loadbal.c
src/programs/mdrun/runner.c