summaryrefslogtreecommitdiff
path: root/gettext-tools/examples/hello-c-gnome/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/examples/hello-c-gnome/Makefile.am')
-rw-r--r--gettext-tools/examples/hello-c-gnome/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/gettext-tools/examples/hello-c-gnome/Makefile.am b/gettext-tools/examples/hello-c-gnome/Makefile.am
new file mode 100644
index 0000000..ef6ea73
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/Makefile.am
@@ -0,0 +1,29 @@
+# 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.c
+
+# Define a C macro LOCALEDIR indicating where catalogs will be installed.
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
+# Make sure the gnome.h include file is found.
+AM_CPPFLAGS = $(GNOME_INCLUDEDIR)
+
+# Link time dependencies.
+LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS) @LIBINTL@
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh