File: Makefile.am

package info (click to toggle)
gettext 0.18.1.1-9
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 70,628 kB
  • sloc: ansic: 333,297; sh: 51,604; makefile: 8,355; perl: 4,181; lisp: 3,357; yacc: 665; java: 613; cs: 578; sed: 369; objc: 337; cpp: 325; awk: 80; tcl: 63; pascal: 11; php: 8
file content (45 lines) | stat: -rw-r--r-- 1,245 bytes parent folder | download | duplicates (3)
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)