Install gettext-0.18.1.1.tar.gz
[msysgit.git] / mingw / share / doc / gettext / examples / hello-pascal / Makefile.am
blobb37d1a83e3ed0de924d3250aa7c67b3dafe35014
1 # Example for use of GNU gettext.
2 # This file is in the public domain.
4 # Makefile configuration - processed by automake.
6 # General automake options.
7 AUTOMAKE_OPTIONS = foreign
8 ACLOCAL_AMFLAGS = -I m4
10 # The list of subdirectories containing Makefiles.
11 SUBDIRS = m4 po
13 # The list of programs that are built.
14 bin_PASCALPROGRAMS = hello
16 # The source files of the 'hello' program.
17 hello_SOURCES = hello.pas
19 # Additional files to be distributed.
20 EXTRA_DIST = autogen.sh autoclean.sh
22 # ---------------- General rules for compiling Pascal programs ----------------
24 all-local: hello$(EXEEXT)
26 # How to build the 'hello' program.
27 hello$(EXEEXT) hello.rst: $(hello_SOURCES)
28         LOCALEDIR='@localedir@' $(PPC) $(hello_SOURCES)
30 install-exec-local: all-local
31         $(mkdir_p) $(DESTDIR)$(bindir)
32         $(INSTALL_PROGRAM) hello$(EXEEXT) $(DESTDIR)$(bindir)/hello$(EXEEXT)
34 installdirs-local:
35         $(mkdir_p) $(DESTDIR)$(bindir)
37 uninstall-local:
38         rm -f $(DESTDIR)$(bindir)/hello$(EXEEXT)
40 # Distribute the RST file because it's needed to generate POT files and can
41 # only be rebuilt on those platforms to which the Pascal compiler is ported.
42 EXTRA_DIST += hello.rst
44 # The list of auxiliary files generated during the compilation.
45 CLEANFILES = hello.o hello$(EXEEXT)