blob: 41b73c678db58675d05bdd0c9ce0811f20cbd72e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Example for use of GNU gettext.
# This file is in the public domain.
#
# Makefile configuration - processed by automake.
# General automake options.
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
# The list of subdirectories containing Makefiles.
SUBDIRS = m4 po
# The list of programs that are built.
bin_PASCALPROGRAMS = hello
# The source files of the 'hello' program.
hello_SOURCES = hello.pas
# Additional files to be distributed.
EXTRA_DIST = autogen.sh autoclean.sh
# ---------------- General rules for compiling Pascal programs ----------------
all-local: hello$(EXEEXT)
# How to build the 'hello' program.
hello$(EXEEXT) hello.rst: $(hello_SOURCES)
LOCALEDIR='@localedir@' $(PPC) $(hello_SOURCES)
install-exec-local: all-local
$(MKDIR_P) $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) hello$(EXEEXT) $(DESTDIR)$(bindir)/hello$(EXEEXT)
installdirs-local:
$(MKDIR_P) $(DESTDIR)$(bindir)
uninstall-local:
rm -f $(DESTDIR)$(bindir)/hello$(EXEEXT)
# Distribute the RST file because it's needed to generate POT files and can
# only be rebuilt on those platforms to which the Pascal compiler is ported.
EXTRA_DIST += hello.rst
# The list of auxiliary files generated during the compilation.
CLEANFILES = hello.o hello$(EXEEXT)
|