Tag
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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
## Makefile for the srclib subdirectory of GNU libiconv
## Copyright (C) 2003 Free Software Foundation, Inc.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, or (at your option)
## any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
## Process this file with automake to produce Makefile.in.
AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
EXTRA_DIST =
MOSTLYCLEANFILES =
RM = rm -f
noinst_LIBRARIES = libicrt.a
# Sources that are compiled on all platforms.
libicrt_a_SOURCES = \
error.h error.c \
exit.h \
pathmax.h \
progname.h progname.c progreloc.c \
unlocked-io.h \
xmalloc.h xmalloc.c xstrdup.c \
xreadlink.h xreadlink.c
# Sources that are compiled only on platforms that lack the functions.
LIBADD_SOURCE = \
alloca.c \
canonicalize.h canonicalize.c \
memmove.c \
relocatable.h relocatable.c \
setenv.h setenv.c unsetenv.c \
strerror.c
# How to build libicrt.a.
libicrt_a_LIBADD = @ALLOCA@ @LIBOBJS@
# List of files to be distributed.
EXTRA_DIST += \
$(LIBADD_SOURCE) relocwrapper.c
INCLUDES = -I. -I$(srcdir)
DEFS = -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 @DEFS@
# >>> gnulib module stdbool.
EXTRA_DIST += stdbool.h.in
# The following is needed in order to create an <stdbool.h> when the system
# doesn't have one that works.
all-local $(libicrt_a_OBJECTS): @STDBOOL_H@
stdbool.h: stdbool.h.in
sed -e 's/@''HAVE__BOOL''@/@HAVE__BOOL@/g' < $(srcdir)/stdbool.h.in > stdbool.h
MOSTLYCLEANFILES += stdbool.h
# <<< gnulib module stdbool.
# >>> gnulib module alloca.
EXTRA_DIST += alloca_.h
# The following is needed in order to create an <alloca.h> when the system
# doesn't have one that works with the given compiler.
all-local $(libicrt_a_OBJECTS): @ALLOCA_H@
alloca.h: alloca_.h
cp $(srcdir)/alloca_.h alloca.h
MOSTLYCLEANFILES += alloca.h
# <<< gnulib module alloca.
# Woe32 support.
EXTRA_DIST += Makefile.msvc