17fabc0b7ec2d95a87dd5fd9002751ca1c616a6a
[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         $(ENCHANT_CFLAGS) \
192         $(GEOCLUE_CFLAGS)
193
194 libWebCore_la_CPPFLAGS = \
195         $(global_cppflags) \
196         $(webcore_cppflags) \
197         $(javascriptcore_cppflags) \
198         $(webcoregtk_cppflags) \
199         $(HILDON_CPPFLAGS)
200
201 libWebCore_la_LIBADD = \
202         libJavaScriptCore.la \
203         libWebCoreJS.la \
204         $(webcore_libadd) \
205         $(GLIB_LIBS) \
206         $(LIBXML_LIBS) \
207         $(CAIRO_LIBS) \
208         $(PANGO_LIBS) \
209         $(GTK_LIBS) \
210         $(XT_LIBS) \
211         $(LIBSOUP_LIBS) \
212         $(FREETYPE_LIBS) \
213         $(UNICODE_LIBS) \
214         $(SQLITE3_LIBS) \
215         $(GSTREAMER_LIBS) \
216         $(LIBXSLT_LIBS) \
217         $(HILDON_LIBS) \
218         $(JPEG_LIBS) \
219         $(PNG_LIBS) \
220         $(GEOCLUE_LIBS) \
221         -lpthread
222
223 # WebKit
224 webkitgtk_h_api :=
225 webkitgtk_sources :=
226 webkitgtk_cppflags :=
227 webkitgtk_built_sources :=
228 webkitgtk_built_nosources :=
229 webkitgtk_cleanfiles :=
230
231 nodist_libwebkit_1_0_la_SOURCES = \
232         $(webkitgtk_built_sources)
233
234 libwebkit_1_0_ladir = $(prefix)/include/webkit-1.0/webkit
235 libwebkit_1_0_la_HEADERS = \
236         $(webkitgtk_h_api) \
237         WebKit/gtk/webkit/webkitenumtypes.h
238
239 libwebkit_1_0_la_SOURCES = \
240         $(webkitgtk_sources)
241
242 libwebkit_1_0_la_CXXFLAGS = \
243         $(libWebCore_la_CXXFLAGS)
244
245 libwebkit_1_0_la_CFLAGS = \
246         $(libWebCore_la_CFLAGS) \
247         $(GNOMEKEYRING_CFLAGS)
248
249 libwebkit_1_0_la_CPPFLAGS = \
250         $(libWebCore_la_CPPFLAGS) \
251         $(webkitgtk_cppflags)
252
253 libwebkit_1_0_la_LDFLAGS = \
254         $(COVERAGE_LDFLAGS) \
255         -version-info @LIBWEBKITGTK_VERSION@ \
256         $(version_script) \
257         $(no_undefined)
258
259 libwebkit_1_0_la_LIBADD = \
260         libWebCore.la \
261         $(ENCHANT_LIBS) \
262         $(GNOMEKEYRING_LIBS)
263
264 #
265 # Extra checks and flags
266 global_cppflags += \
267         -DBUILDING_CAIRO__=1 \
268         -DBUILDING_GTK__=1 \
269         -DWTF_CHANGES \
270         -DPACKAGE_LOCALE_DIR=\"$(localedir)\"
271
272 if !ENABLE_FAST_MALLOC
273 global_cppflags += \
274         -DUSE_SYSTEM_MALLOC
275 endif
276
277 if TARGET_X11
278 global_cppflags += -DXP_UNIX
279 endif
280
281 if !ENABLE_DEBUG
282 global_cppflags += -DNDEBUG
283 else
284 webcoregtk_cppflags += \
285         -DG_DISABLE_DEPRECATED \
286         -DGDK_PIXBUF_DISABLE_DEPRECATED \
287         -DGDK_DISABLE_DEPRECATED \
288         -DGTK_DISABLE_DEPRECATED \
289         -DPANGO_DISABLE_DEPRECATED
290
291 # Might be useful in the future
292 #       -DGDK_MULTIHEAD_SAFE \
293 #       -DGTK_MULTIHEAD_SAFE
294 endif
295
296 if !ENABLE_DATABASE
297 global_cppflags += -DENABLE_DATABASE=0
298 endif
299
300 if !ENABLE_ICONDATABASE
301 global_cppflags += -DENABLE_ICONDATABASE=0
302 endif
303
304 if ENABLE_COVERAGE
305 global_cppflags += \
306         -DGCC_GENERATE_TEST_COVERAGE_FILES \
307         -DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS
308 endif
309
310 if ENABLE_VIDEO
311 webcore_libadd += -lgstinterfaces-0.10 -lgstvideo-0.10
312 endif
313
314 webkitgtk_h_api += \
315         WebKit/gtk/webkit/webkit.h \
316         WebKit/gtk/webkit/webkitdefines.h \
317         WebKit/gtk/webkit/webkitdownload.h \
318         WebKit/gtk/webkit/webkiterror.h \
319         WebKit/gtk/webkit/webkitnetworkrequest.h \
320         WebKit/gtk/webkit/webkitsoupauthdialog.h \
321         WebKit/gtk/webkit/webkitversion.h \
322         WebKit/gtk/webkit/webkitwebbackforwardlist.h \
323         WebKit/gtk/webkit/webkitwebframe.h \
324         WebKit/gtk/webkit/webkitwebhistoryitem.h \
325         WebKit/gtk/webkit/webkitwebinspector.h \
326         WebKit/gtk/webkit/webkitwebnavigationaction.h \
327         WebKit/gtk/webkit/webkitwebpolicydecision.h \
328         WebKit/gtk/webkit/webkitwebsettings.h \
329         WebKit/gtk/webkit/webkitwebwindowfeatures.h \
330         WebKit/gtk/webkit/webkitwebview.h
331
332 webkitgtk_built_sources += \
333         DerivedSources/webkitenumtypes.cpp \
334         DerivedSources/webkitmarshal.cpp \
335         DerivedSources/webkitmarshal.h \
336         WebKit/gtk/webkit/webkitenumtypes.h
337
338 webkitgtk_sources += \
339         WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp \
340         WebKit/gtk/WebCoreSupport/ChromeClientGtk.h \
341         WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp \
342         WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.h \
343         WebKit/gtk/WebCoreSupport/DragClientGtk.cpp \
344         WebKit/gtk/WebCoreSupport/DragClientGtk.h \
345         WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp \
346         WebKit/gtk/WebCoreSupport/EditorClientGtk.h \
347         WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp \
348         WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h \
349         WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp \
350         WebKit/gtk/WebCoreSupport/InspectorClientGtk.h \
351         WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.cpp \
352         WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.h \
353         WebKit/gtk/webkit/webkitdownload.cpp \
354         WebKit/gtk/webkit/webkiterror.cpp \
355         WebKit/gtk/webkit/webkitnetworkrequest.cpp \
356         WebKit/gtk/webkit/webkitprivate.cpp \
357         WebKit/gtk/webkit/webkitprivate.h \
358         WebKit/gtk/webkit/webkitsoupauthdialog.c \
359         WebKit/gtk/webkit/webkitversion.cpp \
360         WebKit/gtk/webkit/webkitwebbackforwardlist.cpp \
361         WebKit/gtk/webkit/webkitwebframe.cpp \
362         WebKit/gtk/webkit/webkitwebhistoryitem.cpp \
363         WebKit/gtk/webkit/webkitwebinspector.cpp \
364         WebKit/gtk/webkit/webkitwebnavigationaction.cpp \
365         WebKit/gtk/webkit/webkitwebpolicydecision.cpp \
366         WebKit/gtk/webkit/webkitwebsettings.cpp \
367         WebKit/gtk/webkit/webkitwebview.cpp \
368         WebKit/gtk/webkit/webkitwebwindowfeatures.cpp
369
370 webkitgtk_cppflags += \
371         -DBUILDING_WEBKIT \
372         -I$(srcdir)/WebKit/gtk \
373         -I$(srcdir)/WebKit/gtk/WebCoreSupport \
374         -I$(srcdir)/WebKit/gtk/webkit \
375         -I$(top_builddir)/WebKit/gtk/webkit
376
377 webkitgtk_cleanfiles += \
378         $(top_builddir)/Programs/GtkLauncher \
379         $(top_builddir)/WebKit/gtk/webkit-1.0.pc \
380         $(top_builddir)/WebKit/gtk/webkit/webkitenumtypes.h
381
382 pkgconfigdir = $(libdir)/pkgconfig
383 pkgconfig_DATA = WebKit/gtk/webkit-1.0.pc
384
385 stamp_files := \
386         stamp-webkitmarshal.cpp \
387         stamp-webkitmarshal.h \
388         stamp-webkitenumtypes.cpp \
389         stamp-webkitenumtypes.h
390
391 WEBKIT_MARSHAL = $(GENSOURCES)/webkitmarshal
392 WEBKIT_MARSHAL_LIST = $(top_srcdir)/WebKit/gtk/webkitmarshal.list
393
394 $(WEBKIT_MARSHAL).cpp: stamp-webkitmarshal.cpp
395         @true
396
397 $(WEBKIT_MARSHAL).h: stamp-webkitmarshal.h
398         @true
399
400 stamp-webkitmarshal.cpp: $(WEBKIT_MARSHAL_LIST)
401         echo "extern \"C\" {" > $(WEBKIT_MARSHAL).cpp && \
402         $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --body >> $(WEBKIT_MARSHAL).cpp && echo '}' >> $(WEBKIT_MARSHAL).cpp && \
403         echo timestamp > $(@F)
404
405 stamp-webkitmarshal.h: $(WEBKIT_MARSHAL_LIST)
406         $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --header > $(WEBKIT_MARSHAL).h && \
407         echo timestamp > $(@F)
408
409 WebKit/gtk/webkit/webkitenumtypes.h: stamp-webkitenumtypes.h
410         @true
411 stamp-webkitenumtypes.h: $(webkitgtk_h_api) GNUmakefile
412         (cd $(srcdir) \
413         && glib-mkenums \
414                         --fhead "#ifndef WEBKIT_ENUM_TYPES_H\n" \
415                         --fhead "#define WEBKIT_ENUM_TYPES_H\n\n" \
416                         --fhead "#include <glib-object.h>\n\n" \
417                         --fhead "#include <webkit/webkitdefines.h>\n\n" \
418                         --fhead "G_BEGIN_DECLS\n\n" \
419                         --ftail "G_END_DECLS\n\n" \
420                         --ftail "#endif\n" \
421                         --fprod "#include <@filename@>\n\n" \
422                         --eprod "#define WEBKIT_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n\n" \
423                         --eprod "WEBKIT_API GType\n@enum_name@_get_type(void);\n\n" \
424                 $(webkitgtk_h_api) | \
425                 sed 's,WebKit/gtk/,,' | \
426                 sed 's,web_kit,webkit,' | \
427                 sed 's,WEBKIT_TYPE_KIT,WEBKIT_TYPE,' \
428                 ) > xgen-gth \
429         && (cmp -s xgen-gth WebKit/gtk/webkit/webkitenumtypes.h || cp xgen-gth WebKit/gtk/webkit/webkitenumtypes.h) \
430         && rm -f xgen-gth \
431         && echo timestamp > $(@F)
432
433 DerivedSources/webkitenumtypes.cpp: $(webkitgtk_h_api) GNUmakefile
434         (cd $(srcdir) \
435         && glib-mkenums \
436                         --fhead "#include <config.h>\n" \
437                         --fhead "#include <glib-object.h>\n" \
438                         --fhead "#include \"$(top_builddir)/WebKit/gtk/webkit/webkitenumtypes.h\"\n\n" \
439                         --fhead "extern \"C\" {\n\n" \
440                         --fprod "\n/* enumerations from \"@filename@\" */" \
441                         --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
442                         --vprod "    { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
443                         --vtail "    { 0, NULL, NULL }\n};\n\n" \
444                         --vtail "GType @enum_name@_get_type(void)\n{\n" \
445                         --vtail "    static GType type = 0;\n\n" \
446                         --vtail "    if (!type)\n" \
447                         --vtail "        type = g_@type@_register_static(\"@EnumName@\", _@enum_name@_values);\n\n" \
448                         --vtail "    return type;\n}\n\n" \
449                         --ftail "}\n" \
450                 $(webkitgtk_h_api) | \
451                 sed 's,web_kit,webkit,' \
452                 ) > xgen-gtc \
453         && cp xgen-gtc $@ \
454         && rm -f xgen-gtc
455
456 # Files that will be distributed
457 EXTRA_DIST = \
458         WebKit/LICENSE \
459         $(javascriptcore_dist) \
460         $(webcore_dist) \
461         $(srcdir)/autotools/symbols.filter \
462         $(srcdir)/WebKit/gtk/ChangeLog \
463         $(srcdir)/WebKit/gtk/NEWS \
464         $(srcdir)/WebKit/gtk/webkitmarshal.list \
465         $(srcdir)/WebKit/gtk/docs/GNUmakefile.* \
466         $(srcdir)/WebKit/gtk/docs/webkitenvironment.xml \
467         $(srcdir)/WebKit/gtk/docs/webkitgtk-docs.sgml \
468         $(srcdir)/WebKit/gtk/docs/webkitgtk-sections.txt \
469         $(srcdir)/WebKit/gtk/docs/version.xml.in \
470         $(srcdir)/WebKit/gtk/po/* \
471         $(srcdir)/WebKit/gtk/resources/*
472
473 # extra resource files
474 resourcesdir = ${datadir}/webkit-1.0/resources
475 dist_resources_DATA = \
476         $(shell ls $(srcdir)/WebKit/gtk/resources/*.html)
477
478 # END WEBKIT GTK+
479
480 # Files that will be cleaned
481 MAINTAINERCLEANFILES := $(stamp_files) $(BUILT_SOURCES) doltcompile doltlibtool WebKit/gtk/docs/version.xml WebKit/gtk/docs/GNUmakefile
482 DISTCLEANFILES := $(stamp_files) $(BUILT_SOURCES) doltcompile doltlibtool WebKit/gtk/docs/version.xml WebKit/gtk/docs/GNUmakefile
483 CLEANFILES := $(stamp_files) $(BUILT_SOURCES) WebKit/gtk/docs/GNUmakefile
484
485 # Include module makefiles
486 include JavaScriptCore/GNUmakefile.am
487 include WebCore/GNUmakefile.am
488 include WebKitTools/GNUmakefile.am
489 include WebKit/gtk/po/GNUmakefile.am
490
491 # Build unit tests
492 noinst_PROGRAMS += $(TEST_PROGS)
493
494 webkit_tests_cflags = \
495         -fno-strict-aliasing \
496         -O2 \
497         -I$(srcdir)/JavaScriptCore/ForwardingHeaders \
498         -I$(srcdir)/WebKit/gtk \
499         -I$(top_builddir)/WebKit/gtk \
500         $(global_cflags) \
501         $(GLIB_CFLAGS) \
502         $(GTK_CFLAGS) \
503         $(LIBSOUP_CFLAGS)
504
505 webkit_tests_ldadd = \
506         libwebkit-1.0.la \
507         $(GTK_LIBS)     \
508         $(GLIB_LIBS) \
509         $(LIBSOUP_LIBS)
510
511 TEST_PROGS += Programs/unittests/testwebframe \
512         Programs/unittests/testwebbackforwardlist \
513         Programs/unittests/testwebhistoryitem \
514         Programs/unittests/testdownload
515
516 # Add additional tests here
517 Programs_unittests_testwebframe_SOURCES = WebKit/gtk/tests/testwebframe.c
518 Programs_unittests_testwebframe_CFLAGS = $(webkit_tests_cflags)
519 Programs_unittests_testwebframe_LDADD = $(webkit_tests_ldadd)
520
521 Programs_unittests_testwebbackforwardlist_SOURCES = WebKit/gtk/tests/testwebbackforwardlist.c
522 Programs_unittests_testwebbackforwardlist_CFLAGS = $(webkit_tests_cflags)
523 Programs_unittests_testwebbackforwardlist_LDADD = $(webkit_tests_ldadd)
524
525 Programs_unittests_testwebhistoryitem_SOURCES = WebKit/gtk/tests/testwebhistoryitem.c
526 Programs_unittests_testwebhistoryitem_CFLAGS = $(webkit_tests_cflags)
527 Programs_unittests_testwebhistoryitem_LDADD = $(webkit_tests_ldadd)
528
529 Programs_unittests_testdownload_SOURCES = WebKit/gtk/tests/testdownload.c
530 Programs_unittests_testdownload_CFLAGS = $(webkit_tests_cflags)
531 Programs_unittests_testdownload_LDADD = $(webkit_tests_ldadd)
532
533 # Autogenerated sources
534 BUILT_SOURCES := \
535         $(javascriptcore_built_sources) \
536         $(javascriptcore_built_nosources) \
537         $(webcore_built_sources) \
538         $(webcore_built_nosources) \
539         $(webkitgtk_built_sources) \
540         $(webkitgtk_built_nosources)
541
542 # Project-wide clean rules
543 CLEANFILES += \
544         $(webkitgtk_cleanfiles)
545
546 MAINTAINERCLEANFILES += \
547         $(srcdir)/aconfig.h.in \
548         $(srcdir)/autotools/config.* \
549         $(srcdir)/autotools/compile \
550         $(srcdir)/autotools/depcomp \
551         $(srcdir)/autotools/install-sh \
552         $(srcdir)/autotools/missing \
553         $(srcdir)/configure \
554         $(srcdir)/GNUmakefile.in \
555         $(srcdir)/INSTALL \
556         $(srcdir)/README \
557         $(top_builddir)/config.*
558
559 # Older automake versions (1.7) place Plo files in a different place so we need
560 # to create the output directory manually.
561 all-local: stamp-po
562         $(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources
563
564 # remove built sources and program directories
565 clean-local:
566         -rm -rf $(GENPROGRAMS)
567
568 maintainer-clean-local: distclean-local
569
570 distclean-local:
571         -rm -rf $(GENSOURCES) $(GENPROGRAMS)
572
573 install-data-local: po-install-data-local
574
575 installdirs-data-local: po-installdirs-data-local
576
577 uninstall-local: po-uninstall-local