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 |
kov@webkit.org | 86b826a | 2013-09-13 19:06:11 +0000 | [diff] [blame] | 37 | GENSOURCES_WEBINSPECTOR_UI := $(top_builddir)/DerivedSources/WebInspectorUI |
mrobinson@webkit.org | e53c0fb | 2010-07-02 16:53:06 +0000 | [diff] [blame] | 38 | GENSOURCES_WEBKIT := $(top_builddir)/DerivedSources/webkit |
mrobinson@webkit.org | 59b9ac1 | 2010-12-29 23:46:42 +0000 | [diff] [blame] | 39 | GENSOURCES_WEBKIT2 := $(top_builddir)/DerivedSources/WebKit2 |
commit-queue@webkit.org | 029d84f | 2012-12-11 17:58:03 +0000 | [diff] [blame] | 40 | GENSOURCES_WEBKITDOM := $(top_builddir)/DerivedSources/webkitdom |
zandobersek@gmail.com | 6d888f8 | 2013-05-14 17:40:53 +0000 | [diff] [blame] | 41 | GENSOURCES_PLATFORM := $(top_builddir)/DerivedSources/Platform |
alp@webkit.org | c04fee2 | 2008-04-19 05:16:00 +0000 | [diff] [blame] | 42 | GENPROGRAMS := $(top_builddir)/Programs |
loislo@chromium.org | a47f672 | 2010-08-18 14:36:58 +0000 | [diff] [blame] | 43 | GENSOURCES_INSPECTOR := $(GENPROGRAMS)/resources/inspector |
abarth@webkit.org | 8ac7e15 | 2011-01-08 09:35:14 +0000 | [diff] [blame] | 44 | WebCore := $(srcdir)/Source/WebCore |
kov@webkit.org | 86b826a | 2013-09-13 19:06:11 +0000 | [diff] [blame] | 45 | WebInspectorUI := $(srcdir)/Source/WebInspectorUI |
abarth@webkit.org | a5db575 | 2011-01-17 05:02:09 +0000 | [diff] [blame] | 46 | WebKit := $(srcdir)/Source/WebKit/gtk |
abarth@webkit.org | be159d9 | 2011-01-15 20:02:03 +0000 | [diff] [blame] | 47 | WebKit2 := $(srcdir)/Source/WebKit2 |
carlosgc@webkit.org | eedf25e | 2011-08-03 07:43:44 +0000 | [diff] [blame] | 48 | pkgconfigdir := $(libdir)/pkgconfig |
carlosgc@webkit.org | 28f2983 | 2011-09-27 09:35:55 +0000 | [diff] [blame] | 49 | libwebkitgtkincludedir := $(prefix)/include/webkitgtk-@WEBKITGTK_API_VERSION@ |
jmalonzo@webkit.org | c9b4de4 | 2009-05-18 11:30:53 +0000 | [diff] [blame] | 50 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 51 | # Libraries and support components |
alp@webkit.org | 643f3ef | 2008-06-15 11:46:18 +0000 | [diff] [blame] | 52 | bin_PROGRAMS := |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 53 | noinst_PROGRAMS := |
carlosgc@webkit.org | 4e17b16 | 2011-08-03 12:20:12 +0000 | [diff] [blame] | 54 | libexec_PROGRAMS := |
commit-queue@webkit.org | 5a7d957 | 2013-05-18 07:19:37 +0000 | [diff] [blame] | 55 | noinst_DATA := |
alp@webkit.org | 9388fc8 | 2008-08-10 18:21:21 +0000 | [diff] [blame] | 56 | noinst_HEADERS := |
kov@webkit.org | 478f595 | 2010-01-05 19:08:10 +0000 | [diff] [blame] | 57 | noinst_LTLIBRARIES := |
xan@webkit.org | ceeb849 | 2010-06-28 13:58:42 +0000 | [diff] [blame] | 58 | lib_LTLIBRARIES := |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 59 | IDL_BINDINGS := |
jmalonzo@webkit.org | 27bbbab | 2009-03-20 19:45:05 +0000 | [diff] [blame] | 60 | TEST_PROGS := |
kov@webkit.org | 774c23b | 2009-04-06 19:39:14 +0000 | [diff] [blame] | 61 | POFILES := |
commit-queue@webkit.org | a43130b | 2012-03-02 23:10:32 +0000 | [diff] [blame] | 62 | PO_LINGUAS := |
| 63 | USER_LINGUAS := |
| 64 | USE_LINGUAS := |
kov@webkit.org | 774c23b | 2009-04-06 19:39:14 +0000 | [diff] [blame] | 65 | MOFILES := |
carlosgc@webkit.org | 7ecc61f | 2012-04-30 11:18:14 +0000 | [diff] [blame] | 66 | ALL_MOFILES := |
haraken@chromium.org | 5f99f4f | 2011-12-27 22:31:45 +0000 | [diff] [blame] | 67 | dom_binding_idls := |
kov@webkit.org | e6dee6c | 2012-01-06 14:25:39 +0000 | [diff] [blame] | 68 | wtf_sources := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 69 | javascriptcore_h_api := |
| 70 | javascriptcore_cppflags:= |
carlosgc@webkit.org | 2a59100 | 2011-06-06 07:57:26 +0000 | [diff] [blame] | 71 | javascriptcore_cflags := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 72 | javascriptcore_sources := |
| 73 | javascriptcore_built_sources := |
| 74 | javascriptcore_built_nosources := |
carlosgc@webkit.org | f4fbe00 | 2012-06-11 15:31:19 +0000 | [diff] [blame] | 75 | llint_nosources := |
| 76 | offlineasm_nosources := |
zandobersek@gmail.com | f12ef74 | 2013-03-28 18:58:02 +0000 | [diff] [blame] | 77 | platform_webcore_cppflags := |
zandobersek@gmail.com | 25d930a | 2013-04-22 19:52:09 +0000 | [diff] [blame] | 78 | platform_cppflags := |
zandobersek@gmail.com | 6d888f8 | 2013-05-14 17:40:53 +0000 | [diff] [blame] | 79 | platform_built_sources := |
zandobersek@gmail.com | 25d930a | 2013-04-22 19:52:09 +0000 | [diff] [blame] | 80 | platform_sources := |
zandobersek@gmail.com | 6e0b807 | 2013-03-12 15:54:34 +0000 | [diff] [blame] | 81 | platformgtk_cppflags := |
| 82 | platformgtk_sources := |
kov@webkit.org | 64545a3 | 2012-11-16 01:05:18 +0000 | [diff] [blame] | 83 | webcore_platform_sources := |
kov@webkit.org | c34e0ed | 2012-03-20 03:22:34 +0000 | [diff] [blame] | 84 | webcore_modules_sources := |
kov@webkit.org | e0b9407 | 2012-11-22 21:07:03 +0000 | [diff] [blame] | 85 | webcore_svg_built_sources := |
| 86 | webcore_svg_sources := |
| 87 | webcore_cppflags := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 88 | webcore_sources := |
| 89 | webcore_libadd := |
| 90 | webcore_built_sources := |
| 91 | webcore_built_nosources := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 92 | webcoregtk_sources := |
mrobinson@webkit.org | 27bbef3 | 2010-08-26 16:16:10 +0000 | [diff] [blame] | 93 | webcoregtk_cppflags := |
mrobinson@webkit.org | 65b6245 | 2010-07-26 21:32:18 +0000 | [diff] [blame] | 94 | webkitgtk_built_h_api := |
| 95 | webkitgtk_static_h_api := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 96 | webkitgtk_h_api := |
| 97 | webkitgtk_sources := |
| 98 | webkitgtk_cppflags := |
commit-queue@webkit.org | 029d84f | 2012-12-11 17:58:03 +0000 | [diff] [blame] | 99 | webkitgtk_gdom_built_h_api := |
mrobinson@webkit.org | 65b6245 | 2010-07-26 21:32:18 +0000 | [diff] [blame] | 100 | webkitgtk_gdom_built_sources := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 101 | webkitgtk_built_sources := |
| 102 | webkitgtk_built_nosources := |
carlosgc@webkit.org | 8ac1022 | 2012-05-09 16:08:56 +0000 | [diff] [blame] | 103 | webkit2_h_api := |
mrobinson@webkit.org | 20bd7d4 | 2012-02-22 18:56:40 +0000 | [diff] [blame] | 104 | webkit2_sources := |
mrobinson@webkit.org | 59b9ac1 | 2010-12-29 23:46:42 +0000 | [diff] [blame] | 105 | webkit2_built_sources := |
carlosgc@webkit.org | e5e3755 | 2013-04-08 17:24:50 +0000 | [diff] [blame] | 106 | webkit2platform_sources := |
carlosgc@webkit.org | 8ac1022 | 2012-05-09 16:08:56 +0000 | [diff] [blame] | 107 | webkit2gtk_h_api := |
| 108 | webkit2gtk_built_sources := |
commit-queue@webkit.org | d127870 | 2013-01-10 11:27:49 +0000 | [diff] [blame] | 109 | webkit2_web_extension_h_api := |
mrobinson@webkit.org | 20bd7d4 | 2012-02-22 18:56:40 +0000 | [diff] [blame] | 110 | webkit2_plugin_process_sources := |
mrobinson@webkit.org | 26c1c9a | 2011-07-15 18:11:24 +0000 | [diff] [blame] | 111 | webkit2_plugin_process_built_sources := |
| 112 | webkittestrunner_built_sources := |
mrobinson@webkit.org | ae9b2b8 | 2011-06-06 20:18:58 +0000 | [diff] [blame] | 113 | libwebcoreinternals_built_sources := |
carlosgc@webkit.org | cccb615e | 2012-01-02 14:56:35 +0000 | [diff] [blame] | 114 | minibrowser_built_sources := |
alp@webkit.org | 040ad8b | 2008-02-04 11:00:43 +0000 | [diff] [blame] | 115 | global_cppflags := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 116 | global_cflags := |
| 117 | global_cxxflags := |
kov@webkit.org | 30bb918 | 2009-10-26 20:16:59 +0000 | [diff] [blame] | 118 | EXTRA_DIST := |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 119 | BUILT_SOURCES := |
| 120 | CLEANFILES := |
alex@webkit.org | a361543 | 2011-09-26 21:44:11 +0000 | [diff] [blame] | 121 | DOMAIN := |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 122 | DISTCLEANFILES := |
| 123 | MAINTAINERCLEANFILES := |
carlosgc@webkit.org | eedf25e | 2011-08-03 07:43:44 +0000 | [diff] [blame] | 124 | pkgconfig_DATA := |
carlosgc@webkit.org | e5132af | 2013-10-18 10:33:26 +0000 | [diff] [blame] | 125 | gdom_symbol_files := |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 126 | |
mrobinson@webkit.org | 374ddf7 | 2013-04-19 17:55:57 +0000 | [diff] [blame] | 127 | if ENABLE_INTROSPECTION |
| 128 | gir_DATA := |
| 129 | typelibs_DATA := |
| 130 | girdir := $(datadir)/gir-1.0 |
| 131 | typelibsdir := $(libdir)/girepository-1.0 |
| 132 | endif |
| 133 | |
xan@webkit.org | a0e3f5f | 2011-01-03 18:26:12 +0000 | [diff] [blame] | 134 | # We do not care at all about this implicit built-in make rules, |
| 135 | # disable them to save some build time |
| 136 | %: %.c |
| 137 | %: %.cpp |
| 138 | %: %.o |
| 139 | (%): % |
| 140 | %.out: % |
| 141 | %.c: %.w %.ch |
| 142 | %.tex: %.w %.ch |
| 143 | %:: %,v |
| 144 | %:: RCS/%,v |
| 145 | %:: RCS/% |
| 146 | %:: s.% |
| 147 | %:: SCCS/s.% |
| 148 | |
mrobinson@webkit.org | 27bbef3 | 2010-08-26 16:16:10 +0000 | [diff] [blame] | 149 | global_cppflags += \ |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 150 | -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \ |
| 151 | -Wformat -Wformat-security -Wno-format-y2k -Wundef \ |
| 152 | -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \ |
mrobinson@webkit.org | 9bc326f | 2013-02-07 22:08:08 +0000 | [diff] [blame] | 153 | -Wno-unused-parameter -Wno-parentheses -fno-exceptions \ |
| 154 | -DBUILDING_CAIRO__ \ |
| 155 | -DBUILDING_GTK__ |
philn@webkit.org | 0fe8403 | 2010-09-27 17:53:51 +0000 | [diff] [blame] | 156 | |
mrobinson@webkit.org | 9bc326f | 2013-02-07 22:08:08 +0000 | [diff] [blame] | 157 | if ENABLE_WEBKIT2 |
| 158 | global_cppflags += \ |
| 159 | -DBUILDING_WEBKIT2__ |
| 160 | |
| 161 | endif |
mrowe@apple.com | 84cdb08 | 2008-02-05 03:25:59 +0000 | [diff] [blame] | 162 | |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 163 | global_cxxflags += \ |
alp@webkit.org | 491d909 | 2008-11-03 17:27:55 +0000 | [diff] [blame] | 164 | -fno-rtti |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 165 | |
mrobinson@webkit.org | 3e4076e | 2013-02-21 16:19:47 +0000 | [diff] [blame] | 166 | # Read the feature defines file, that's created by generate-feature-defines-files |
| 167 | # during configuration (SetupWebKitFeatures.m4). |
| 168 | feature_defines := $(shell cat WebKitFeatures.txt) |
| 169 | |
alp@webkit.org | 15ef3c4 | 2008-06-03 00:30:19 +0000 | [diff] [blame] | 170 | # -no-undefined required for building DLLs on Windows |
| 171 | # It breaks the build on other platforms, so we use it conditionally |
| 172 | if OS_WIN32 |
xan@webkit.org | 0a81801 | 2009-05-13 13:49:06 +0000 | [diff] [blame] | 173 | no_undefined = -no-undefined |
commit-queue@webkit.org | 395e6c6 | 2010-09-21 17:44:31 +0000 | [diff] [blame] | 174 | version_script = -export-symbols-regex "^(webkit_|k?JS).*" |
alp@webkit.org | 15ef3c4 | 2008-06-03 00:30:19 +0000 | [diff] [blame] | 175 | endif |
| 176 | |
jmalonzo@webkit.org | a897fea | 2008-09-24 07:42:51 +0000 | [diff] [blame] | 177 | if OS_GNU |
abarth@webkit.org | c2a176a | 2011-01-02 02:04:41 +0000 | [diff] [blame] | 178 | version_script = -Wl,--version-script,$(srcdir)/Source/autotools/symbols.filter |
jmalonzo@webkit.org | a897fea | 2008-09-24 07:42:51 +0000 | [diff] [blame] | 179 | endif |
| 180 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 181 | if ENABLE_COVERAGE |
| 182 | global_cppflags += \ |
| 183 | -DGCC_GENERATE_TEST_COVERAGE_FILES \ |
| 184 | -DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS |
| 185 | endif |
| 186 | |
zandobersek@gmail.com | e06fe85 | 2013-05-08 07:03:55 +0000 | [diff] [blame] | 187 | # Default to outputting demangled symbols in case of reporting unresolved references or similar. |
| 188 | # Using AM_LDFLAGS would be more appropriate here, but these are not used at all when linking installable libraries |
| 189 | # like libwebkitgtk and libwebkit2gtk, so appending the linker flag to the LDFLAGS variable is done instead. |
| 190 | LDFLAGS += -Wl,--no-demangle |
| 191 | |
kov@webkit.org | 30bb918 | 2009-10-26 20:16:59 +0000 | [diff] [blame] | 192 | EXTRA_DIST += \ |
abarth@webkit.org | c2a176a | 2011-01-02 02:04:41 +0000 | [diff] [blame] | 193 | $(srcdir)/Source/autotools/symbols.filter \ |
abarth@webkit.org | a5db575 | 2011-01-17 05:02:09 +0000 | [diff] [blame] | 194 | $(srcdir)/Source/WebKit/LICENSE |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 195 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 196 | # Include module makefiles |
kov@webkit.org | e6dee6c | 2012-01-06 14:25:39 +0000 | [diff] [blame] | 197 | include Source/WTF/GNUmakefile.am |
abarth@webkit.org | 76da8fc | 2011-01-02 06:22:31 +0000 | [diff] [blame] | 198 | include Source/JavaScriptCore/GNUmakefile.am |
benjamin@webkit.org | dface95 | 2013-04-05 08:20:29 +0000 | [diff] [blame] | 199 | include Source/Platform/GNUmakefile.am |
abarth@webkit.org | 8ac7e15 | 2011-01-08 09:35:14 +0000 | [diff] [blame] | 200 | include Source/WebCore/GNUmakefile.am |
carlosgc@webkit.org | 4643e48 | 2011-05-03 09:53:26 +0000 | [diff] [blame] | 201 | include Source/WebCore/bindings/gobject/GNUmakefile.am |
kov@webkit.org | 08382c1 | 2013-03-07 16:25:25 +0000 | [diff] [blame] | 202 | include Source/WebCore/platform/gtk/po/GNUmakefile.am |
kov@webkit.org | 86b826a | 2013-09-13 19:06:11 +0000 | [diff] [blame] | 203 | include Source/WebInspectorUI/GNUmakefile.am |
kov@webkit.org | b9513f7 | 2013-09-17 01:08:46 +0000 | [diff] [blame] | 204 | include Tools/gtk/GNUmakefile.am |
| 205 | |
kov@webkit.org | 08382c1 | 2013-03-07 16:25:25 +0000 | [diff] [blame] | 206 | include Source/WebKit/gtk/GNUmakefile.am |
kov@webkit.org | b9513f7 | 2013-09-17 01:08:46 +0000 | [diff] [blame] | 207 | include Tools/GtkLauncher/GNUmakefile.am |
commit-queue@webkit.org | 9d027e4 | 2011-06-22 13:49:45 +0000 | [diff] [blame] | 208 | |
abarth@webkit.org | be159d9 | 2011-01-15 20:02:03 +0000 | [diff] [blame] | 209 | include Source/WebKit2/GNUmakefile.am |
alex@webkit.org | 9ead80d | 2011-03-31 12:53:43 +0000 | [diff] [blame] | 210 | include Tools/MiniBrowser/gtk/GNUmakefile.am |
zandobersek@gmail.com | 9c5324a | 2013-03-20 21:26:07 +0000 | [diff] [blame] | 211 | include Source/ThirdParty/ANGLE/GNUmakefile.am |
zandobersek@gmail.com | 24838de | 2013-03-21 19:25:41 +0000 | [diff] [blame] | 212 | include Source/ThirdParty/leveldb/GNUmakefile.am |
kov@webkit.org | b9513f7 | 2013-09-17 01:08:46 +0000 | [diff] [blame] | 213 | |
| 214 | if ENABLE_DEVELOPER_MODE |
| 215 | include Source/WebKit2/UIProcess/API/gtk/tests/GNUmakefile.am |
| 216 | include Source/WebKit/gtk/tests/GNUmakefile.am |
| 217 | include Source/ThirdParty/gtest/GNUmakefile.am |
| 218 | include Tools/GNUmakefile.am |
carlosgc@webkit.org | 2f2682a | 2012-04-24 16:48:18 +0000 | [diff] [blame] | 219 | include Tools/TestWebKitAPI/GNUmakefile.am |
kov@webkit.org | b9513f7 | 2013-09-17 01:08:46 +0000 | [diff] [blame] | 220 | include Tools/WebKitTestRunner/GNUmakefile.am |
| 221 | endif |
| 222 | |
alex@webkit.org | b20f298 | 2011-02-24 17:33:24 +0000 | [diff] [blame] | 223 | # [GTK] Refactor the translations now that we have webkit2 |
| 224 | # https://bugs.webkit.org/show_bug.cgi?id=55153 |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 225 | |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 226 | # Autogenerated sources |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 227 | BUILT_SOURCES += \ |
nayankk@motorola.com | 6c2a279 | 2012-01-31 10:01:23 +0000 | [diff] [blame] | 228 | $(javascriptcore_built_sources) \ |
| 229 | $(javascriptcore_built_nosources) \ |
zandobersek@gmail.com | 3988251 | 2013-06-07 17:15:29 +0000 | [diff] [blame] | 230 | $(platform_built_sources) \ |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 231 | $(webcore_built_sources) \ |
| 232 | $(webcore_built_nosources) \ |
kov@webkit.org | e0b9407 | 2012-11-22 21:07:03 +0000 | [diff] [blame] | 233 | $(webcore_svg_built_sources) \ |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 234 | $(webkitgtk_built_sources) \ |
carlosgc@webkit.org | 8ac1022 | 2012-05-09 16:08:56 +0000 | [diff] [blame] | 235 | $(webkitgtk_built_nosources) \ |
| 236 | $(webkit2_built_sources) \ |
| 237 | $(webkit2gtk_built_sources) \ |
| 238 | $(webkit2_plugin_process_built_sources) |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 239 | |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 240 | DISTCLEANFILES += \ |
| 241 | $(CLEANFILES) \ |
| 242 | $(builddir)/doltcompile \ |
carlosgc@webkit.org | 6e607b3 | 2013-05-29 12:15:53 +0000 | [diff] [blame] | 243 | $(builddir)/doltlibtool \ |
| 244 | $(builddir)/WebKitFeatures.h \ |
| 245 | $(builddir)/WebKitFeatures.txt |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 246 | |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 247 | MAINTAINERCLEANFILES += \ |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 248 | $(CLEANFILES) \ |
| 249 | $(builddir)/doltcompile \ |
| 250 | $(builddir)/doltlibtool \ |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 251 | $(srcdir)/aconfig.h.in \ |
abarth@webkit.org | c2a176a | 2011-01-02 02:04:41 +0000 | [diff] [blame] | 252 | $(srcdir)/Source/autotools/config.* \ |
| 253 | $(srcdir)/Source/autotools/compile \ |
| 254 | $(srcdir)/Source/autotools/depcomp \ |
| 255 | $(srcdir)/Source/autotools/install-sh \ |
| 256 | $(srcdir)/Source/autotools/missing \ |
jmalonzo@webkit.org | 15d8330 | 2009-03-11 11:57:43 +0000 | [diff] [blame] | 257 | $(srcdir)/configure \ |
| 258 | $(srcdir)/GNUmakefile.in \ |
| 259 | $(srcdir)/INSTALL \ |
| 260 | $(srcdir)/README \ |
| 261 | $(top_builddir)/config.* |
alp@webkit.org | c04fee2 | 2008-04-19 05:16:00 +0000 | [diff] [blame] | 262 | |
alp@webkit.org | 76e7f9a | 2008-10-08 00:42:37 +0000 | [diff] [blame] | 263 | # Older automake versions (1.7) place Plo files in a different place so we need |
| 264 | # to create the output directory manually. |
christian@webkit.org | 0125977 | 2011-02-24 11:22:00 +0000 | [diff] [blame] | 265 | all-local: stamp-po |
commit-queue@webkit.org | b12c4b9 | 2012-06-11 22:16:11 +0000 | [diff] [blame] | 266 | $(MKDIR_P) $(top_builddir)/$(DEPDIR)/DerivedSources |
alp@webkit.org | 76e7f9a | 2008-10-08 00:42:37 +0000 | [diff] [blame] | 267 | |
alp@webkit.org | c04fee2 | 2008-04-19 05:16:00 +0000 | [diff] [blame] | 268 | # remove built sources and program directories |
| 269 | clean-local: |
jmalonzo@webkit.org | 15d8330 | 2009-03-11 11:57:43 +0000 | [diff] [blame] | 270 | -rm -rf $(GENPROGRAMS) |
| 271 | |
xan@webkit.org | 233d51e | 2009-03-14 20:22:13 +0000 | [diff] [blame] | 272 | maintainer-clean-local: distclean-local |
xan@webkit.org | 233d51e | 2009-03-14 20:22:13 +0000 | [diff] [blame] | 273 | distclean-local: |
alp@webkit.org | c04fee2 | 2008-04-19 05:16:00 +0000 | [diff] [blame] | 274 | -rm -rf $(GENSOURCES) $(GENPROGRAMS) |
mrobinson@webkit.org | 150f9cf | 2011-11-25 16:19:44 +0000 | [diff] [blame] | 275 | |
| 276 | dist-hook: doc-dist-hook |
| 277 | doc-dist-hook: docs-build.stamp |
| 278 | cp $(WebKit)/NEWS $(distdir) |
zandobersek@gmail.com | 6499f57 | 2013-01-15 19:49:50 +0000 | [diff] [blame] | 279 | if ENABLE_WEBKIT1 |
mrobinson@webkit.org | 150f9cf | 2011-11-25 16:19:44 +0000 | [diff] [blame] | 280 | @mkdir -p $(distdir)/Documentation/webkitgtk/html |
| 281 | @mkdir -p $(distdir)/Documentation/webkitgtk/tmpl |
| 282 | @-cp ./Documentation/webkitgtk/tmpl/*.sgml $(distdir)/Documentation/webkitgtk/tmpl |
| 283 | @cp ./Documentation/webkitgtk/html/* $(distdir)/Documentation/webkitgtk/html |
zandobersek@gmail.com | 6499f57 | 2013-01-15 19:49:50 +0000 | [diff] [blame] | 284 | endif |
mrobinson@webkit.org | 150f9cf | 2011-11-25 16:19:44 +0000 | [diff] [blame] | 285 | if ENABLE_WEBKIT2 |
| 286 | @mkdir -p $(distdir)/Documentation/webkit2gtk/html |
| 287 | @mkdir -p $(distdir)/Documentation/webkit2gtk/tmpl |
| 288 | @-cp ./Documentation/webkit2gtk/tmpl/*.sgml $(distdir)/Documentation/webkit2gtk/tmpl |
| 289 | @cp ./Documentation/webkit2gtk/html/* $(distdir)/Documentation/webkit2gtk/html |
| 290 | endif |
carlosgc@webkit.org | e5132af | 2013-10-18 10:33:26 +0000 | [diff] [blame] | 291 | @mkdir -p $(distdir)/Documentation/webkitdomgtk/html |
| 292 | @mkdir -p $(distdir)/Documentation/webkitdomgtk/tmpl |
| 293 | @-cp ./Documentation/webkitdomgtk/tmpl/*.sgml $(distdir)/Documentation/webkitdomgtk/tmpl |
| 294 | @cp ./Documentation/webkitdomgtk/html/* $(distdir)/Documentation/webkitdomgtk/html |