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