diff options
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" \ |