1# Example for use of GNU gettext. 2# Copyright (C) 2003 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 src-cht 13 14# The list of programs that are built. 15bin_PROGRAMS = chemtool src-cht/cht 16 17# The source files of the 'chemtool' program. 18chemtool_SOURCES = main.c draw.c graph.c chemproc.c undo.c inout.c templates.h gettext.h 19 20# Define a C macro LOCALEDIR indicating where catalogs will be installed. 21localedir = $(datadir)/locale 22DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ 23 24# Make sure the gettext.h include file is found. 25AM_CPPFLAGS = -I. -I$(srcdir) @GTK_CFLAGS@ 26 27# Link time dependencies. 28LDADD = @LIBINTL@ @GTK_LIBS@ @EMFLIBS@ 29 30# Additional files to be distributed. 31EXTRA_DIST = autogen.sh autoclean.sh 32 33# Manual files 34dist_man_MANS = chemtool.1 cht.1 35 36# Softlink installed program to batch version 37install-exec-hook: 38 cd $(DESTDIR)$(bindir) && \ 39 $(LN_S) chemtool chemtoolbg 40 41