Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-runtime / libasprintf / Makefile.gnulib
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2015 Free Software Foundation, Inc.
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
17 #
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
22 #
23 # Generated by gnulib-tool.
24 # Reproduce by: gnulib-tool --import --local-dir=gnulib-local --lib=libgnu --source-base=. --m4-base=gnulib-m4 --doc-base=doc --tests-base=tests --aux-dir=../../build-aux --lgpl=2 --makefile-name=Makefile.gnulib --no-conditional-dependencies --libtool --macro-prefix=gl alloca errno verify xsize
25
26
27 MOSTLYCLEANFILES += core *.stackdump
28
29 noinst_LTLIBRARIES += libgnu.la
30
31 libgnu_la_SOURCES =
32 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
33 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
34 EXTRA_libgnu_la_SOURCES =
35 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
36 libgnu_la_LDFLAGS += -no-undefined
37
38 ## begin gnulib module absolute-header
39
40 # Use this preprocessor expression to decide whether #include_next works.
41 # Do not rely on a 'configure'-time test for this, since the expression
42 # might appear in an installed header, which is used by some other compiler.
43 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
44
45 ## end   gnulib module absolute-header
46
47 ## begin gnulib module alloca
48
49
50 libgnu_la_LIBADD += @LTALLOCA@
51 libgnu_la_DEPENDENCIES += @LTALLOCA@
52 EXTRA_DIST += alloca.c
53
54 EXTRA_libgnu_la_SOURCES += alloca.c
55
56 ## end   gnulib module alloca
57
58 ## begin gnulib module alloca-opt
59
60 BUILT_SOURCES += $(ALLOCA_H)
61
62 # We need the following in order to create <alloca.h> when the system
63 # doesn't have one that works with the given compiler.
64 if GL_GENERATE_ALLOCA_H
65 alloca.h: alloca.in.h $(top_builddir)/config.status
66         $(AM_V_GEN)rm -f $@-t $@ && \
67         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
68           cat $(srcdir)/alloca.in.h; \
69         } > $@-t && \
70         mv -f $@-t $@
71 else
72 alloca.h: $(top_builddir)/config.status
73         rm -f $@
74 endif
75 MOSTLYCLEANFILES += alloca.h alloca.h-t
76
77 EXTRA_DIST += alloca.in.h
78
79 ## end   gnulib module alloca-opt
80
81 ## begin gnulib module errno
82
83 BUILT_SOURCES += $(ERRNO_H)
84
85 # We need the following in order to create <errno.h> when the system
86 # doesn't have one that is POSIX compliant.
87 if GL_GENERATE_ERRNO_H
88 errno.h: errno.in.h $(top_builddir)/config.status
89         $(AM_V_GEN)rm -f $@-t $@ && \
90         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
91           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
92               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
93               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
94               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
95               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
96               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
97               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
98               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
99               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
100               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
101               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
102               < $(srcdir)/errno.in.h; \
103         } > $@-t && \
104         mv $@-t $@
105 else
106 errno.h: $(top_builddir)/config.status
107         rm -f $@
108 endif
109 MOSTLYCLEANFILES += errno.h errno.h-t
110
111 EXTRA_DIST += errno.in.h
112
113 ## end   gnulib module errno
114
115 ## begin gnulib module size_max
116
117 libgnu_la_SOURCES += size_max.h
118
119 ## end   gnulib module size_max
120
121 ## begin gnulib module verify
122
123
124 EXTRA_DIST += verify.h
125
126 ## end   gnulib module verify
127
128 ## begin gnulib module xsize
129
130 libgnu_la_SOURCES += xsize.h xsize.c
131
132 ## end   gnulib module xsize
133
134
135 mostlyclean-local: mostlyclean-generic
136         @for dir in '' $(MOSTLYCLEANDIRS); do \
137           if test -n "$$dir" && test -d $$dir; then \
138             echo "rmdir $$dir"; rmdir $$dir; \
139           fi; \
140         done; \
141         :