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 \ |
| 30 | --enable-gtk-doc |
| 31 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 32 | # Directory for autogenerated sources |
| 33 | GENSOURCES := $(top_builddir)/DerivedSources |
mrobinson@webkit.org | e53c0fb | 2010-07-02 16:53:06 +0000 | [diff] [blame] | 34 | GENSOURCES_JAVASCRIPTCORE := $(top_builddir)/DerivedSources/JavaScriptCore |
| 35 | GENSOURCES_WEBCORE := $(top_builddir)/DerivedSources/WebCore |
| 36 | GENSOURCES_WEBKIT := $(top_builddir)/DerivedSources/webkit |
mrobinson@webkit.org | 59b9ac1 | 2010-12-29 23:46:42 +0000 | [diff] [blame] | 37 | GENSOURCES_WEBKIT2 := $(top_builddir)/DerivedSources/WebKit2 |
alp@webkit.org | c04fee2 | 2008-04-19 05:16:00 +0000 | [diff] [blame] | 38 | GENPROGRAMS := $(top_builddir)/Programs |
loislo@chromium.org | a47f672 | 2010-08-18 14:36:58 +0000 | [diff] [blame] | 39 | GENSOURCES_INSPECTOR := $(GENPROGRAMS)/resources/inspector |
abarth@webkit.org | 8ac7e15 | 2011-01-08 09:35:14 +0000 | [diff] [blame^] | 40 | WebCore := $(srcdir)/Source/WebCore |
mrobinson@webkit.org | b675622 | 2010-11-18 06:32:43 +0000 | [diff] [blame] | 41 | WebKit := $(srcdir)/WebKit/gtk |
mrobinson@webkit.org | 59b9ac1 | 2010-12-29 23:46:42 +0000 | [diff] [blame] | 42 | WebKit2 := $(srcdir)/WebKit2 |
jmalonzo@webkit.org | c9b4de4 | 2009-05-18 11:30:53 +0000 | [diff] [blame] | 43 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 44 | # Libraries and support components |
alp@webkit.org | 643f3ef | 2008-06-15 11:46:18 +0000 | [diff] [blame] | 45 | bin_PROGRAMS := |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 46 | noinst_PROGRAMS := |
alp@webkit.org | 9388fc8 | 2008-08-10 18:21:21 +0000 | [diff] [blame] | 47 | noinst_HEADERS := |
kov@webkit.org | 478f595 | 2010-01-05 19:08:10 +0000 | [diff] [blame] | 48 | noinst_LTLIBRARIES := |
xan@webkit.org | ceeb849 | 2010-06-28 13:58:42 +0000 | [diff] [blame] | 49 | lib_LTLIBRARIES := |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 50 | IDL_BINDINGS := |
jmalonzo@webkit.org | 27bbbab | 2009-03-20 19:45:05 +0000 | [diff] [blame] | 51 | TEST_PROGS := |
kov@webkit.org | 774c23b | 2009-04-06 19:39:14 +0000 | [diff] [blame] | 52 | POFILES := |
kov@webkit.org | 774c23b | 2009-04-06 19:39:14 +0000 | [diff] [blame] | 53 | MOFILES := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 54 | javascriptcore_h_api := |
| 55 | javascriptcore_cppflags:= |
| 56 | javascriptcore_sources := |
| 57 | javascriptcore_built_sources := |
| 58 | javascriptcore_built_nosources := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 59 | webcore_cppflags := |
| 60 | webcore_sources := |
| 61 | webcore_libadd := |
| 62 | webcore_built_sources := |
| 63 | webcore_built_nosources := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 64 | webcoregtk_sources := |
mrobinson@webkit.org | 27bbef3 | 2010-08-26 16:16:10 +0000 | [diff] [blame] | 65 | webcoregtk_cppflags := |
mrobinson@webkit.org | 65b6245 | 2010-07-26 21:32:18 +0000 | [diff] [blame] | 66 | webkitgtk_built_h_api := |
| 67 | webkitgtk_static_h_api := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 68 | webkitgtk_h_api := |
| 69 | webkitgtk_sources := |
| 70 | webkitgtk_cppflags := |
mrobinson@webkit.org | 65b6245 | 2010-07-26 21:32:18 +0000 | [diff] [blame] | 71 | webkitgtk_gdom_built_sources := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 72 | webkitgtk_built_sources := |
| 73 | webkitgtk_built_nosources := |
mrobinson@webkit.org | 59b9ac1 | 2010-12-29 23:46:42 +0000 | [diff] [blame] | 74 | webkit2_built_sources := |
alp@webkit.org | 040ad8b | 2008-02-04 11:00:43 +0000 | [diff] [blame] | 75 | global_cppflags := |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 76 | global_cflags := |
| 77 | global_cxxflags := |
kov@webkit.org | 60affd1 | 2009-11-30 15:13:44 +0000 | [diff] [blame] | 78 | JSCORE_GIRSOURCES := |
kov@webkit.org | 2a1f73c | 2009-11-30 19:27:53 +0000 | [diff] [blame] | 79 | WEBKIT_GIRSOURCES := |
mrobinson@webkit.org | f40bc4d | 2010-08-30 15:16:09 +0000 | [diff] [blame] | 80 | FEATURE_DEFINES := |
kov@webkit.org | 2a1f73c | 2009-11-30 19:27:53 +0000 | [diff] [blame] | 81 | typelibsdir := |
| 82 | typelibs_DATA := |
kov@webkit.org | 30bb918 | 2009-10-26 20:16:59 +0000 | [diff] [blame] | 83 | EXTRA_DIST := |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 84 | BUILT_SOURCES := |
| 85 | CLEANFILES := |
| 86 | DISTCLEANFILES := |
| 87 | MAINTAINERCLEANFILES := |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 88 | |
xan@webkit.org | a0e3f5f | 2011-01-03 18:26:12 +0000 | [diff] [blame] | 89 | # We do not care at all about this implicit built-in make rules, |
| 90 | # disable them to save some build time |
| 91 | %: %.c |
| 92 | %: %.cpp |
| 93 | %: %.o |
| 94 | (%): % |
| 95 | %.out: % |
| 96 | %.c: %.w %.ch |
| 97 | %.tex: %.w %.ch |
| 98 | %:: %,v |
| 99 | %:: RCS/%,v |
| 100 | %:: RCS/% |
| 101 | %:: s.% |
| 102 | %:: SCCS/s.% |
| 103 | |
mrobinson@webkit.org | 27bbef3 | 2010-08-26 16:16:10 +0000 | [diff] [blame] | 104 | global_cppflags += \ |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 105 | -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \ |
| 106 | -Wformat -Wformat-security -Wno-format-y2k -Wundef \ |
| 107 | -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \ |
alp@webkit.org | 491d909 | 2008-11-03 17:27:55 +0000 | [diff] [blame] | 108 | -Wno-unused-parameter -Wno-parentheses \ |
philn@webkit.org | 0fe8403 | 2010-09-27 17:53:51 +0000 | [diff] [blame] | 109 | -fno-exceptions -DENABLE_GLIB_SUPPORT=1 |
| 110 | |
mrowe@apple.com | 84cdb08 | 2008-02-05 03:25:59 +0000 | [diff] [blame] | 111 | |
jmalonzo@webkit.org | a332756 | 2009-05-18 11:30:06 +0000 | [diff] [blame] | 112 | global_cxxflags += \ |
alp@webkit.org | 491d909 | 2008-11-03 17:27:55 +0000 | [diff] [blame] | 113 | -fno-rtti |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 114 | |
alp@webkit.org | 15ef3c4 | 2008-06-03 00:30:19 +0000 | [diff] [blame] | 115 | # -no-undefined required for building DLLs on Windows |
| 116 | # It breaks the build on other platforms, so we use it conditionally |
| 117 | if OS_WIN32 |
xan@webkit.org | 0a81801 | 2009-05-13 13:49:06 +0000 | [diff] [blame] | 118 | no_undefined = -no-undefined |
commit-queue@webkit.org | 395e6c6 | 2010-09-21 17:44:31 +0000 | [diff] [blame] | 119 | version_script = -export-symbols-regex "^(webkit_|k?JS).*" |
alp@webkit.org | 15ef3c4 | 2008-06-03 00:30:19 +0000 | [diff] [blame] | 120 | endif |
| 121 | |
jmalonzo@webkit.org | a897fea | 2008-09-24 07:42:51 +0000 | [diff] [blame] | 122 | if OS_GNU |
abarth@webkit.org | c2a176a | 2011-01-02 02:04:41 +0000 | [diff] [blame] | 123 | version_script = -Wl,--version-script,$(srcdir)/Source/autotools/symbols.filter |
jmalonzo@webkit.org | a897fea | 2008-09-24 07:42:51 +0000 | [diff] [blame] | 124 | endif |
| 125 | |
alp@webkit.org | 36d6549 | 2008-01-13 07:33:53 +0000 | [diff] [blame] | 126 | # Convenience libraries |
kov@webkit.org | 478f595 | 2010-01-05 19:08:10 +0000 | [diff] [blame] | 127 | noinst_LTLIBRARIES += \ |
| 128 | libJavaScriptCore.la |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 129 | |
alp@webkit.org | c04fee2 | 2008-04-19 05:16:00 +0000 | [diff] [blame] | 130 | nodist_EXTRA_libJavaScriptCore_la_SOURCES = \ |
alp@webkit.org | 8151494 | 2008-04-23 03:14:26 +0000 | [diff] [blame] | 131 | $(javascriptcore_built_nosources) |
| 132 | |
| 133 | nodist_libJavaScriptCore_la_SOURCES = \ |
alp@webkit.org | c04fee2 | 2008-04-19 05:16:00 +0000 | [diff] [blame] | 134 | $(javascriptcore_built_sources) |
| 135 | |
xan@webkit.org | ceeb849 | 2010-06-28 13:58:42 +0000 | [diff] [blame] | 136 | libJavaScriptCore_ladir = $(prefix)/include/webkit-@WEBKITGTK_API_VERSION@/JavaScriptCore |
alp@webkit.org | 36d6549 | 2008-01-13 07:33:53 +0000 | [diff] [blame] | 137 | libJavaScriptCore_la_HEADERS = $(javascriptcore_h_api) |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 138 | |
alp@webkit.org | 36d6549 | 2008-01-13 07:33:53 +0000 | [diff] [blame] | 139 | libJavaScriptCore_la_SOURCES = \ |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 140 | $(javascriptcore_sources) |
| 141 | |
xan@webkit.org | 0a81801 | 2009-05-13 13:49:06 +0000 | [diff] [blame] | 142 | libJavaScriptCore_la_LIBADD = \ |
| 143 | $(UNICODE_LIBS) \ |
| 144 | $(GLIB_LIBS) \ |
| 145 | -lpthread |
| 146 | |
darin@apple.com | 47e2c23 | 2008-02-24 05:42:29 +0000 | [diff] [blame] | 147 | libJavaScriptCore_la_CXXFLAGS = \ |
pewtermoose@webkit.org | 7a953d9 | 2008-02-24 07:07:03 +0000 | [diff] [blame] | 148 | $(global_cxxflags) \ |
alp@webkit.org | 139345a | 2008-09-20 06:34:35 +0000 | [diff] [blame] | 149 | $(libJavaScriptCore_la_CFLAGS) |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 150 | |
darin@apple.com | 47e2c23 | 2008-02-24 05:42:29 +0000 | [diff] [blame] | 151 | libJavaScriptCore_la_CFLAGS = \ |
alp@webkit.org | 2d181c5 | 2008-06-08 16:10:16 +0000 | [diff] [blame] | 152 | -fstrict-aliasing \ |
| 153 | -O3 \ |
pewtermoose@webkit.org | 7a953d9 | 2008-02-24 07:07:03 +0000 | [diff] [blame] | 154 | $(global_cflags) \ |
jmalonzo@webkit.org | 06d65c10 | 2009-01-31 09:36:45 +0000 | [diff] [blame] | 155 | $(GLIB_CFLAGS) \ |
alp@webkit.org | 2d181c5 | 2008-06-08 16:10:16 +0000 | [diff] [blame] | 156 | $(UNICODE_CFLAGS) |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 157 | |
alp@webkit.org | f49bd1e | 2008-01-21 23:06:23 +0000 | [diff] [blame] | 158 | libJavaScriptCore_la_CPPFLAGS = \ |
| 159 | $(global_cppflags) \ |
alp@webkit.org | d28cae0 | 2008-03-10 00:49:15 +0000 | [diff] [blame] | 160 | $(javascriptcore_cppflags) |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 161 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 162 | # Extra checks and flags |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 163 | global_cppflags += \ |
alp@webkit.org | f1dbca6 | 2008-06-02 16:36:32 +0000 | [diff] [blame] | 164 | -DBUILDING_CAIRO__=1 \ |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 165 | -DBUILDING_GTK__=1 \ |
kov@webkit.org | eba9e74 | 2009-05-22 18:06:51 +0000 | [diff] [blame] | 166 | -DWTF_CHANGES |
| 167 | |
| 168 | if USE_ICU_UNICODE |
| 169 | global_cppflags += \ |
jmalonzo@webkit.org | 249f7ce | 2009-05-18 11:30:41 +0000 | [diff] [blame] | 170 | -DWTF_USE_ICU_UNICODE=1 |
kov@webkit.org | eba9e74 | 2009-05-22 18:06:51 +0000 | [diff] [blame] | 171 | endif |
| 172 | |
| 173 | if USE_GLIB_UNICODE |
kov@webkit.org | eba9e74 | 2009-05-22 18:06:51 +0000 | [diff] [blame] | 174 | global_cppflags += \ |
eric@webkit.org | 35236ae | 2010-03-04 15:03:16 +0000 | [diff] [blame] | 175 | -DWTF_USE_GLIB_UNICODE=1 |
kov@webkit.org | eba9e74 | 2009-05-22 18:06:51 +0000 | [diff] [blame] | 176 | endif |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 177 | |
alp@webkit.org | 27f95c4 | 2008-01-12 07:40:52 +0000 | [diff] [blame] | 178 | if !ENABLE_FAST_MALLOC |
| 179 | global_cppflags += \ |
| 180 | -DUSE_SYSTEM_MALLOC |
| 181 | endif |
| 182 | |
philn@webkit.org | f643ed6 | 2010-09-29 06:50:34 +0000 | [diff] [blame] | 183 | if USE_GSTREAMER |
| 184 | global_cppflags += \ |
| 185 | -DWTF_USE_GSTREAMER=1 |
| 186 | endif |
| 187 | |
xan@webkit.org | ef9fcb9 | 2010-08-24 20:26:41 +0000 | [diff] [blame] | 188 | # ---- |
| 189 | # GTK+ 2.x/3.x support |
| 190 | # ---- |
| 191 | if GTK_API_VERSION_2 |
mrobinson@webkit.org | 27bbef3 | 2010-08-26 16:16:10 +0000 | [diff] [blame] | 192 | global_cppflags += \ |
xan@webkit.org | ef9fcb9 | 2010-08-24 20:26:41 +0000 | [diff] [blame] | 193 | -DGTK_API_VERSION_2=1 |
| 194 | endif |
| 195 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 196 | if !ENABLE_DEBUG |
| 197 | global_cppflags += -DNDEBUG |
alp@webkit.org | 040ad8b | 2008-02-04 11:00:43 +0000 | [diff] [blame] | 198 | else |
mrobinson@webkit.org | 27bbef3 | 2010-08-26 16:16:10 +0000 | [diff] [blame] | 199 | global_cppflags += \ |
alp@webkit.org | 11a31a7 | 2007-12-27 23:14:27 +0000 | [diff] [blame] | 200 | -DG_DISABLE_DEPRECATED \ |
| 201 | -DGDK_PIXBUF_DISABLE_DEPRECATED \ |
| 202 | -DGDK_DISABLE_DEPRECATED \ |
| 203 | -DGTK_DISABLE_DEPRECATED \ |
xan@webkit.org | 5336ff8 | 2010-06-15 19:49:50 +0000 | [diff] [blame] | 204 | -DPANGO_DISABLE_DEPRECATED |
zecke@webkit.org | 48bc6f4 | 2008-01-03 02:07:28 +0000 | [diff] [blame] | 205 | # Might be useful in the future |
| 206 | # -DGDK_MULTIHEAD_SAFE \ |
| 207 | # -DGTK_MULTIHEAD_SAFE |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 208 | endif |
| 209 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 210 | if ENABLE_COVERAGE |
| 211 | global_cppflags += \ |
| 212 | -DGCC_GENERATE_TEST_COVERAGE_FILES \ |
| 213 | -DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS |
| 214 | endif |
| 215 | |
kov@webkit.org | 30bb918 | 2009-10-26 20:16:59 +0000 | [diff] [blame] | 216 | EXTRA_DIST += \ |
abarth@webkit.org | c2a176a | 2011-01-02 02:04:41 +0000 | [diff] [blame] | 217 | $(srcdir)/Source/autotools/symbols.filter \ |
mrobinson@webkit.org | b675622 | 2010-11-18 06:32:43 +0000 | [diff] [blame] | 218 | $(srcdir)/gtk-doc.make \ |
| 219 | $(srcdir)/WebKit/LICENSE |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 220 | |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 221 | # Include module makefiles |
abarth@webkit.org | 76da8fc | 2011-01-02 06:22:31 +0000 | [diff] [blame] | 222 | include Source/JavaScriptCore/GNUmakefile.am |
abarth@webkit.org | 8ac7e15 | 2011-01-08 09:35:14 +0000 | [diff] [blame^] | 223 | include Source/WebCore/GNUmakefile.am |
mrobinson@webkit.org | 59b9ac1 | 2010-12-29 23:46:42 +0000 | [diff] [blame] | 224 | if ENABLE_WEBKIT2 |
| 225 | include WebKit2/GNUmakefile.am |
| 226 | else |
mrobinson@webkit.org | b675622 | 2010-11-18 06:32:43 +0000 | [diff] [blame] | 227 | include WebKit/gtk/GNUmakefile.am |
abarth@webkit.org | 8ac7e15 | 2011-01-08 09:35:14 +0000 | [diff] [blame^] | 228 | include Source/WebCore/bindings/gobject/GNUmakefile.am |
mitz@apple.com | 10955a5a | 2010-12-18 00:02:12 +0000 | [diff] [blame] | 229 | include Tools/GNUmakefile.am |
kov@webkit.org | 774c23b | 2009-04-06 19:39:14 +0000 | [diff] [blame] | 230 | include WebKit/gtk/po/GNUmakefile.am |
mrobinson@webkit.org | 59b9ac1 | 2010-12-29 23:46:42 +0000 | [diff] [blame] | 231 | endif |
alp@webkit.org | 278f125 | 2007-12-27 06:05:21 +0000 | [diff] [blame] | 232 | |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 233 | # Autogenerated sources |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 234 | BUILT_SOURCES += \ |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 235 | $(javascriptcore_built_sources) \ |
| 236 | $(javascriptcore_built_nosources) \ |
| 237 | $(webcore_built_sources) \ |
| 238 | $(webcore_built_nosources) \ |
| 239 | $(webkitgtk_built_sources) \ |
mrobinson@webkit.org | 65b6245 | 2010-07-26 21:32:18 +0000 | [diff] [blame] | 240 | $(webkitgtk_built_nosources) |
alp@webkit.org | f93619a | 2007-12-30 03:33:44 +0000 | [diff] [blame] | 241 | |
jmalonzo@webkit.org | eff81ec | 2009-10-15 23:17:59 +0000 | [diff] [blame] | 242 | DISTCLEANFILES += \ |
| 243 | $(CLEANFILES) \ |
| 244 | $(builddir)/doltcompile \ |
mrobinson@webkit.org | b675622 | 2010-11-18 06:32:43 +0000 | [diff] [blame] | 245 | $(builddir)/doltlibtool |
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. |
mrobinson@webkit.org | b675622 | 2010-11-18 06:32:43 +0000 | [diff] [blame] | 265 | all-local: |
kov@webkit.org | 774c23b | 2009-04-06 19:39:14 +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) |