Remove unnecessary inclusions of gstat.h from outside gmxana/.
Now that the header is no longer used outside gmxana/, move it into that
directory. Still install the header, since it contains a wide mixture
of stuff, some of which may actually be used by user tools.
This cleans up the include dependency graph considerably, since the
legacyheaders/ directory no longer depends on commandline/. This was a
source of a cyclic dependency that made the graph layout very confusing.
Change-Id: I3843f2773d6b393e4d260e84478ab559ab8e00d7
#
# This file is part of the GROMACS molecular simulation package.
#
-# Copyright (c) 2013, by the GROMACS development team, led by
+# Copyright (c) 2013,2014, by the GROMACS development team, led by
# Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
# and including many others, as listed in the AUTHORS file in the
# top-level source directory and at http://www.gromacs.org.
file(GLOB GMXANA_SOURCES *.c *.cpp)
+set(GMXANA_PUBLIC_HEADERS
+ gstat.h
+ )
+gmx_install_headers(gmxana ${GMXANA_PUBLIC_HEADERS})
+
set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${GMXANA_SOURCES} PARENT_SCOPE)
if(BUILD_TESTING)
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
+#ifndef GMX_GMXANA_GSTAT_H
+#define GMX_GMXANA_GSTAT_H
-#ifndef _gstat_h
-#define _gstat_h
-
-#include "typedefs.h"
+#include "../legacyheaders/typedefs.h"
#include "../commandline/pargs.h"
-#include "oenv.h"
-#include "mshift.h"
-#include "rmpbc.h"
-#include "index.h"
+#include "../legacyheaders/oenv.h"
+#include "../legacyheaders/mshift.h"
+#include "../legacyheaders/rmpbc.h"
+#include "../legacyheaders/index.h"
#ifdef __cplusplus
extern "C" {
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "macros.h"
#include "vec.h"
#include "gmx_fatal.h"
-#include "gstat.h"
#include "pbc.h"
#include "gbutil.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
-#include "gstat.h"
#include "smalloc.h"
#include "gmx_fatal.h"
#include "nrjac.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "typedefs.h"
#include "vec.h"
#include "smalloc.h"
-#include "gstat.h"
#include "nrjac.h"
#include "txtdump.h"
#include "princ.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "smalloc.h"
#include "mshift.h"
#include "pbc.h"
-#include "gstat.h"
-#include "gromacs/fileio/futil.h"
+#include "rmpbc.h"
#include "vec.h"
+#include "gromacs/fileio/futil.h"
+
typedef struct {
int natoms;
t_graph *gr;
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "pbc.h"
#include "nmol.h"
#include "copyrite.h"
-#include "gstat.h"
#include "vec.h"
#include "string2.h"