transmision: upgrade 2.22 -> 2.31
[tomato.git] / release / src / router / gettext / gettext-tools / examples / hello-c++-kde / Makefile.am
blob4f3a422942a8415ac704eabead82d383857fc7b6
1 # Example for use of GNU gettext.
2 # Copyright (C) 2003 Free Software Foundation, Inc.
3 # This file is in the public domain.
5 # Makefile configuration - processed by automake.
7 # General automake options.
8 AUTOMAKE_OPTIONS = foreign no-dependencies
9 ACLOCAL_AMFLAGS = -I m4 
11 # The list of subdirectories containing Makefiles.
12 SUBDIRS = m4 po
14 # The list of programs that are built.
15 bin_PROGRAMS = hello
17 # The source files of the 'hello' program.
18 hello_SOURCES = hello.cc hellowindow.cc
20 # Use 'moc' for QObject subclasses.
21 METASOURCES = AUTO
23 # Define a C macro LOCALEDIR indicating where catalogs will be installed.
24 localedir = $(datadir)/locale
25 DEFS = -DPREFIX=\"$(prefix)\" @DEFS@
27 # Make sure the KDE, Qt, X include file is found.
28 AM_CPPFLAGS = $(KDE_INCLUDES) $(QT_INCLUDES) $(X_INCLUDES)
30 # CXXFLAGS += $(QT_CXXFLAGS) $(PTHREAD_CFLAGS)
32 # Link time dependencies.
33 LDADD = $(KDE_LDFLAGS) $(QT_LDFLAGS)
34 LIBS += $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT)
36 # Generic KDE build mechanism.
38 $(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
39         cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
41 $(top_srcdir)/subdirs:
42         cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
44 $(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
45         @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
47 MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files 
49 package-messages:
50         $(MAKE) -f admin/Makefile.common package-messages
51         $(MAKE) -C po merge
53 dist-hook:
54         cd $(top_distdir) && perl admin/am_edit -padmin
55         cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
57 # Additional files to be distributed.
58 EXTRA_DIST = admin/config.rpath  autogen.sh autoclean.sh