alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 1 | # Top-level Makefile rule for automake |
| 2 | # |
| 3 | # Variable conventions: |
| 4 | # |
| 5 | # _h_api = API headers that will be installed and included in the distribution |
| 6 | # _cppflags = flags that will be passed to the C/CXX Preprocessor |
| 7 | # _sources = sources that will be compiled and included in the distribution |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 8 | # _built_sources = files that will be autogenerated by the build system and |
| 9 | # will be part of the _SOURCES primary |
| 10 | # _built_nosources = files that are autogenerated but are not part of the |
| 11 | # _SOURCES primary |
| 12 | # _cleanfiles = files that will be removed by the clean target |
| 13 | # |
| 14 | # Sources, headers, flags, etc... should be added to the respective variables |
| 15 | # with the above suffix, e.g, webcore-specific sources should go to |
alp@webkit.org | f1dbca6 | 2008-06-02 16:36:32 +0000 | [diff] [blame] | 16 | # webcore_sources, gtk port API and WebCoreSupport parts to webkitgtk_sources, |
| 17 | # etc... The only exceptions are the global variables. See Global Variables |
| 18 | # below. |
mrobinson@webkit.org | 27bbef3 | 2010-08-26 16:16:10 +0000 | [diff] [blame] | 19 | |
| 20 | # Global Variables Reference |
| 21 | # global_cppflags = CPPFLAGS that apply to all C/C++ files that are built for any project. |
| 22 | # global_cflags = CFLAGS that apply to all C files that are built for any project. |
| 23 | # global_cxxflags = CXXFLAGS that apply to all C++ files that are bult for any project. |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 24 | |
| 25 | srcdir = @srcdir@ |
| 26 | VPATH = @srcdir@ |
| 27 | |
eric@webkit.org | b6dcd3f | 2009-11-10 01:12:00 +0000 | [diff] [blame] | 28 | DISTCHECK_CONFIGURE_FLAGS = \ |
| 29 | --enable-introspection \ |
alex@webkit.org | e313728 | 2011-10-26 17:45:31 +0000 | [diff] [blame] | 30 | --enable-gtk-doc \ |
| 31 | --enable-webkit2 |
eric@webkit.org | b6dcd3f | 2009-11-10 01:12:00 +0000 | [diff] [blame] | 32 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 33 | # Directory for autogenerated sources |
| 34 | GENSOURCES := $(top_builddir)/DerivedSources |
mrobinson@webkit.org | e53c0fb | 2010-07-02 16:53:06 +0000 | [diff] [blame] | 35 | GENSOURCES_JAVASCRIPTCORE := $(top_builddir)/DerivedSources/JavaScriptCore |
| 36 | GENSOURCES_WEBCORE := $(top_builddir)/DerivedSources/WebCore |
| 37 | GENSOURCES_WEBKIT := $(top_builddir)/DerivedSources/webkit |
mrobinson@webkit.org | 59b9ac1 | 2010-12-29 23:46:42 +0000 | [diff] [blame] | 38 | GENSOURCES_WEBKIT2 := $(top_builddir)/DerivedSources/WebKit2 |
alp@webkit.org | c04fee2 | 2008-04-19 05:16:00 +0000 | [diff] [blame] | 39 | GENPROGRAMS := $(top_builddir)/Programs |
loislo@chromium.org | a47f672 | 2010-08-18 14:36:58 +0000 | [diff] [blame] | 40 | GENSOURCES_INSPECTOR := $(GENPROGRAMS)/resources/inspector |
abarth@webkit.org | 8ac7e15 | 2011-01-08 09:35:14 +0000 | [diff] [blame] | 41 | WebCore := $(srcdir)/Source/WebCore |
abarth@webkit.org | a5db575 | 2011-01-17 05:02:09 +0000 | [diff] [blame] | 42 | WebKit := $(srcdir)/Source/WebKit/gtk |
abarth@webkit.org | be159d9 | 2011-01-15 20:02:03 +0000 | [diff] [blame] | 43 | WebKit2 := $(srcdir)/Source/WebKit2 |
carlosgc@webkit.org | eedf25e | 2011-08-03 07:43:44 +0000 | [diff] [blame] | 44 | pkgconfigdir := $(libdir)/pkgconfig |
carlosgc@webkit.org | 28f2983 | 2011-09-27 09:35:55 +0000 | [diff] [blame] | 45 | libwebkitgtkincludedir := $(prefix)/include/webkitgtk-@WEBKITGTK_API_VERSION@ |
jmalonzo@webkit.org | c9b4de4 | 2009-05-18 11:30:53 +0000 | [diff] [blame] | 46 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 47 | # Libraries and support components |
alp@webkit.org | 643f3ef | 2008-06-15 11:46:18 +0000 | [diff] [blame] | 48 | bin_PROGRAMS := |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 49 | noinst_PROGRAMS := |
carlosgc@webkit.org | 4e17b16 | 2011-08-03 12:20:12 +0000 | [diff] [blame] | 50 | libexec_PROGRAMS := |
alp@webkit.org | 9388fc8 | 2008-08-10 18:21:21 +0000 | [diff] [blame] | 51 | noinst_HEADERS := |
kov@webkit.org | 478f595 | 2010-01-05 19:08:10 +0000 | [diff] [blame] | 52 | noinst_LTLIBRARIES := |
xan@webkit.org | ceeb849 | 2010-06-28 13:58:42 +0000 | [diff] [blame] | 53 | lib_LTLIBRARIES := |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 54 | IDL_BINDINGS := |
jmalonzo@webkit.org | 27bbbab | 2009-03-20 19:45:05 +0000 | [diff] [blame] | 55 | TEST_PROGS := |
kov@webkit.org | 774c23b | 2009-04-06 19:39:14 +0000 | [diff] [blame] | 56 | POFILES := |
commit-queue@webkit.org | a43130b | 2012-03-02 23:10:32 +0000 | [diff] [blame] | 57 | PO_LINGUAS := |
| 58 | USER_LINGUAS := |
| 59 | USE_LINGUAS := |
kov@webkit.org | 774c23b | 2009-04-06 19:39:14 +0000 | [diff] [blame] | 60 | MOFILES := |
haraken@chromium.org | 5f99f4f | 2011-12-27 22:31:45 +0000 | [diff] [blame] | 61 | dom_binding_idls := |
kov@webkit.org | e6dee6c | 2012-01-06 14:25:39 +0000 | [diff] [blame] | 62 | wtf_sources := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 63 | javascriptcore_h_api := |
| 64 | javascriptcore_cppflags:= |
carlosgc@webkit.org | 2a59100 | 2011-06-06 07:57:26 +0000 | [diff] [blame] | 65 | javascriptcore_cflags := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 66 | javascriptcore_sources := |
| 67 | javascriptcore_built_sources := |
| 68 | javascriptcore_built_nosources := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 69 | webcore_cppflags := |
kov@webkit.org | c34e0ed | 2012-03-20 03:22:34 +0000 | [diff] [blame] | 70 | webcore_modules_sources := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 71 | webcore_sources := |
| 72 | webcore_libadd := |
| 73 | webcore_built_sources := |
| 74 | webcore_built_nosources := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 75 | webcoregtk_sources := |
mrobinson@webkit.org | 27bbef3 | 2010-08-26 16:16:10 +0000 | [diff] [blame] | 76 | webcoregtk_cppflags := |
mrobinson@webkit.org | 65b6245 | 2010-07-26 21:32:18 +0000 | [diff] [blame] | 77 | webkitgtk_built_h_api := |
| 78 | webkitgtk_static_h_api := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 79 | webkitgtk_h_api := |
| 80 | webkitgtk_sources := |
| 81 | webkitgtk_cppflags := |
mrobinson@webkit.org | 65b6245 | 2010-07-26 21:32:18 +0000 | [diff] [blame] | 82 | webkitgtk_gdom_built_sources := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 83 | webkitgtk_built_sources := |
| 84 | webkitgtk_built_nosources := |
mrobinson@webkit.org | 20bd7d4 | 2012-02-22 18:56:40 +0000 | [diff] [blame] | 85 | webkit2_sources := |
mrobinson@webkit.org | 59b9ac1 | 2010-12-29 23:46:42 +0000 | [diff] [blame] | 86 | webkit2_built_sources := |
mrobinson@webkit.org | 20bd7d4 | 2012-02-22 18:56:40 +0000 | [diff] [blame] | 87 | webkit2_plugin_process_sources := |
mrobinson@webkit.org | 26c1c9a | 2011-07-15 18:11:24 +0000 | [diff] [blame] | 88 | webkit2_plugin_process_built_sources := |
| 89 | webkittestrunner_built_sources := |
mrobinson@webkit.org | ae9b2b8 | 2011-06-06 20:18:58 +0000 | [diff] [blame] | 90 | libwebcoreinternals_built_sources := |
carlosgc@webkit.org | cccb615e | 2012-01-02 14:56:35 +0000 | [diff] [blame] | 91 | minibrowser_built_sources := |
alp@webkit.org | 040ad8b | 2008-02-04 11:00:43 +0000 | [diff] [blame] | 92 | global_cppflags := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 93 | global_cflags := |
| 94 | global_cxxflags := |
kov@webkit.org | 60affd1 | 2009-11-30 15:13:44 +0000 | [diff] [blame] | 95 | JSCORE_GIRSOURCES := |
kov@webkit.org | 2a1f73c | 2009-11-30 19:27:53 +0000 | [diff] [blame] | 96 | WEBKIT_GIRSOURCES := |
mrobinson@webkit.org | f40bc4d | 2010-08-30 15:16:09 +0000 | [diff] [blame] | 97 | FEATURE_DEFINES := |
kov@webkit.org | 2a1f73c | 2009-11-30 19:27:53 +0000 | [diff] [blame] | 98 | typelibsdir := |
| 99 | typelibs_DATA := |
kov@webkit.org | 30bb918 | 2009-10-26 20:16:59 +0000 | [diff] [blame] | 100 | EXTRA_DIST := |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 101 | BUILT_SOURCES := |
| 102 | CLEANFILES := |
alex@webkit.org | a361543 | 2011-09-26 21:44:11 +0000 | [diff] [blame] | 103 | DOMAIN := |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 104 | DISTCLEANFILES := |
| 105 | MAINTAINERCLEANFILES := |
carlosgc@webkit.org | eedf25e | 2011-08-03 07:43:44 +0000 | [diff] [blame] | 106 | pkgconfig_DATA := |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 107 | |
xan@webkit.org | a0e3f5f | 2011-01-03 18:26:12 +0000 | [diff] [blame] | 108 | # We do not care at all about this implicit built-in make rules, |
| 109 | # disable them to save some build time |
| 110 | %: %.c |
| 111 | %: %.cpp |
| 112 | %: %.o |
| 113 | (%): % |
| 114 | %.out: % |
| 115 | %.c: %.w %.ch |
| 116 | %.tex: %.w %.ch |
| 117 | %:: %,v |
| 118 | %:: RCS/%,v |
| 119 | %:: RCS/% |
| 120 | %:: s.% |
| 121 | %:: SCCS/s.% |
| 122 | |
mrobinson@webkit.org | 27bbef3 | 2010-08-26 16:16:10 +0000 | [diff] [blame] | 123 | global_cppflags += \ |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 124 | -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \ |
| 125 | -Wformat -Wformat-security -Wno-format-y2k -Wundef \ |
| 126 | -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \ |
alp@webkit.org | 491d909 | 2008-11-03 17:27:55 +0000 | [diff] [blame] | 127 | -Wno-unused-parameter -Wno-parentheses \ |
philn@webkit.org | 0fe8403 | 2010-09-27 17:53:51 +0000 | [diff] [blame] | 128 | -fno-exceptions -DENABLE_GLIB_SUPPORT=1 |
| 129 | |
mrowe@apple.com | 84cdb08 | 2008-02-05 03:25:59 +0000 | [diff] [blame] | 130 | |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 131 | global_cxxflags += \ |
alp@webkit.org | 491d909 | 2008-11-03 17:27:55 +0000 | [diff] [blame] | 132 | -fno-rtti |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 133 | |
alp@webkit.org | 15ef3c4 | 2008-06-03 00:30:19 +0000 | [diff] [blame] | 134 | # -no-undefined required for building DLLs on Windows |
| 135 | # It breaks the build on other platforms, so we use it conditionally |
| 136 | if OS_WIN32 |
xan@webkit.org | 0a81801 | 2009-05-13 13:49:06 +0000 | [diff] [blame] | 137 | no_undefined = -no-undefined |
commit-queue@webkit.org | 395e6c6 | 2010-09-21 17:44:31 +0000 | [diff] [blame] | 138 | version_script = -export-symbols-regex "^(webkit_|k?JS).*" |
alp@webkit.org | 15ef3c4 | 2008-06-03 00:30:19 +0000 | [diff] [blame] | 139 | endif |
| 140 | |
jmalonzo@webkit.org | a897fea | 2008-09-24 07:42:51 +0000 | [diff] [blame] | 141 | if OS_GNU |
abarth@webkit.org | c2a176a | 2011-01-02 02:04:41 +0000 | [diff] [blame] | 142 | version_script = -Wl,--version-script,$(srcdir)/Source/autotools/symbols.filter |
jmalonzo@webkit.org | a897fea | 2008-09-24 07:42:51 +0000 | [diff] [blame] | 143 | endif |
| 144 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 145 | # Extra checks and flags |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 146 | global_cppflags += \ |
alp@webkit.org | f1dbca6 | 2008-06-02 16:36:32 +0000 | [diff] [blame] | 147 | -DBUILDING_CAIRO__=1 \ |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 148 | -DBUILDING_GTK__=1 \ |
kov@webkit.org | eba9e74 | 2009-05-22 18:06:51 +0000 | [diff] [blame] | 149 | -DWTF_CHANGES |
| 150 | |
carlosgc@webkit.org | 2f2682a | 2012-04-24 16:48:18 +0000 | [diff] [blame^] | 151 | if ENABLE_WEBKIT2 |
| 152 | global_cppflags += \ |
| 153 | -DBUILDING_WEBKIT2__=1 |
| 154 | endif |
| 155 | |
mrobinson@webkit.org | aaa95e8 | 2011-01-10 08:27:55 +0000 | [diff] [blame] | 156 | # For the Gtk port we want to use XP_UNIX both in X11 and Mac |
| 157 | if !TARGET_WIN32 |
| 158 | global_cppflags += \ |
| 159 | -DXP_UNIX |
| 160 | endif |
| 161 | |
commit-queue@webkit.org | 581ea13 | 2012-04-23 05:30:39 +0000 | [diff] [blame] | 162 | # Add MOZ_X11 for X11 targets only |
| 163 | if TARGET_X11 |
| 164 | global_cppflags += \ |
| 165 | -DMOZ_X11 |
| 166 | endif |
| 167 | |
commit-queue@webkit.org | 868ef6b | 2012-02-04 22:24:01 +0000 | [diff] [blame] | 168 | # Use the wide character version of win32 API by default |
| 169 | if TARGET_WIN32 |
| 170 | global_cppflags += \ |
| 171 | -DUNICODE \ |
| 172 | -D_UNICODE |
| 173 | endif |
| 174 | |
kov@webkit.org | eba9e74 | 2009-05-22 18:06:51 +0000 | [diff] [blame] | 175 | if USE_ICU_UNICODE |
| 176 | global_cppflags += \ |
jmalonzo@webkit.org | 249f7ce | 2009-05-18 11:30:41 +0000 | [diff] [blame] | 177 | -DWTF_USE_ICU_UNICODE=1 |
kov@webkit.org | eba9e74 | 2009-05-22 18:06:51 +0000 | [diff] [blame] | 178 | endif |
| 179 | |
| 180 | if USE_GLIB_UNICODE |
kov@webkit.org | eba9e74 | 2009-05-22 18:06:51 +0000 | [diff] [blame] | 181 | global_cppflags += \ |
eric@webkit.org | 35236ae | 2010-03-04 15:03:16 +0000 | [diff] [blame] | 182 | -DWTF_USE_GLIB_UNICODE=1 |
kov@webkit.org | eba9e74 | 2009-05-22 18:06:51 +0000 | [diff] [blame] | 183 | endif |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 184 | |
alp@webkit.org | 27f95c4 | 2008-01-12 07:40:52 +0000 | [diff] [blame] | 185 | if !ENABLE_FAST_MALLOC |
| 186 | global_cppflags += \ |
| 187 | -DUSE_SYSTEM_MALLOC |
| 188 | endif |
| 189 | |
philn@webkit.org | f643ed6 | 2010-09-29 06:50:34 +0000 | [diff] [blame] | 190 | if USE_GSTREAMER |
| 191 | global_cppflags += \ |
| 192 | -DWTF_USE_GSTREAMER=1 |
| 193 | endif |
| 194 | |
alex@webkit.org | 4e2e188 | 2011-11-30 21:22:39 +0000 | [diff] [blame] | 195 | if USE_ACCELERATED_COMPOSITING |
| 196 | global_cppflags += \ |
commit-queue@webkit.org | eb9d99e | 2012-01-09 15:08:42 +0000 | [diff] [blame] | 197 | -DWTF_USE_ACCELERATED_COMPOSITING=1 \ |
| 198 | -DENABLE_3D_RENDERING=1 |
alex@webkit.org | 4e2e188 | 2011-11-30 21:22:39 +0000 | [diff] [blame] | 199 | endif |
| 200 | |
mrobinson@webkit.org | 870af86 | 2011-12-02 09:16:58 +0000 | [diff] [blame] | 201 | if USE_TEXTURE_MAPPER_CAIRO |
| 202 | global_cppflags += \ |
mrobinson@webkit.org | 235d7e1 | 2012-02-07 04:41:08 +0000 | [diff] [blame] | 203 | -DWTF_USE_TEXTURE_MAPPER=1 \ |
alex@webkit.org | a1ef6f4 | 2011-12-02 16:16:07 +0000 | [diff] [blame] | 204 | -DWTF_USE_TEXTURE_MAPPER_CAIRO=1 |
mrobinson@webkit.org | 870af86 | 2011-12-02 09:16:58 +0000 | [diff] [blame] | 205 | endif |
| 206 | |
| 207 | if USE_TEXTURE_MAPPER_GL |
| 208 | global_cppflags += \ |
mrobinson@webkit.org | 235d7e1 | 2012-02-07 04:41:08 +0000 | [diff] [blame] | 209 | -DWTF_USE_TEXTURE_MAPPER=1 \ |
commit-queue@webkit.org | 46b2a98 | 2011-12-29 01:25:47 +0000 | [diff] [blame] | 210 | -DWTF_USE_TEXTURE_MAPPER_GL=1 |
mrobinson@webkit.org | 870af86 | 2011-12-02 09:16:58 +0000 | [diff] [blame] | 211 | endif |
| 212 | |
joone.hur@collabora.co.uk | b412e93 | 2011-12-09 09:40:49 +0000 | [diff] [blame] | 213 | if USE_CLUTTER |
| 214 | global_cppflags += \ |
| 215 | -DWTF_USE_CLUTTER=1 |
| 216 | endif |
| 217 | |
mrobinson@webkit.org | 4d0a585 | 2012-04-11 21:07:47 +0000 | [diff] [blame] | 218 | if USE_GLX |
| 219 | global_cppflags += \ |
| 220 | -DWTF_USE_GLX=1 |
| 221 | endif |
| 222 | |
| 223 | if USE_OPENGL |
| 224 | global_cppflags += \ |
| 225 | -DWTF_USE_OPENGL=1 |
| 226 | endif |
| 227 | |
xan@webkit.org | ef9fcb9 | 2010-08-24 20:26:41 +0000 | [diff] [blame] | 228 | # ---- |
| 229 | # GTK+ 2.x/3.x support |
| 230 | # ---- |
| 231 | if GTK_API_VERSION_2 |
mrobinson@webkit.org | 27bbef3 | 2010-08-26 16:16:10 +0000 | [diff] [blame] | 232 | global_cppflags += \ |
xan@webkit.org | ef9fcb9 | 2010-08-24 20:26:41 +0000 | [diff] [blame] | 233 | -DGTK_API_VERSION_2=1 |
| 234 | endif |
| 235 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 236 | if !ENABLE_DEBUG |
| 237 | global_cppflags += -DNDEBUG |
alp@webkit.org | 040ad8b | 2008-02-04 11:00:43 +0000 | [diff] [blame] | 238 | else |
mrobinson@webkit.org | 27bbef3 | 2010-08-26 16:16:10 +0000 | [diff] [blame] | 239 | global_cppflags += \ |
alp@webkit.org | 11a31a7 | 2007-12-27 23:14:27 +0000 | [diff] [blame] | 240 | -DGDK_PIXBUF_DISABLE_DEPRECATED \ |
| 241 | -DGDK_DISABLE_DEPRECATED \ |
| 242 | -DGTK_DISABLE_DEPRECATED \ |
xan@webkit.org | 5336ff8 | 2010-06-15 19:49:50 +0000 | [diff] [blame] | 243 | -DPANGO_DISABLE_DEPRECATED |
zecke@webkit.org | 48bc6f4 | 2008-01-03 02:07:28 +0000 | [diff] [blame] | 244 | # Might be useful in the future |
| 245 | # -DGDK_MULTIHEAD_SAFE \ |
| 246 | # -DGTK_MULTIHEAD_SAFE |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 247 | endif |
| 248 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 249 | if ENABLE_COVERAGE |
| 250 | global_cppflags += \ |
| 251 | -DGCC_GENERATE_TEST_COVERAGE_FILES \ |
| 252 | -DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS |
| 253 | endif |
| 254 | |
kov@webkit.org | 30bb918 | 2009-10-26 20:16:59 +0000 | [diff] [blame] | 255 | EXTRA_DIST += \ |
abarth@webkit.org | c2a176a | 2011-01-02 02:04:41 +0000 | [diff] [blame] | 256 | $(srcdir)/Source/autotools/symbols.filter \ |
abarth@webkit.org | a5db575 | 2011-01-17 05:02:09 +0000 | [diff] [blame] | 257 | $(srcdir)/Source/WebKit/LICENSE |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 258 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 259 | # Include module makefiles |
kov@webkit.org | e6dee6c | 2012-01-06 14:25:39 +0000 | [diff] [blame] | 260 | include Source/WTF/GNUmakefile.am |
abarth@webkit.org | 76da8fc | 2011-01-02 06:22:31 +0000 | [diff] [blame] | 261 | include Source/JavaScriptCore/GNUmakefile.am |
abarth@webkit.org | 8ac7e15 | 2011-01-08 09:35:14 +0000 | [diff] [blame] | 262 | include Source/WebCore/GNUmakefile.am |
carlosgc@webkit.org | 4643e48 | 2011-05-03 09:53:26 +0000 | [diff] [blame] | 263 | include Source/WebKit/gtk/GNUmakefile.am |
| 264 | include Source/WebCore/bindings/gobject/GNUmakefile.am |
| 265 | include Tools/GNUmakefile.am |
| 266 | include Source/WebKit/gtk/po/GNUmakefile.am |
commit-queue@webkit.org | 9d027e4 | 2011-06-22 13:49:45 +0000 | [diff] [blame] | 267 | include Tools/DumpRenderTree/gtk/GNUmakefile.ImageDiff.am |
| 268 | |
abarth@webkit.org | be159d9 | 2011-01-15 20:02:03 +0000 | [diff] [blame] | 269 | include Source/WebKit2/GNUmakefile.am |
mrobinson@webkit.org | f9bfed4 | 2011-10-12 04:21:06 +0000 | [diff] [blame] | 270 | include Source/WebKit2/UIProcess/API/gtk/tests/GNUmakefile.am |
alex@webkit.org | 9ead80d | 2011-03-31 12:53:43 +0000 | [diff] [blame] | 271 | include Tools/MiniBrowser/gtk/GNUmakefile.am |
mrobinson@webkit.org | 094d66e | 2011-05-31 23:35:34 +0000 | [diff] [blame] | 272 | include Tools/WebKitTestRunner/GNUmakefile.am |
carlosgc@webkit.org | 2f2682a | 2012-04-24 16:48:18 +0000 | [diff] [blame^] | 273 | include Source/ThirdParty/gtest/GNUmakefile.am |
| 274 | include Tools/TestWebKitAPI/GNUmakefile.am |
alex@webkit.org | b20f298 | 2011-02-24 17:33:24 +0000 | [diff] [blame] | 275 | # [GTK] Refactor the translations now that we have webkit2 |
| 276 | # https://bugs.webkit.org/show_bug.cgi?id=55153 |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 277 | |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 278 | # Autogenerated sources |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 279 | BUILT_SOURCES += \ |
nayankk@motorola.com | 6c2a279 | 2012-01-31 10:01:23 +0000 | [diff] [blame] | 280 | $(javascriptcore_built_sources) \ |
| 281 | $(javascriptcore_built_nosources) \ |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 282 | $(webcore_built_sources) \ |
| 283 | $(webcore_built_nosources) \ |
| 284 | $(webkitgtk_built_sources) \ |
mrobinson@webkit.org | 65b6245 | 2010-07-26 21:32:18 +0000 | [diff] [blame] | 285 | $(webkitgtk_built_nosources) |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 286 | |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 287 | DISTCLEANFILES += \ |
| 288 | $(CLEANFILES) \ |
| 289 | $(builddir)/doltcompile \ |
mrobinson@webkit.org | b675622 | 2010-11-18 06:32:43 +0000 | [diff] [blame] | 290 | $(builddir)/doltlibtool |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 291 | |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 292 | MAINTAINERCLEANFILES += \ |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 293 | $(CLEANFILES) \ |
| 294 | $(builddir)/doltcompile \ |
| 295 | $(builddir)/doltlibtool \ |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 296 | $(srcdir)/aconfig.h.in \ |
abarth@webkit.org | c2a176a | 2011-01-02 02:04:41 +0000 | [diff] [blame] | 297 | $(srcdir)/Source/autotools/config.* \ |
| 298 | $(srcdir)/Source/autotools/compile \ |
| 299 | $(srcdir)/Source/autotools/depcomp \ |
| 300 | $(srcdir)/Source/autotools/install-sh \ |
| 301 | $(srcdir)/Source/autotools/missing \ |
jmalonzo@webkit.org | 15d8330 | 2009-03-11 11:57:43 +0000 | [diff] [blame] | 302 | $(srcdir)/configure \ |
| 303 | $(srcdir)/GNUmakefile.in \ |
| 304 | $(srcdir)/INSTALL \ |
| 305 | $(srcdir)/README \ |
| 306 | $(top_builddir)/config.* |
alp@webkit.org | c04fee2 | 2008-04-19 05:16:00 +0000 | [diff] [blame] | 307 | |
alp@webkit.org | 76e7f9a | 2008-10-08 00:42:37 +0000 | [diff] [blame] | 308 | # Older automake versions (1.7) place Plo files in a different place so we need |
| 309 | # to create the output directory manually. |
christian@webkit.org | 0125977 | 2011-02-24 11:22:00 +0000 | [diff] [blame] | 310 | all-local: stamp-po |
kov@webkit.org | 774c23b | 2009-04-06 19:39:14 +0000 | [diff] [blame] | 311 | $(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources |
alp@webkit.org | 76e7f9a | 2008-10-08 00:42:37 +0000 | [diff] [blame] | 312 | |
alp@webkit.org | c04fee2 | 2008-04-19 05:16:00 +0000 | [diff] [blame] | 313 | # remove built sources and program directories |
| 314 | clean-local: |
jmalonzo@webkit.org | 15d8330 | 2009-03-11 11:57:43 +0000 | [diff] [blame] | 315 | -rm -rf $(GENPROGRAMS) |
| 316 | |
xan@webkit.org | 233d51e | 2009-03-14 20:22:13 +0000 | [diff] [blame] | 317 | maintainer-clean-local: distclean-local |
xan@webkit.org | 233d51e | 2009-03-14 20:22:13 +0000 | [diff] [blame] | 318 | distclean-local: |
alp@webkit.org | c04fee2 | 2008-04-19 05:16:00 +0000 | [diff] [blame] | 319 | -rm -rf $(GENSOURCES) $(GENPROGRAMS) |
mrobinson@webkit.org | 150f9cf | 2011-11-25 16:19:44 +0000 | [diff] [blame] | 320 | |
| 321 | dist-hook: doc-dist-hook |
| 322 | doc-dist-hook: docs-build.stamp |
| 323 | cp $(WebKit)/NEWS $(distdir) |
| 324 | @mkdir -p $(distdir)/Documentation/webkitgtk/html |
| 325 | @mkdir -p $(distdir)/Documentation/webkitgtk/tmpl |
| 326 | @-cp ./Documentation/webkitgtk/tmpl/*.sgml $(distdir)/Documentation/webkitgtk/tmpl |
| 327 | @cp ./Documentation/webkitgtk/html/* $(distdir)/Documentation/webkitgtk/html |
| 328 | if ENABLE_WEBKIT2 |
| 329 | @mkdir -p $(distdir)/Documentation/webkit2gtk/html |
| 330 | @mkdir -p $(distdir)/Documentation/webkit2gtk/tmpl |
| 331 | @-cp ./Documentation/webkit2gtk/tmpl/*.sgml $(distdir)/Documentation/webkit2gtk/tmpl |
| 332 | @cp ./Documentation/webkit2gtk/html/* $(distdir)/Documentation/webkit2gtk/html |
| 333 | endif |