xref: /netbsd-src/external/gpl2/gettext/dist/gettext-tools/examples/hello-c++-qt/Makefile.am (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
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.
8AUTOMAKE_OPTIONS = foreign no-dependencies
9ACLOCAL_AMFLAGS = -I m4
10
11# The list of subdirectories containing Makefiles.
12SUBDIRS = m4 po
13
14# The list of programs that are built.
15bin_PROGRAMS = hello
16
17# The source files of the 'hello' program.
18hello_SOURCES = hello.cc
19
20# Define C macros LOCALEDIR and PKGLOCALEDIR indicating where catalogs will be
21# installed.
22pkglocaledir = $(pkgdatadir)/locale
23DEFS = -DLOCALEDIR=\"$(localedir)\" -DPKGLOCALEDIR=\"$(pkglocaledir)\" @DEFS@
24
25CXXFLAGS += $(QT_CXXFLAGS) $(PTHREAD_CFLAGS)
26
27# Link time dependencies.
28LDADD = $(QT_LDFLAGS)
29LIBS += $(QT_LIBS)
30
31# Additional files to be distributed.
32EXTRA_DIST = autogen.sh autoclean.sh
33