1 # Example for use of GNU gettext.
2 # This file is in the public domain.
4 # Makefile configuration - processed by automake.
6 # General automake options.
7 AUTOMAKE_OPTIONS = foreign no-dependencies
8 ACLOCAL_AMFLAGS = -I m4
10 # The list of subdirectories containing Makefiles.
13 # The list of programs that are built.
16 # The source files of the 'hello' program.
17 hello_SOURCES = hello.cc hellowindow.cc
19 # Use 'moc' for QObject subclasses.
22 # Define a C macro LOCALEDIR indicating where catalogs will be installed.
23 DEFS = -DPREFIX=\"$(prefix)\" @DEFS@
25 # Make sure the KDE, Qt, X include file is found.
26 AM_CPPFLAGS = $(KDE_INCLUDES) $(QT_INCLUDES) $(X_INCLUDES)
28 # CXXFLAGS += $(QT_CXXFLAGS) $(PTHREAD_CFLAGS)
30 # Link time dependencies.
31 LDADD = $(KDE_LDFLAGS) $(QT_LDFLAGS)
32 LIBS += $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT)
34 # Generic KDE build mechanism.
36 $(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
37 cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
39 $(top_srcdir)/subdirs:
40 cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
42 $(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
43 @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
45 MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
48 $(MAKE) -f admin/Makefile.common package-messages
52 cd $(top_distdir) && perl admin/am_edit -padmin
53 cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
55 # Additional files to be distributed.
56 EXTRA_DIST = admin/config.rpath autogen.sh autoclean.sh