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