• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/examples/hello-pascal/
1# Example for use of GNU gettext.
2# This file is in the public domain.
3#
4# Makefile configuration - processed by automake.
5
6# General automake options.
7AUTOMAKE_OPTIONS = foreign
8ACLOCAL_AMFLAGS = -I m4
9
10# The list of subdirectories containing Makefiles.
11SUBDIRS = m4 po
12
13# The list of programs that are built.
14bin_PASCALPROGRAMS = hello
15
16# The source files of the 'hello' program.
17hello_SOURCES = hello.pas
18
19# Additional files to be distributed.
20EXTRA_DIST = autogen.sh autoclean.sh
21
22# ---------------- General rules for compiling Pascal programs ----------------
23
24all-local: hello$(EXEEXT)
25
26# How to build the 'hello' program.
27hello$(EXEEXT) hello.rst: $(hello_SOURCES)
28	LOCALEDIR='@localedir@' $(PPC) $(hello_SOURCES)
29
30install-exec-local: all-local
31	$(mkdir_p) $(DESTDIR)$(bindir)
32	$(INSTALL_PROGRAM) hello$(EXEEXT) $(DESTDIR)$(bindir)/hello$(EXEEXT)
33
34installdirs-local:
35	$(mkdir_p) $(DESTDIR)$(bindir)
36
37uninstall-local:
38	rm -f $(DESTDIR)$(bindir)/hello$(EXEEXT)
39
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.
42EXTRA_DIST += hello.rst
43
44# The list of auxiliary files generated during the compilation.
45CLEANFILES = hello.o hello$(EXEEXT)
46