1# Example for use of GNU gettext. 2# This file is in the public domain. 3# 4# Makefile configuration - processed by automake. 5 6# General automake options. 7AUTOMAKE_OPTIONS = foreign no-dependencies 8ACLOCAL_AMFLAGS = -I m4 9 10# The list of subdirectories containing Makefiles. 11SUBDIRS = m4 po 12 13# The list of programs that are built. 14bin_PROGRAMS = hello 15 16# The source files of the 'hello' program. 17hello_SOURCES = hello.cc hellowindow.cc 18 19# Use 'moc' for QObject subclasses. 20METASOURCES = AUTO 21 22# Define a C macro LOCALEDIR indicating where catalogs will be installed. 23DEFS = -DPREFIX=\"$(prefix)\" @DEFS@ 24 25# Make sure the KDE, Qt, X include file is found. 26AM_CPPFLAGS = $(KDE_INCLUDES) $(QT_INCLUDES) $(X_INCLUDES) 27 28# CXXFLAGS += $(QT_CXXFLAGS) $(PTHREAD_CFLAGS) 29 30# Link time dependencies. 31LDADD = $(KDE_LDFLAGS) $(QT_LDFLAGS) 32LIBS += $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) 33 34# Generic KDE build mechanism. 35 36$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs 37 cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ; 38 39$(top_srcdir)/subdirs: 40 cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs 41 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 44 45MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files 46 47package-messages: 48 $(MAKE) -f admin/Makefile.common package-messages 49 $(MAKE) -C po merge 50 51dist-hook: 52 cd $(top_distdir) && perl admin/am_edit -padmin 53 cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs 54 55# Additional files to be distributed. 56EXTRA_DIST = admin/config.rpath autogen.sh autoclean.sh 57