1 # Example for use of GNU gettext.
2 # Copyright (C) 2003 Free Software Foundation, Inc.
3 # This file is in the public domain.
5 # Makefile configuration - processed by automake.
7 # General automake options.
8 AUTOMAKE_OPTIONS = foreign no-dependencies
9 ACLOCAL_AMFLAGS = -I m4
11 # The list of subdirectories containing Makefiles.
14 # The list of programs that are built.
17 # The source files of the 'hello' program.
18 hello_SOURCES = hello.cc gettext.h
20 # Define a C macro LOCALEDIR indicating where catalogs will be installed.
21 localedir = $(datadir)/locale
22 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
24 # Make sure the gettext.h include file is found.
25 AM_CPPFLAGS = -I. -I$(srcdir)
27 # Link time dependencies.
28 LDADD = @LIBASPRINTF@ @LIBINTL@
30 # Additional files to be distributed.
31 EXTRA_DIST = autogen.sh autoclean.sh