xref: /netbsd-src/external/gpl2/gettext/dist/gettext-tools/examples/hello-c++/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 gettext.h
19
20# Define a C macro LOCALEDIR indicating where catalogs will be installed.
21DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
22
23# Make sure the gettext.h include file is found.
24AM_CPPFLAGS = -I. -I$(srcdir)
25
26# Link time dependencies.
27LDADD = @LIBASPRINTF@ @LIBINTL@
28
29# Additional files to be distributed.
30EXTRA_DIST = autogen.sh autoclean.sh
31