~ubuntu-branches/ubuntu/breezy/gettext/breezy

« back to all changes in this revision

Viewing changes to gettext-runtime/lib/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2004-03-14 17:40:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314174002-p1ad5ldve1hqzhye
Tags: 0.14.1-2
* Added libexpat1-dev to Build-Depends, for glade support.
* Added libc0.1-dev to Build-Depends, for GNU/kFreeBSD.
* Removed special-casing of knetbsd-gnu in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Makefile for the gettext-runtime/lib subdirectory of GNU gettext
 
2
## Copyright (C) 1995-1998, 2000-2004 Free Software Foundation, Inc.
 
3
##
 
4
## This program is free software; you can redistribute it and/or modify
 
5
## it under the terms of the GNU General Public License as published by
 
6
## the Free Software Foundation; either version 2, or (at your option)
 
7
## any later version.
 
8
##
 
9
## This program is distributed in the hope that it will be useful,
 
10
## but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
## GNU General Public License for more details.
 
13
##
 
14
## You should have received a copy of the GNU General Public License
 
15
## along with this program; if not, write to the Free Software
 
16
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
17
 
 
18
## Process this file with automake to produce Makefile.in.
 
19
 
 
20
AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
 
21
EXTRA_DIST =
 
22
MOSTLYCLEANFILES =
 
23
 
 
24
noinst_LIBRARIES = libgrt.a
 
25
 
 
26
# Sources that are compiled on all platforms.
 
27
 
 
28
libgrt_a_SOURCES = \
 
29
  ../../gettext-tools/lib/basename.h ../../gettext-tools/lib/basename.c \
 
30
  ../../gettext-tools/lib/closeout.h ../../gettext-tools/lib/closeout.c \
 
31
  ../../gettext-tools/lib/error.h ../../gettext-tools/lib/error.c \
 
32
  ../../gettext-tools/lib/exit.h \
 
33
  ../../gettext-tools/lib/fwriteerror.h ../../gettext-tools/lib/fwriteerror.c \
 
34
  ../../gettext-tools/lib/getopt.h ../../gettext-tools/lib/getopt.c ../../gettext-tools/lib/getopt1.c \
 
35
  ../../gettext-tools/lib/pathmax.h \
 
36
  ../../gettext-tools/lib/progname.h ../../gettext-tools/lib/progname.c ../../gettext-tools/lib/progreloc.c \
 
37
  ../../gettext-tools/lib/strtoul.c \
 
38
  ../../gettext-tools/lib/unlocked-io.h \
 
39
  ../../gettext-tools/lib/xalloc.h ../../gettext-tools/lib/xmalloc.c ../../gettext-tools/lib/xstrdup.c \
 
40
  ../../gettext-tools/lib/xreadlink.h ../../gettext-tools/lib/xreadlink.c
 
41
 
 
42
# Sources that are compiled only on platforms that lack the functions.
 
43
 
 
44
LIBADD_SOURCE = \
 
45
  atexit.c \
 
46
  ../../gettext-tools/lib/canonicalize.h canonicalize.c \
 
47
  memmove.c \
 
48
  readlink.c \
 
49
  ../../gettext-tools/lib/relocatable.h relocatable.c \
 
50
  ../../gettext-tools/lib/setenv.h setenv.c unsetenv.c \
 
51
  strerror.c
 
52
 
 
53
# How to build libgrt.a.
 
54
 
 
55
libgrt_a_LIBADD = @LIBOBJS@
 
56
 
 
57
AM_CPPFLAGS = \
 
58
  -I. -I$(srcdir) \
 
59
  -I.. \
 
60
  -I../intl -I$(srcdir)/../intl \
 
61
  -I../../gettext-tools/lib -I$(srcdir)/../../gettext-tools/lib
 
62
 
 
63
DEFS = -DDEPENDS_ON_LIBINTL=1 @DEFS@
 
64
 
 
65
# List of files to be distributed.
 
66
 
 
67
EXTRA_DIST += $(LIBADD_SOURCE)
 
68
 
 
69
 
 
70
# >>> gnulib module stdbool.
 
71
EXTRA_DIST += ../../gettext-tools/lib/stdbool_.h
 
72
 
 
73
# The following is needed in order to create an <stdbool.h> when the system
 
74
# doesn't have one that works.
 
75
all-local $(libgrt_a_OBJECTS): @STDBOOL_H@
 
76
stdbool.h: ../../gettext-tools/lib/stdbool_.h
 
77
        sed -e 's/@''HAVE__BOOL''@/@HAVE__BOOL@/g' < $(srcdir)/../../gettext-tools/lib/stdbool_.h > stdbool.h
 
78
MOSTLYCLEANFILES += stdbool.h
 
79
# <<< gnulib module stdbool.
 
80
 
 
81
 
 
82
# >>> gnulib module alloca.
 
83
EXTRA_DIST += ../../gettext-tools/lib/alloca_.h
 
84
 
 
85
# The following is needed in order to create an <alloca.h> when the system
 
86
# doesn't have one that works with the given compiler.
 
87
all-local $(libgrt_a_OBJECTS): @ALLOCA_H@
 
88
alloca.h: ../../gettext-tools/lib/alloca_.h
 
89
        cp $(srcdir)/../../gettext-tools/lib/alloca_.h alloca.h
 
90
MOSTLYCLEANFILES += alloca.h
 
91
# <<< gnulib module alloca.
 
92
 
 
93
 
 
94
# VMS support.
 
95
 
 
96
EXTRA_DIST += Makefile.vms
 
97
 
 
98
 
 
99
# Woe32 support.
 
100
 
 
101
EXTRA_DIST += Makefile.msvc