Mercurial > emacs
comparison lib/gnulib.mk @ 112308:474d5026a5a2
Regenerate.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 08 Jan 2011 22:57:07 -0800 |
parents | f31011c088d9 |
children | babd014aab81 |
comparison
equal
deleted
inserted
replaced
112307:161cf5d0fd8b | 112308:474d5026a5a2 |
---|---|
7 # Public License, this file may be distributed as part of a program | 7 # Public License, this file may be distributed as part of a program |
8 # that contains a configuration script generated by Autoconf, under | 8 # that contains a configuration script generated by Autoconf, under |
9 # the same distribution terms as the rest of that program. | 9 # the same distribution terms as the rest of that program. |
10 # | 10 # |
11 # Generated by gnulib-tool. | 11 # Generated by gnulib-tool. |
12 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files ftoastr | 12 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files ftoastr mktime |
13 | 13 |
14 | 14 |
15 MOSTLYCLEANFILES += core *.stackdump | 15 MOSTLYCLEANFILES += core *.stackdump |
16 | 16 |
17 noinst_LIBRARIES += libgnu.a | 17 noinst_LIBRARIES += libgnu.a |
18 | 18 |
19 libgnu_a_SOURCES = | 19 libgnu_a_SOURCES = |
20 libgnu_a_LIBADD = $(gl_LIBOBJS) | 20 libgnu_a_LIBADD = $(gl_LIBOBJS) |
21 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) | 21 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) |
22 EXTRA_libgnu_a_SOURCES = | 22 EXTRA_libgnu_a_SOURCES = |
23 | |
24 ## begin gnulib module arg-nonnull | |
25 | |
26 # The BUILT_SOURCES created by this Makefile snippet are not used via #include | |
27 # statements but through direct file reference. Therefore this snippet must be | |
28 # present in all Makefile.am that need it. This is ensured by the applicability | |
29 # 'all' defined above. | |
30 | |
31 BUILT_SOURCES += arg-nonnull.h | |
32 # The arg-nonnull.h that gets inserted into generated .h files is the same as | |
33 # build-aux/arg-nonnull.h, except that it has the copyright header cut off. | |
34 arg-nonnull.h: $(top_srcdir)/./arg-nonnull.h | |
35 $(AM_V_GEN)rm -f $@-t $@ && \ | |
36 sed -n -e '/GL_ARG_NONNULL/,$$p' \ | |
37 < $(top_srcdir)/./arg-nonnull.h \ | |
38 > $@-t && \ | |
39 mv $@-t $@ | |
40 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t | |
41 | |
42 ARG_NONNULL_H=arg-nonnull.h | |
43 | |
44 EXTRA_DIST += $(top_srcdir)/./arg-nonnull.h | |
45 | |
46 ## end gnulib module arg-nonnull | |
47 | |
48 ## begin gnulib module c++defs | |
49 | |
50 # The BUILT_SOURCES created by this Makefile snippet are not used via #include | |
51 # statements but through direct file reference. Therefore this snippet must be | |
52 # present in all Makefile.am that need it. This is ensured by the applicability | |
53 # 'all' defined above. | |
54 | |
55 BUILT_SOURCES += c++defs.h | |
56 # The c++defs.h that gets inserted into generated .h files is the same as | |
57 # build-aux/c++defs.h, except that it has the copyright header cut off. | |
58 c++defs.h: $(top_srcdir)/./c++defs.h | |
59 $(AM_V_GEN)rm -f $@-t $@ && \ | |
60 sed -n -e '/_GL_CXXDEFS/,$$p' \ | |
61 < $(top_srcdir)/./c++defs.h \ | |
62 > $@-t && \ | |
63 mv $@-t $@ | |
64 MOSTLYCLEANFILES += c++defs.h c++defs.h-t | |
65 | |
66 CXXDEFS_H=c++defs.h | |
67 | |
68 EXTRA_DIST += $(top_srcdir)/./c++defs.h | |
69 | |
70 ## end gnulib module c++defs | |
23 | 71 |
24 ## begin gnulib module ftoastr | 72 ## begin gnulib module ftoastr |
25 | 73 |
26 libgnu_a_SOURCES += ftoastr.h ftoastr.c dtoastr.c ldtoastr.c | 74 libgnu_a_SOURCES += ftoastr.h ftoastr.c dtoastr.c ldtoastr.c |
27 | 75 |
32 | 80 |
33 EXTRA_DIST += intprops.h | 81 EXTRA_DIST += intprops.h |
34 | 82 |
35 ## end gnulib module intprops | 83 ## end gnulib module intprops |
36 | 84 |
85 ## begin gnulib module mktime | |
86 | |
87 | |
88 EXTRA_DIST += mktime-internal.h mktime.c | |
89 | |
90 EXTRA_libgnu_a_SOURCES += mktime.c | |
91 | |
92 ## end gnulib module mktime | |
93 | |
94 ## begin gnulib module stddef | |
95 | |
96 BUILT_SOURCES += $(STDDEF_H) | |
97 | |
98 # We need the following in order to create <stddef.h> when the system | |
99 # doesn't have one that works with the given compiler. | |
100 stddef.h: stddef.in.h | |
101 $(AM_V_GEN)rm -f $@-t $@ && \ | |
102 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
103 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
104 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
105 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
106 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ | |
107 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ | |
108 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ | |
109 < $(srcdir)/stddef.in.h; \ | |
110 } > $@-t && \ | |
111 mv $@-t $@ | |
112 MOSTLYCLEANFILES += stddef.h stddef.h-t | |
113 | |
114 EXTRA_DIST += stddef.in.h | |
115 | |
116 ## end gnulib module stddef | |
117 | |
118 ## begin gnulib module time | |
119 | |
120 BUILT_SOURCES += time.h | |
121 | |
122 # We need the following in order to create <time.h> when the system | |
123 # doesn't have one that works with the given compiler. | |
124 time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |
125 $(AM_V_GEN)rm -f $@-t $@ && \ | |
126 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
127 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
128 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
129 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
130 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ | |
131 -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \ | |
132 -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \ | |
133 -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \ | |
134 -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \ | |
135 -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \ | |
136 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ | |
137 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ | |
138 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ | |
139 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ | |
140 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ | |
141 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ | |
142 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ | |
143 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ | |
144 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \ | |
145 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ | |
146 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ | |
147 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
148 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
149 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
150 < $(srcdir)/time.in.h; \ | |
151 } > $@-t && \ | |
152 mv $@-t $@ | |
153 MOSTLYCLEANFILES += time.h time.h-t | |
154 | |
155 EXTRA_DIST += time.in.h | |
156 | |
157 ## end gnulib module time | |
158 | |
159 ## begin gnulib module time_r | |
160 | |
161 | |
162 EXTRA_DIST += time_r.c | |
163 | |
164 EXTRA_libgnu_a_SOURCES += time_r.c | |
165 | |
166 ## end gnulib module time_r | |
167 | |
168 ## begin gnulib module warn-on-use | |
169 | |
170 BUILT_SOURCES += warn-on-use.h | |
171 # The warn-on-use.h that gets inserted into generated .h files is the same as | |
172 # build-aux/warn-on-use.h, except that it has the copyright header cut off. | |
173 warn-on-use.h: $(top_srcdir)/./warn-on-use.h | |
174 $(AM_V_GEN)rm -f $@-t $@ && \ | |
175 sed -n -e '/^.ifndef/,$$p' \ | |
176 < $(top_srcdir)/./warn-on-use.h \ | |
177 > $@-t && \ | |
178 mv $@-t $@ | |
179 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t | |
180 | |
181 WARN_ON_USE_H=warn-on-use.h | |
182 | |
183 EXTRA_DIST += $(top_srcdir)/./warn-on-use.h | |
184 | |
185 ## end gnulib module warn-on-use | |
186 | |
37 | 187 |
38 mostlyclean-local: mostlyclean-generic | 188 mostlyclean-local: mostlyclean-generic |
39 @for dir in '' $(MOSTLYCLEANDIRS); do \ | 189 @for dir in '' $(MOSTLYCLEANDIRS); do \ |
40 if test -n "$$dir" && test -d $$dir; then \ | 190 if test -n "$$dir" && test -d $$dir; then \ |
41 echo "rmdir $$dir"; rmdir $$dir; \ | 191 echo "rmdir $$dir"; rmdir $$dir; \ |