aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-06-06 05:26:49 +0800
committerXan Lopez <xan@gnome.org>2009-06-06 05:29:25 +0800
commit9ac17ac272eb0e08c54a44a7269add7de57a44ea (patch)
tree2d9428dd90a2571198e5633cf4aa10f6bf2fb2a9 /src/Makefile.am
parent8cc5c0f0ceca462741ece79b0ed6e43da878656f (diff)
downloadgsoc2013-epiphany-9ac17ac272eb0e08c54a44a7269add7de57a44ea.tar.gz
gsoc2013-epiphany-9ac17ac272eb0e08c54a44a7269add7de57a44ea.tar.zst
gsoc2013-epiphany-9ac17ac272eb0e08c54a44a7269add7de57a44ea.zip
Remove Python support.
The supported language for extensions other than C/C++ is now JavaScript through Seed.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am257
1 files changed, 0 insertions, 257 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ba06c426d..01f25f76c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,10 +4,6 @@ NULL =
noinst_LTLIBRARIES = libephymain.la
-if ENABLE_PYTHON
-noinst_LTLIBRARIES += libpyphany.la
-endif
-
bin_PROGRAMS = epiphany
EXTRA_DIST =
@@ -142,64 +138,6 @@ libephymain_la_SOURCES += \
libephymain_la_CFLAGS += $(SEED_CFLAGS)
endif # ENABLE_SEED
-if ENABLE_PYTHON
-NOINST_H_FILES += \
- ephy-python.h \
- ephy-python-extension.h \
- ephy-python-loader.h
-
-BUILT_PYPHANY_SOURCE = epiphany.c
-
-libpyphany_la_SOURCES = \
- ephy-python.c \
- ephy-python.h \
- ephy-python-extension.c \
- ephy-python-extension.h \
- ephy-python-loader.c \
- ephy-python-loader.h
-
-nodist_libpyphany_la_SOURCES = \
- $(BUILT_PYPHANY_SOURCE)
-
-libpyphany_la_CPPFLAGS = \
- -I$(top_srcdir)/lib \
- -I$(top_srcdir)/lib/widgets \
- -I$(top_srcdir)/lib/egg \
- -I$(top_srcdir)/embed \
- -I$(top_srcdir)/embed/$(with_engine) \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/bookmarks \
- -I$(top_builddir)/lib \
- -I$(top_builddir)/lib/widgets \
- -I$(top_builddir)/lib/egg \
- -I$(top_builddir)/embed \
- -I$(top_builddir)/embed/$(with_engine) \
- -I$(top_builddir)/src \
- -I$(top_builddir)/src/bookmarks \
- $(PYTHON_INCLUDES) \
- -DEXTENSIONS_DIR=\""$(libdir)/epiphany/$(EPIPHANY_MAJOR)/extensions"\" \
- -DLOADER_DIR=\""$(libdir)/epiphany/$(EPIPHANY_MAJOR)/loaders"\" \
- -DDATADIR=\""$(datadir)"\" \
- $(AM_CPPFLAGS)
-
-libpyphany_la_CFLAGS = \
- $(DEPENDENCIES_CFLAGS) \
- $(NO_STRICT_ALIASING_CFLAGS) \
- $(DBUS_CFLAGS) \
- $(PYGTK_CFLAGS) \
- $(AM_CFLAGS)
-
-libpyphany_la_LDFLAGS = \
- -export-symbols-regex ephy_python_init
-
-libpyphany_la_LIBADD = \
- $(DEPENDENCIES_LIBS) \
- $(PYTHON_LIB_LOC) $(PYTHON_LIBS) \
- $(PYTHON_EXTRA_LIBS) \
- $(PYGTK_LIBS)
-endif
-
-
epiphany_SOURCES = ephy-main.c
epiphany_CPPFLAGS = \
@@ -242,21 +180,6 @@ if ENABLE_SEED
epiphany_LDADD += $(SEED_LIBS)
endif # ENABLE_SEED
-if ENABLE_PYTHON
-epiphany_LDADD += \
- libpyphany.la \
- $(PYTHON_LIB_LOC) $(PYTHON_LIBS) \
- $(PYTHON_EXTRA_LIBS) \
- $(PYGTK_LIBS)
-
-pydefsdir = $(datadir)/pygtk/2.0/defs
-pydefs_DATA = epiphany.defs
-endif
-
-EXTRA_DIST += \
- epiphany.defs \
- epiphany.override
-
if ENABLE_NETWORK_MANAGER
epiphany_LDADD += \
$(NETWORK_MANAGER_LIBS)
@@ -272,10 +195,6 @@ TYPES_SOURCE = \
ephy-type-builtins.c \
ephy-type-builtins.h
-if ENABLE_PYTHON
-BUILT_SOURCES += $(BUILT_PYPHANY_SOURCE)
-endif
-
stamp_files = \
stamp-ephy-type-builtins.c \
stamp-ephy-type-builtins.h \
@@ -340,186 +259,10 @@ stamp-ephy-dbus-client-bindings.h: $(top_srcdir)/data/epiphany-service.xml Makef
&& rm -f xgen-$(@F) \
&& echo timestamp > $(@F)
-epiphany.c: epiphany.defs epiphany.override
- ( cd $(srcdir) && $(PYGTK_CODEGEN) \
- --register $(PYGTK_DEFSDIR)/pango-types.defs \
- --register $(PYGTK_DEFSDIR)/gdk-types.defs \
- --register $(PYGTK_DEFSDIR)/gtk-types.defs \
- --override $*.override \
- --prefix py$* $(<F) ) > $@
-
CLEANFILES = $(stamp_files) $(BUILT_SOURCES)
DISTCLEANFILES = $(stamp_files) $(BUILT_SOURCES)
MAINTAINERCLEANFILES = $(stamp_files) $(BUILT_SOURCES)
-# update rules for python bindings
-if ENABLE_PYTHON
-
-BINDING_HEADERS_SRCDIR_IN = \
- embed/ephy-command-manager.h \
- embed/ephy-embed-event.h \
- embed/ephy-embed.h \
- embed/ephy-embed-persist.h \
- embed/ephy-embed-shell.h \
- embed/ephy-embed-single.h \
- embed/ephy-favicon-cache.h \
- embed/ephy-history.h \
- embed/ephy-password-manager.h \
- embed/ephy-permission-manager.h \
- lib/ephy-dialog.h \
- lib/ephy-node-db.h \
- lib/ephy-node.h \
- lib/ephy-state.h \
- lib/egg/egg-editable-toolbar.h \
- lib/egg/egg-toolbars-model.h \
- lib/widgets/ephy-search-entry.h \
- lib/widgets/ephy-spinner.h \
- src/bookmarks/ephy-bookmarks.h \
- src/ephy-extension.h \
- src/ephy-extensions-manager.h \
- src/ephy-find-toolbar.h \
- src/ephy-link-action.h \
- src/ephy-link.h \
- src/ephy-location-action.h \
- src/ephy-notebook.h \
- src/ephy-session.h \
- src/ephy-shell.h \
- src/ephy-statusbar.h \
- src/ephy-toolbar.h \
- src/ephy-web-view.h \
- src/ephy-window.h
-
-BINDING_HEADERS_SRCDIR_IGNORE_IN = \
- embed/downloader-view.h \
- embed/ephy-embed-dialog.h \
- embed/ephy-embed-find.h \
- embed/ephy-embed-prefs.h \
- embed/ephy-encodings.h \
- embed/print-dialog.h \
- lib/eel-gconf-extensions.h \
- lib/ephy-debug.h \
- lib/ephy-dnd.h \
- lib/ephy-file-chooser.h \
- lib/ephy-file-helpers.h \
- lib/ephy-glade.h \
- lib/ephy-gui.h \
- lib/ephy-langs.h \
- lib/ephy-loader.h \
- lib/ephy-module.h \
- lib/ephy-node-common.h \
- lib/ephy-node-filter.h \
- lib/ephy-object-helpers.h \
- lib/ephy-prefs.h \
- lib/ephy-shlib-loader.h \
- lib/ephy-signal-accumulator.h \
- lib/ephy-stock-icons.h \
- lib/ephy-string.h \
- lib/ephy-zoom.h \
- lib/egg/eggintl.h \
- lib/egg/eggmarshalers.h \
- lib/egg/eggstatusicon.h \
- lib/egg/eggtrayicon.h \
- lib/egg/eggtraymanager.h \
- lib/egg/eggtreemultidnd.h \
- lib/egg/egg-toolbar-editor.h \
- lib/widgets/ephy-location-entry.h \
- lib/widgets/ephy-node-view.h \
- lib/widgets/ephy-tree-model-node.h \
- lib/widgets/ephy-tree-model-sort.h \
- lib/widgets/ephy-zoom-action.h \
- lib/widgets/ephy-zoom-control.h \
- src/bookmarks/ephy-bookmark-action.h \
- src/bookmarks/ephy-bookmark-properties.h \
- src/bookmarks/ephy-bookmarksbar-model.h \
- src/bookmarks/ephy-bookmarks-editor.h \
- src/bookmarks/ephy-bookmarks-export.h \
- src/bookmarks/ephy-bookmarks-import.h \
- src/bookmarks/ephy-bookmarks-menu.h \
- src/bookmarks/ephy-favorites-menu.h \
- src/bookmarks/ephy-topic-action.h \
- src/bookmarks/ephy-topics-palette.h \
- src/bookmarks/ephy-bookmark-action-group.h \
- src/bookmarks/ephy-bookmark-factory-action.h \
- src/bookmarks/ephy-bookmarks-ui.h \
- src/bookmarks/ephy-nodes-cover.h \
- src/bookmarks/ephy-open-tabs-action.h \
- src/bookmarks/ephy-related-action.h \
- src/bookmarks/ephy-topic-action-group.h \
- src/bookmarks/ephy-topic-factory-action.h \
- src/ephy-action-helper.h \
- src/ephy-activation.h \
- src/ephy-completion-model.h \
- src/ephy-dbus.h \
- src/ephy-encoding-dialog.h \
- src/ephy-encoding-menu.h \
- src/ephy-fullscreen-popup.h \
- src/ephy-go-action.h \
- src/ephy-history-window.h \
- src/ephy-home-action.h \
- src/ephy-lockdown.h \
- src/ephy-navigation-action.h \
- src/ephy-python-extension.h \
- src/ephy-python.h \
- src/ephy-python-loader.h \
- src/ephy-tabs-menu.h \
- src/ephy-toolbar-editor.h \
- src/ephy-toolbars-model.h \
- src/languages.h \
- src/pdm-dialog.h \
- src/popup-commands.h \
- src/ppview-toolbar.h \
- src/prefs-dialog.h \
- src/window-commands.h
-
-BINDING_HEADERS_BUILDDIR_IN = \
- embed/ephy-embed-type-builtins.h \
- lib/egg/eggtypebuiltins.h \
- lib/ephy-lib-type-builtins.h \
- src/bookmarks/ephy-bookmarks-type-builtins.h \
- src/ephy-type-builtins.h
-
-BINDING_HEADERS_BUILDDIR_IGNORE_IN = \
- config.h \
- embed/stamp-ephy-embed-type-builtins.h \
- lib/ephy-marshal.h \
- lib/egg/eggmarshalers.h \
- lib/egg/eggtypebuiltins.h \
- lib/egg/stamp-eggmarshalers.h \
- lib/egg/stamp-eggtypebuiltins.h \
- lib/ephy-marshal.h \
- lib/stamp-ephy-lib-type-builtins.h \
- lib/stamp-ephy-marshal.h \
- src/EphyAutomation.h \
- src/stamp-ephy-type-builtins.h \
- src/bookmarks/stamp-ephy-bookmarks-type-builtins.h
-
-BINDING_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_HEADERS_SRCDIR_IN))
-BINDING_HEADERS_SRCDIR_IGNORE := $(addprefix $(top_srcdir)/,$(BINDING_HEADERS_SRCDIR_IGNORE_IN))
-BINDING_HEADERS_BUILDDIR := $(addprefix $(top_builddir)/,$(BINDING_HEADERS_BUILDDIR_IN))
-BINDING_HEADERS_BUILDDIR_IGNORE := $(addprefix $(top_builddir)/,$(BINDING_HEADERS_BUILDDIR_IGNORE_IN))
-
-BINDING_HEADERS_ALL = $(shell find $(top_srcdir) $(top_builddir) -type f -name "*.h" \
- -a ! -wholename "*/mozilla/*" -print| sort | uniq)
-
-BINDING_HEADERS_ALL_KNOWN = \
- $(BINDING_HEADERS_SRCDIR) \
- $(BINDING_HEADERS_SRCDIR_IGNORE) \
- $(BINDING_HEADERS_BUILDDIR) \
- $(BINDING_HEADERS_BUILDDIR_IGNORE)
-
-BINDING_HEADERS_ALL_UNKNOWN = $(filter-out $(BINDING_HEADERS_ALL_KNOWN),$(BINDING_HEADERS_ALL))
-
-regenerate-python-binding:
- $(PYGTK_H2DEF) $(sort $(BINDING_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > epiphany.defs.new
-
-check-python-binding:
- @echo "$(BINDING_HEADERS_ALL_UNKNOWN)"
- @test -z "$(BINDING_HEADERS_ALL_UNKNOWN)"
-
-#check-local: check-python-binding
-
-endif # ENABLE_PYTHON
-
if ENABLE_INTROSPECTION
EPHY_GIR_H_FILES = \
$(top_srcdir)/embed/ephy-command-manager.h \