2009-04-16 Eric Roman <eroman@chromium.org>
[WebKit-https.git] / GNUmakefile.am
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
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
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.
19 #
20 # Global Variables
21 #
22 # global_cppflags   = CPPFLAGS that apply to JSC, WebCore, and to any
23 #                     specific port
24 # global_cflags     = CFLAGS that apply to JSC, WebCore, and to
25 #                     any specific port
26 # global_cxxflags   = CXXFLAGS that apply to JSC, WebCore, and to any
27 #                     specific port
28
29 srcdir = @srcdir@
30 VPATH = @srcdir@
31
32 # Directory for autogenerated sources
33 GENSOURCES := $(top_builddir)/DerivedSources
34 GENPROGRAMS := $(top_builddir)/Programs
35
36 # Script for creating hash tables
37 CREATE_HASH_TABLE = $(srcdir)/JavaScriptCore/create_hash_table
38
39 # Libraries and support components
40 bin_PROGRAMS :=
41
42 noinst_PROGRAMS :=
43
44 noinst_HEADERS :=
45
46 lib_LIBRARIES :=
47
48 IDL_BINDINGS :=
49
50 TEST_PROGS :=
51
52 # Gettext stuff
53 POFILES :=
54
55 MOFILES :=
56
57 # Global flags to CPP
58 global_cppflags :=
59
60 global_cppflags += \
61         -DWTF_USE_ICU_UNICODE=1
62
63 # Default compiler flags
64 global_cflags := \
65         -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \
66         -Wformat -Wformat-security -Wno-format-y2k -Wundef \
67         -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \
68         -Wno-unused-parameter -Wno-parentheses \
69         -fno-exceptions
70
71 global_cxxflags := \
72         $(SYMBOL_VISIBILITY_INLINES) \
73         -fno-rtti
74
75 if !ENABLE_DEBUG
76 global_cflags += \
77         $(SYMBOL_VISIBILITY)
78 endif
79
80 # -no-undefined required for building DLLs on Windows
81 # It breaks the build on other platforms, so we use it conditionally
82 if OS_WIN32
83 no_undefined = -no-undefined
84 endif
85
86 if OS_GNU
87 version_script = -Wl,--version-script,$(srcdir)/autotools/symbols.filter
88 endif
89
90 # Shared libraries
91 lib_LTLIBRARIES = \
92         libwebkit-1.0.la
93
94 # Convenience libraries
95 noinst_LTLIBRARIES = \
96         libJavaScriptCore.la \
97         libWebCore.la
98
99 #
100 # JavaScriptCore
101 javascriptcore_h_api :=
102 javascriptcore_cppflags:=
103 javascriptcore_sources :=
104 javascriptcore_built_sources :=
105 javascriptcore_built_nosources :=
106 javascriptcore_dist :=
107
108 javascriptcore_cppflags += \
109         -I$(srcdir)/JavaScriptCore \
110         -I$(srcdir)/JavaScriptCore/ForwardingHeaders \
111         -I$(srcdir)/JavaScriptCore/parser \
112         -I$(srcdir)/JavaScriptCore/wtf \
113         -I$(top_builddir)/DerivedSources
114
115 # The variables above are already included below so no need to touch
116 # these variables unless you really have to
117 nodist_EXTRA_libJavaScriptCore_la_SOURCES = \
118         $(javascriptcore_built_nosources)
119
120 nodist_libJavaScriptCore_la_SOURCES = \
121         $(javascriptcore_built_sources)
122
123 libJavaScriptCore_ladir = $(prefix)/include/webkit-1.0/JavaScriptCore
124 libJavaScriptCore_la_HEADERS = $(javascriptcore_h_api)
125
126 libJavaScriptCore_la_SOURCES = \
127         $(javascriptcore_sources)
128
129 libJavaScriptCore_la_LIBADD = \
130         $(UNICODE_LIBS) \
131         $(GLIB_LIBS) \
132         -lpthread
133
134 libJavaScriptCore_la_CXXFLAGS = \
135         $(global_cxxflags) \
136         $(libJavaScriptCore_la_CFLAGS)
137
138 libJavaScriptCore_la_CFLAGS = \
139         -fstrict-aliasing \
140         -O3 \
141         $(global_cflags) \
142         $(GLIB_CFLAGS) \
143         $(UNICODE_CFLAGS)
144
145 libJavaScriptCore_la_CPPFLAGS = \
146         $(global_cppflags) \
147         $(javascriptcore_cppflags)
148
149 #
150 # WebCore
151 webcore_cppflags :=
152 webcore_sources :=
153 webcore_libadd :=
154 webcore_built_sources :=
155 webcore_built_nosources :=
156 webcore_dist :=
157 webcoregtk_cppflags :=
158 webcoregtk_sources :=
159
160 nodist_EXTRA_libWebCore_la_SOURCES = \
161         $(webcore_built_nosources)
162
163 nodist_libWebCore_la_SOURCES = \
164         $(webcore_built_sources)
165
166 libWebCore_la_SOURCES = \
167         $(webcore_sources) \
168         $(webcoregtk_sources)
169
170 libWebCore_la_CXXFLAGS = \
171         $(global_cxxflags) \
172         $(libWebCore_la_CFLAGS)
173
174 libWebCore_la_CFLAGS = \
175         -fno-strict-aliasing \
176         $(global_cflags) \
177         $(GLIB_CFLAGS) \
178         $(UNICODE_CFLAGS) \
179         $(LIBXML_CFLAGS) \
180         $(CAIRO_CFLAGS) \
181         $(PANGO_CFLAGS) \
182         $(GTK_CFLAGS) \
183         $(XT_CFLAGS) \
184         $(LIBSOUP_CFLAGS) \
185         $(FREETYPE_CFLAGS) \
186         $(SQLITE3_CFLAGS) \
187         $(GSTREAMER_CFLAGS) \
188         $(LIBXSLT_CFLAGS) \
189         $(COVERAGE_CFLAGS) \
190         $(HILDON_CFLAGS) \
191         $(GEOCLUE_CFLAGS)
192
193 libWebCore_la_CPPFLAGS = \
194         $(global_cppflags) \
195         $(webcore_cppflags) \
196         $(javascriptcore_cppflags) \
197         $(webcoregtk_cppflags) \
198         $(HILDON_CPPFLAGS)
199
200 libWebCore_la_LIBADD = \
201         libJavaScriptCore.la \
202         libWebCoreJS.la \
203         $(webcore_libadd) \
204         $(GLIB_LIBS) \
205         $(LIBXML_LIBS) \
206         $(CAIRO_LIBS) \
207         $(PANGO_LIBS) \
208         $(GTK_LIBS) \
209         $(XT_LIBS) \
210         $(LIBSOUP_LIBS) \
211         $(FREETYPE_LIBS) \
212         $(UNICODE_LIBS) \
213         $(SQLITE3_LIBS) \
214         $(GSTREAMER_LIBS) \
215         $(LIBXSLT_LIBS) \
216         $(HILDON_LIBS) \
217         $(JPEG_LIBS) \
218         $(PNG_LIBS) \
219         $(GEOCLUE_LIBS) \
220         -lpthread
221
222 # WebKit
223 webkitgtk_h_api :=
224 webkitgtk_sources :=
225 webkitgtk_cppflags :=
226 webkitgtk_built_sources :=
227 webkitgtk_built_nosources :=
228 webkitgtk_cleanfiles :=
229
230 nodist_libwebkit_1_0_la_SOURCES = \
231         $(webkitgtk_built_sources)
232
233 libwebkit_1_0_ladir = $(prefix)/include/webkit-1.0/webkit
234 libwebkit_1_0_la_HEADERS = \
235         $(webkitgtk_h_api) \
236         WebKit/gtk/webkit/webkitenumtypes.h
237
238 libwebkit_1_0_la_SOURCES = \
239         $(webkitgtk_sources)
240
241 libwebkit_1_0_la_CXXFLAGS = \
242         $(libWebCore_la_CXXFLAGS)
243
244 libwebkit_1_0_la_CFLAGS = \
245         $(libWebCore_la_CFLAGS) \
246         $(GNOMEKEYRING_CFLAGS)
247
248 libwebkit_1_0_la_CPPFLAGS = \
249         $(libWebCore_la_CPPFLAGS) \
250         $(webkitgtk_cppflags)
251
252 libwebkit_1_0_la_LDFLAGS = \
253         $(COVERAGE_LDFLAGS) \
254         -version-info @LIBWEBKITGTK_VERSION@ \
255         $(version_script) \
256         $(no_undefined)
257
258 libwebkit_1_0_la_LIBADD = \
259         libWebCore.la \
260         $(GNOMEKEYRING_LIBS)
261
262 #
263 # Extra checks and flags
264 global_cppflags += \
265         -DBUILDING_CAIRO__=1 \
266         -DBUILDING_GTK__=1 \
267         -DWTF_CHANGES \
268         -DPACKAGE_LOCALE_DIR=\"$(localedir)\"
269
270 if !ENABLE_FAST_MALLOC
271 global_cppflags += \
272         -DUSE_SYSTEM_MALLOC
273 endif
274
275 if TARGET_X11
276 global_cppflags += -DXP_UNIX
277 endif
278
279 if !ENABLE_DEBUG
280 global_cppflags += -DNDEBUG
281 else
282 webcoregtk_cppflags += \
283         -DG_DISABLE_DEPRECATED \
284         -DGDK_PIXBUF_DISABLE_DEPRECATED \
285         -DGDK_DISABLE_DEPRECATED \
286         -DGTK_DISABLE_DEPRECATED \
287         -DPANGO_DISABLE_DEPRECATED
288
289 # Might be useful in the future
290 #       -DGDK_MULTIHEAD_SAFE \
291 #       -DGTK_MULTIHEAD_SAFE
292 endif
293
294 if !ENABLE_DATABASE
295 global_cppflags += -DENABLE_DATABASE=0
296 endif
297
298 if !ENABLE_ICONDATABASE
299 global_cppflags += -DENABLE_ICONDATABASE=0
300 endif
301
302 if ENABLE_COVERAGE
303 global_cppflags += \
304         -DGCC_GENERATE_TEST_COVERAGE_FILES \
305         -DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS
306 endif
307
308 if ENABLE_VIDEO
309 webcore_libadd += -lgstinterfaces-0.10 -lgstvideo-0.10
310 endif
311
312 webkitgtk_h_api += \
313         WebKit/gtk/webkit/webkit.h \
314         WebKit/gtk/webkit/webkitdefines.h \
315         WebKit/gtk/webkit/webkitdownload.h \
316         WebKit/gtk/webkit/webkitnetworkrequest.h \
317         WebKit/gtk/webkit/webkitsoupauthdialog.h \
318         WebKit/gtk/webkit/webkitversion.h \
319         WebKit/gtk/webkit/webkitwebbackforwardlist.h \
320         WebKit/gtk/webkit/webkitwebframe.h \
321         WebKit/gtk/webkit/webkitwebhistoryitem.h \
322         WebKit/gtk/webkit/webkitwebinspector.h \
323         WebKit/gtk/webkit/webkitwebnavigationaction.h \
324         WebKit/gtk/webkit/webkitwebpolicydecision.h \
325         WebKit/gtk/webkit/webkitwebsettings.h \
326         WebKit/gtk/webkit/webkitwebwindowfeatures.h \
327         WebKit/gtk/webkit/webkitwebview.h
328
329 webkitgtk_built_sources += \
330         DerivedSources/webkitenumtypes.cpp \
331         DerivedSources/webkitmarshal.cpp \
332         DerivedSources/webkitmarshal.h \
333         WebKit/gtk/webkit/webkitenumtypes.h
334
335 webkitgtk_sources += \
336         WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp \
337         WebKit/gtk/WebCoreSupport/ChromeClientGtk.h \
338         WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp \
339         WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.h \
340         WebKit/gtk/WebCoreSupport/DragClientGtk.cpp \
341         WebKit/gtk/WebCoreSupport/DragClientGtk.h \
342         WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp \
343         WebKit/gtk/WebCoreSupport/EditorClientGtk.h \
344         WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp \
345         WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h \
346         WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp \
347         WebKit/gtk/WebCoreSupport/InspectorClientGtk.h \
348         WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.cpp \
349         WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.h \
350         WebKit/gtk/webkit/webkitnetworkrequest.cpp \
351         WebKit/gtk/webkit/webkitprivate.cpp \
352         WebKit/gtk/webkit/webkitprivate.h \
353         WebKit/gtk/webkit/webkitsoupauthdialog.c \
354         WebKit/gtk/webkit/webkitversion.cpp \
355         WebKit/gtk/webkit/webkitwebbackforwardlist.cpp \
356         WebKit/gtk/webkit/webkitwebframe.cpp \
357         WebKit/gtk/webkit/webkitwebhistoryitem.cpp \
358         WebKit/gtk/webkit/webkitwebinspector.cpp \
359         WebKit/gtk/webkit/webkitwebnavigationaction.cpp \
360         WebKit/gtk/webkit/webkitwebpolicydecision.cpp \
361         WebKit/gtk/webkit/webkitwebsettings.cpp \
362         WebKit/gtk/webkit/webkitdownload.cpp \
363         WebKit/gtk/webkit/webkitwebview.cpp \
364         WebKit/gtk/webkit/webkitwebwindowfeatures.cpp
365
366 webkitgtk_cppflags += \
367         -DBUILDING_WEBKIT \
368         -I$(srcdir)/WebKit/gtk \
369         -I$(srcdir)/WebKit/gtk/WebCoreSupport \
370         -I$(srcdir)/WebKit/gtk/webkit \
371         -I$(top_builddir)/WebKit/gtk/webkit
372
373 webkitgtk_cleanfiles += \
374         $(top_builddir)/Programs/GtkLauncher \
375         $(top_builddir)/WebKit/gtk/webkit-1.0.pc \
376         $(top_builddir)/WebKit/gtk/webkit/webkitenumtypes.h
377
378 pkgconfigdir = $(libdir)/pkgconfig
379 pkgconfig_DATA = WebKit/gtk/webkit-1.0.pc
380
381 stamp_files := \
382         stamp-webkitmarshal.cpp \
383         stamp-webkitmarshal.h \
384         stamp-webkitenumtypes.cpp \
385         stamp-webkitenumtypes.h
386
387 WEBKIT_MARSHAL = $(GENSOURCES)/webkitmarshal
388 WEBKIT_MARSHAL_LIST = $(top_srcdir)/WebKit/gtk/webkitmarshal.list
389
390 $(WEBKIT_MARSHAL).cpp: stamp-webkitmarshal.cpp
391         @true
392
393 $(WEBKIT_MARSHAL).h: stamp-webkitmarshal.h
394         @true
395
396 stamp-webkitmarshal.cpp: $(WEBKIT_MARSHAL_LIST)
397         echo "extern \"C\" {" > $(WEBKIT_MARSHAL).cpp && \
398         $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --body >> $(WEBKIT_MARSHAL).cpp && echo '}' >> $(WEBKIT_MARSHAL).cpp && \
399         echo timestamp > $(@F)
400
401 stamp-webkitmarshal.h: $(WEBKIT_MARSHAL_LIST)
402         $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --header > $(WEBKIT_MARSHAL).h && \
403         echo timestamp > $(@F)
404
405 WebKit/gtk/webkit/webkitenumtypes.h: stamp-webkitenumtypes.h
406         @true
407 stamp-webkitenumtypes.h: $(webkitgtk_h_api) GNUmakefile
408         (cd $(srcdir) \
409         && glib-mkenums \
410                         --fhead "#ifndef WEBKIT_ENUM_TYPES_H\n" \
411                         --fhead "#define WEBKIT_ENUM_TYPES_H\n\n" \
412                         --fhead "#include <glib-object.h>\n\n" \
413                         --fhead "#include <webkit/webkitdefines.h>\n\n" \
414                         --fhead "G_BEGIN_DECLS\n\n" \
415                         --ftail "G_END_DECLS\n\n" \
416                         --ftail "#endif\n" \
417                         --fprod "#include <@filename@>\n\n" \
418                         --eprod "#define WEBKIT_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n\n" \
419                         --eprod "WEBKIT_API GType\n@enum_name@_get_type(void);\n\n" \
420                 $(webkitgtk_h_api) | \
421                 sed 's,WebKit/gtk/,,' | \
422                 sed 's,web_kit,webkit,' | \
423                 sed 's,WEBKIT_TYPE_KIT,WEBKIT_TYPE,' \
424                 ) > xgen-gth \
425         && (cmp -s xgen-gth WebKit/gtk/webkit/webkitenumtypes.h || cp xgen-gth WebKit/gtk/webkit/webkitenumtypes.h) \
426         && rm -f xgen-gth \
427         && echo timestamp > $(@F)
428
429 DerivedSources/webkitenumtypes.cpp: $(webkitgtk_h_api) GNUmakefile
430         (cd $(srcdir) \
431         && glib-mkenums \
432                         --fhead "#include <config.h>\n" \
433                         --fhead "#include <glib-object.h>\n" \
434                         --fhead "#include \"$(top_builddir)/WebKit/gtk/webkit/webkitenumtypes.h\"\n\n" \
435                         --fhead "extern \"C\" {\n\n" \
436                         --fprod "\n/* enumerations from \"@filename@\" */" \
437                         --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
438                         --vprod "    { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
439                         --vtail "    { 0, NULL, NULL }\n};\n\n" \
440                         --vtail "GType @enum_name@_get_type(void)\n{\n" \
441                         --vtail "    static GType type = 0;\n\n" \
442                         --vtail "    if (!type)\n" \
443                         --vtail "        type = g_@type@_register_static(\"@EnumName@\", _@enum_name@_values);\n\n" \
444                         --vtail "    return type;\n}\n\n" \
445                         --ftail "}\n" \
446                 $(webkitgtk_h_api) | \
447                 sed 's,web_kit,webkit,' \
448                 ) > xgen-gtc \
449         && cp xgen-gtc $@ \
450         && rm -f xgen-gtc
451
452 # END WEBKIT GTK+
453 #
454 # Files that will be distributed
455 EXTRA_DIST = \
456         WebKit/LICENSE \
457         $(javascriptcore_dist) \
458         $(webcore_dist) \
459         $(srcdir)/autotools/symbols.filter \
460         $(srcdir)/WebKit/gtk/ChangeLog \
461         $(srcdir)/WebKit/gtk/NEWS \
462         $(srcdir)/WebKit/gtk/webkitmarshal.list \
463         $(srcdir)/WebKit/gtk/docs/GNUmakefile.* \
464         $(srcdir)/WebKit/gtk/docs/webkitenvironment.xml \
465         $(srcdir)/WebKit/gtk/docs/webkitgtk-docs.sgml \
466         $(srcdir)/WebKit/gtk/docs/webkitgtk-sections.txt \
467         $(srcdir)/WebKit/gtk/docs/version.xml.in \
468         $(srcdir)/WebKit/gtk/po/*
469
470 # Files that will be cleaned
471 MAINTAINERCLEANFILES := $(stamp_files) $(BUILT_SOURCES) doltcompile doltlibtool WebKit/gtk/docs/version.xml WebKit/gtk/docs/GNUmakefile
472 DISTCLEANFILES := $(stamp_files) $(BUILT_SOURCES) doltcompile doltlibtool WebKit/gtk/docs/version.xml WebKit/gtk/docs/GNUmakefile
473 CLEANFILES := $(stamp_files) $(BUILT_SOURCES) WebKit/gtk/docs/GNUmakefile
474
475 # Include module makefiles
476 include JavaScriptCore/GNUmakefile.am
477 include WebCore/GNUmakefile.am
478 include WebKitTools/GNUmakefile.am
479 include WebKit/gtk/po/GNUmakefile.am
480
481 # Build unit tests
482 noinst_PROGRAMS += $(TEST_PROGS)
483
484 webkit_tests_cflags = \
485         -fno-strict-aliasing \
486         -O2 \
487         -I$(srcdir)/JavaScriptCore/ForwardingHeaders \
488         -I$(srcdir)/WebKit/gtk \
489         -I$(top_builddir)/WebKit/gtk \
490         $(global_cflags) \
491         $(GLIB_CFLAGS) \
492         $(GTK_CFLAGS) \
493         $(LIBSOUP_CFLAGS)
494
495 webkit_tests_ldadd = \
496         libwebkit-1.0.la \
497         $(GTK_LIBS)     \
498         $(GLIB_LIBS) \
499         $(LIBSOUP_LIBS)
500
501 TEST_PROGS += Programs/unittests/testwebframe \
502         Programs/unittests/testwebbackforwardlist \
503         Programs/unittests/testwebhistoryitem \
504         Programs/unittests/testdownload
505
506 # Add additional tests here
507 Programs_unittests_testwebframe_SOURCES = WebKit/gtk/tests/testwebframe.c
508 Programs_unittests_testwebframe_CFLAGS = $(webkit_tests_cflags)
509 Programs_unittests_testwebframe_LDADD = $(webkit_tests_ldadd)
510
511 Programs_unittests_testwebbackforwardlist_SOURCES = WebKit/gtk/tests/testwebbackforwardlist.c
512 Programs_unittests_testwebbackforwardlist_CFLAGS = $(webkit_tests_cflags)
513 Programs_unittests_testwebbackforwardlist_LDADD = $(webkit_tests_ldadd)
514
515 Programs_unittests_testwebhistoryitem_SOURCES = WebKit/gtk/tests/testwebhistoryitem.c
516 Programs_unittests_testwebhistoryitem_CFLAGS = $(webkit_tests_cflags)
517 Programs_unittests_testwebhistoryitem_LDADD = $(webkit_tests_ldadd)
518
519 Programs_unittests_testdownload_SOURCES = WebKit/gtk/tests/testdownload.c
520 Programs_unittests_testdownload_CFLAGS = $(webkit_tests_cflags)
521 Programs_unittests_testdownload_LDADD = $(webkit_tests_ldadd)
522
523 # Autogenerated sources
524 BUILT_SOURCES := \
525         $(javascriptcore_built_sources) \
526         $(javascriptcore_built_nosources) \
527         $(webcore_built_sources) \
528         $(webcore_built_nosources) \
529         $(webkitgtk_built_sources) \
530         $(webkitgtk_built_nosources)
531
532 # Project-wide clean rules
533 CLEANFILES += \
534         $(webkitgtk_cleanfiles)
535
536 MAINTAINERCLEANFILES += \
537         $(srcdir)/aconfig.h.in \
538         $(srcdir)/autotools/config.* \
539         $(srcdir)/autotools/compile \
540         $(srcdir)/autotools/depcomp \
541         $(srcdir)/autotools/install-sh \
542         $(srcdir)/autotools/missing \
543         $(srcdir)/configure \
544         $(srcdir)/GNUmakefile.in \
545         $(srcdir)/INSTALL \
546         $(srcdir)/README \
547         $(top_builddir)/config.*
548
549 # Older automake versions (1.7) place Plo files in a different place so we need
550 # to create the output directory manually.
551 all-local: stamp-po
552         $(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources
553
554 # remove built sources and program directories
555 clean-local:
556         -rm -rf $(GENPROGRAMS)
557
558 maintainer-clean-local: distclean-local
559
560 distclean-local:
561         -rm -rf $(GENSOURCES) $(GENPROGRAMS)
562
563 install-data-local: po-install-data-local
564
565 installdirs-data-local: po-installdirs-data-local
566
567 uninstall-local: po-uninstall-local