summaryrefslogtreecommitdiff
path: root/gettext-tools/examples/hello-c++-qt/Makefile.am
blob: 44b29ffc2bc248b5a55903821a3a9c45c17b9a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Example for use of GNU gettext.
# This file is in the public domain.
#
# Makefile configuration - processed by automake.

# General automake options.
AUTOMAKE_OPTIONS = foreign no-dependencies
ACLOCAL_AMFLAGS = -I m4

# The list of subdirectories containing Makefiles.
SUBDIRS = m4 po

# The list of programs that are built.
bin_PROGRAMS = hello

# The source files of the 'hello' program.
hello_SOURCES = hello.cc

# Define C macros LOCALEDIR and PKGLOCALEDIR indicating where catalogs will be
# installed.
pkglocaledir = $(pkgdatadir)/locale
DEFS = -DLOCALEDIR=\"$(localedir)\" -DPKGLOCALEDIR=\"$(pkglocaledir)\" @DEFS@

CXXFLAGS += $(QT_CXXFLAGS) $(PTHREAD_CFLAGS)

# Link time dependencies.
LDADD = $(QT_LDFLAGS)
LIBS += $(QT_LIBS)

# Additional files to be distributed.
EXTRA_DIST = autogen.sh autoclean.sh