23d7f14a6ed62e8b5f1b1d08aa0c745c38645fd4
[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-2013 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 --dir=gettext-runtime/libasprintf --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 alloca
39
40
41 libgnu_la_LIBADD += @LTALLOCA@
42 libgnu_la_DEPENDENCIES += @LTALLOCA@
43 EXTRA_DIST += alloca.c
44
45 EXTRA_libgnu_la_SOURCES += alloca.c
46
47 ## end   gnulib module alloca
48
49 ## begin gnulib module alloca-opt
50
51 BUILT_SOURCES += $(ALLOCA_H)
52
53 # We need the following in order to create <alloca.h> when the system
54 # doesn't have one that works with the given compiler.
55 if GL_GENERATE_ALLOCA_H
56 alloca.h: alloca.in.h $(top_builddir)/config.status
57         $(AM_V_GEN)rm -f $@-t $@ && \
58         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
59           cat $(srcdir)/alloca.in.h; \
60         } > $@-t && \
61         mv -f $@-t $@
62 else
63 alloca.h: $(top_builddir)/config.status
64         rm -f $@
65 endif
66 MOSTLYCLEANFILES += alloca.h alloca.h-t
67
68 EXTRA_DIST += alloca.in.h
69
70 ## end   gnulib module alloca-opt
71
72 ## begin gnulib module errno
73
74 BUILT_SOURCES += $(ERRNO_H)
75
76 # We need the following in order to create <errno.h> when the system
77 # doesn't have one that is POSIX compliant.
78 if GL_GENERATE_ERRNO_H
79 errno.h: errno.in.h $(top_builddir)/config.status
80         $(AM_V_GEN)rm -f $@-t $@ && \
81         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
82           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
83               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
84               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
85               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
86               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
87               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
88               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
89               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
90               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
91               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
92               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
93               < $(srcdir)/errno.in.h; \
94         } > $@-t && \
95         mv $@-t $@
96 else
97 errno.h: $(top_builddir)/config.status
98         rm -f $@
99 endif
100 MOSTLYCLEANFILES += errno.h errno.h-t
101
102 EXTRA_DIST += errno.in.h
103
104 ## end   gnulib module errno
105
106 ## begin gnulib module size_max
107
108 libgnu_la_SOURCES += size_max.h
109
110 ## end   gnulib module size_max
111
112 ## begin gnulib module verify
113
114
115 EXTRA_DIST += verify.h
116
117 ## end   gnulib module verify
118
119 ## begin gnulib module xsize
120
121 libgnu_la_SOURCES += xsize.h xsize.c
122
123 ## end   gnulib module xsize
124
125
126 mostlyclean-local: mostlyclean-generic
127         @for dir in '' $(MOSTLYCLEANDIRS); do \
128           if test -n "$$dir" && test -d $$dir; then \
129             echo "rmdir $$dir"; rmdir $$dir; \
130           fi; \
131         done; \
132         :