libchamplain_0_2_la_LDFLAGS= -version-info $(LIBRARY_VERSION)
-AM_CPPFLAGS = $(DEPS_CFLAGS) -DDATADIR=\""$(datadir)"\" -I$(top_srcdir)/tidy -I$(top_srcdir)
+AM_CPPFLAGS = $(DEPS_CFLAGS) -DDATADIR=\""$(datadir)"\" -I$(top_srcdir)/tidy -I$(top_srcdir) -DCHAMPLAIN_COMPILATION
AM_LDFLAGS = $(DEPS_LIBS) -export-dynamic -export-symbols-regex ^champlain_.*
svgdir = $(datadir)/champlain
#ifndef CHAMPLAIN_H
#define CHAMPLAIN_H
+#define __CHAMPLAIN_CHAMPLAIN_H_INSIDE__
+
#define CHAMPLAIN_MIN_LAT -90
#define CHAMPLAIN_MAX_LAT 90
#define CHAMPLAIN_MIN_LONG -180
#include <champlain/champlainmarker.h>
#include <champlain/champlainlayer.h>
+#undef __CHAMPLAIN_CHAMPLAIN_H_INSIDE__
+
#endif
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#if !defined (__CHAMPLAIN_CHAMPLAIN_H_INSIDE__) && !defined (CHAMPLAIN_COMPILATION)
+#error "Only <champlain/champlain.h> can be included directly."
+#endif
+
#ifndef CHAMPLAIN_DEFINES_H
#define CHAMPLAIN_DEFINES_H
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#if !defined (__CHAMPLAIN_CHAMPLAIN_H_INSIDE__) && !defined (CHAMPLAIN_COMPILATION)
+#error "Only <champlain/champlain.h> can be included directly."
+#endif
+
#ifndef CHAMPLAIN_LAYER_H
#define CHAMPLAIN_LAYER_H
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#if !defined (__CHAMPLAIN_CHAMPLAIN_H_INSIDE__) && !defined (CHAMPLAIN_COMPILATION)
+#error "Only <champlain/champlain.h> can be included directly."
+#endif
+
#ifndef CHAMPLAIN_MARKER_H
#define CHAMPLAIN_MARKER_H
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#if !defined (__CHAMPLAIN_CHAMPLAIN_H_INSIDE__) && !defined (CHAMPLAIN_COMPILATION)
+#error "Only <champlain/champlain.h> can be included directly."
+#endif
+
#ifndef CHAMPLAIN_VIEW_H
#define CHAMPLAIN_VIEW_H