diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-04-12 04:05:25 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-04-12 04:05:25 +0800 |
commit | 4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54 (patch) | |
tree | 5d2722ce42f0b1942c81a831620f307b0a2051bb /src/Makefile.am | |
parent | 0f850ad05322a65ac6e845543d370ecbe6a0d46c (diff) | |
download | gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.tar gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.tar.gz gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.tar.bz2 gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.tar.lz gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.tar.xz gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.tar.zst gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.zip |
Add epiphany.h. Only allow including epiphany/epiphany.h; all other
Add epiphany.h.
Only allow including epiphany/epiphany.h; all other headers are internal.
svn path=/trunk/; revision=8210
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 161e91dfb..baa982e5d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -52,7 +52,7 @@ INST_H_FILES = \ ephy-shell.h \ ephy-statusbar.h \ ephy-window.h \ - ephy-version.h \ + epiphany.h \ $(NULL) libephymain_la_SOURCES = \ @@ -259,6 +259,7 @@ ephy-type-builtins.c: stamp-ephy-type-builtins.c Makefile @true stamp-ephy-type-builtins.c: Makefile $(INST_H_FILES) $(NOINST_H_FILES) $(GLIB_MKENUMS) \ + --fhead "#include <config.h>\n\n" \ --fhead "#include \"ephy-type-builtins.h\"\n\n" \ --fprod "\n/* enumerations from \"@filename@\" */" \ --fprod "\n#include \"@filename@\"" \ @@ -279,6 +280,9 @@ ephy-type-builtins.h: stamp-ephy-type-builtins.h Makefile @true stamp-ephy-type-builtins.h: Makefile $(INST_H_FILES) $(NOINST_H_FILES) $(GLIB_MKENUMS) \ + --fhead "#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)\n" \ + --fhead "#error Only <epiphany/epiphany.h> can be included directly.\n" \ + --fhead "#endif\n\n" \ --fhead "#ifndef EPHY_TYPE_BUILTINS_H\n" \ --fhead "#define EPHY_TYPE_BUILTINS_H 1\n\n" \ --fhead "#include <glib-object.h>\n\n" \ |