Imported Upstream version 0.18.1.1
[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-2010 Free Software Foundation, Inc.
4 #
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License.  As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
10 #
11 # Generated by gnulib-tool.
12 # 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 --libtool --macro-prefix=gl alloca errno
13
14
15 MOSTLYCLEANFILES += core *.stackdump
16
17 noinst_LTLIBRARIES += libgnu.la
18
19 libgnu_la_SOURCES =
20 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
21 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
22 EXTRA_libgnu_la_SOURCES =
23 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
24
25 ## begin gnulib module alloca
26
27
28 EXTRA_DIST += alloca.c
29
30 EXTRA_libgnu_la_SOURCES += alloca.c
31
32 libgnu_la_LIBADD += @LTALLOCA@
33 libgnu_la_DEPENDENCIES += @LTALLOCA@
34 ## end   gnulib module alloca
35
36 ## begin gnulib module alloca-opt
37
38 BUILT_SOURCES += $(ALLOCA_H)
39
40 # We need the following in order to create <alloca.h> when the system
41 # doesn't have one that works with the given compiler.
42 alloca.h: alloca.in.h
43         $(AM_V_GEN)rm -f $@-t $@ && \
44         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
45           cat $(srcdir)/alloca.in.h; \
46         } > $@-t && \
47         mv -f $@-t $@
48 MOSTLYCLEANFILES += alloca.h alloca.h-t
49
50 EXTRA_DIST += alloca.in.h
51
52 ## end   gnulib module alloca-opt
53
54 ## begin gnulib module errno
55
56 BUILT_SOURCES += $(ERRNO_H)
57
58 # We need the following in order to create <errno.h> when the system
59 # doesn't have one that is POSIX compliant.
60 errno.h: errno.in.h
61         $(AM_V_GEN)rm -f $@-t $@ && \
62         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
63           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
64               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
65               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
66               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
67               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
68               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
69               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
70               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
71               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
72               < $(srcdir)/errno.in.h; \
73         } > $@-t && \
74         mv $@-t $@
75 MOSTLYCLEANFILES += errno.h errno.h-t
76
77 EXTRA_DIST += errno.in.h
78
79 ## end   gnulib module errno
80
81 ## begin gnulib module dummy
82
83 libgnu_la_SOURCES += dummy.c
84
85 ## end   gnulib module dummy
86
87
88 mostlyclean-local: mostlyclean-generic
89         @for dir in '' $(MOSTLYCLEANDIRS); do \
90           if test -n "$$dir" && test -d $$dir; then \
91             echo "rmdir $$dir"; rmdir $$dir; \
92           fi; \
93         done; \
94         :