1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2004-2007 Free Software Foundation, Inc.
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.
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl/override --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --aux-dir=build-aux --libtool --macro-prefix=gl gendocs getopt maintainer-makefile memmove progname read-file strdup version-etc-fsf
14 AUTOMAKE_OPTIONS = 1.5 gnits
22 MOSTLYCLEANFILES = core *.stackdump
26 MAINTAINERCLEANFILES =
30 noinst_LTLIBRARIES += libgnu.la
33 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
34 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
35 EXTRA_libgnu_la_SOURCES =
36 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
38 ## begin gnulib module absolute-header
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)
45 ## end gnulib module absolute-header
47 ## begin gnulib module getopt
49 BUILT_SOURCES += $(GETOPT_H)
51 # We need the following in order to create <getopt.h> when the system
52 # doesn't have one that works with the given compiler.
54 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
55 cat $(srcdir)/getopt_.h; \
58 MOSTLYCLEANFILES += getopt.h getopt.h-t
60 EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h
62 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
64 ## end gnulib module getopt
66 ## begin gnulib module gettext-h
68 libgnu_la_SOURCES += gettext.h
70 ## end gnulib module gettext-h
72 ## begin gnulib module link-warning
74 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
76 ## end gnulib module link-warning
78 ## begin gnulib module memmove
81 EXTRA_DIST += memmove.c
83 EXTRA_libgnu_la_SOURCES += memmove.c
85 ## end gnulib module memmove
87 ## begin gnulib module progname
89 libgnu_la_SOURCES += progname.h progname.c
91 ## end gnulib module progname
93 ## begin gnulib module read-file
96 EXTRA_DIST += read-file.c read-file.h
98 EXTRA_libgnu_la_SOURCES += read-file.c
100 ## end gnulib module read-file
102 ## begin gnulib module strdup
105 EXTRA_DIST += strdup.c
107 EXTRA_libgnu_la_SOURCES += strdup.c
109 ## end gnulib module strdup
111 ## begin gnulib module string
113 BUILT_SOURCES += string.h
115 # We need the following in order to create <string.h> when the system
116 # doesn't have one that works with the given compiler.
119 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
120 sed -e 's|@''ABSOLUTE_STRING_H''@|$(ABSOLUTE_STRING_H)|g' \
121 -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
122 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
123 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
124 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
125 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
126 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
127 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
128 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
129 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
130 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
131 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
132 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
133 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
134 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
135 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
136 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
137 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
138 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
139 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
140 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
141 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
142 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
143 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
144 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
145 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
146 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
147 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
148 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
149 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
150 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
151 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
152 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
153 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
154 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
155 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
156 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
157 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
158 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
159 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
160 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
161 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
162 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
163 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
164 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
165 < $(srcdir)/string_.h; \
168 MOSTLYCLEANFILES += string.h string.h-t
170 EXTRA_DIST += string_.h
172 ## end gnulib module string
174 ## begin gnulib module unistd
176 BUILT_SOURCES += unistd.h
178 # We need the following in order to create an empty placeholder for
179 # <unistd.h> when the system doesn't have one.
182 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
183 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
184 -e 's|@''ABSOLUTE_UNISTD_H''@|$(ABSOLUTE_UNISTD_H)|g' \
185 -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
186 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
187 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
188 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
189 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
190 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
191 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
192 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
193 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
194 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
195 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
196 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
197 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
198 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
199 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
200 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
201 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
202 < $(srcdir)/unistd_.h; \
205 MOSTLYCLEANFILES += unistd.h unistd.h-t
207 EXTRA_DIST += unistd_.h
209 ## end gnulib module unistd
211 ## begin gnulib module version-etc
213 libgnu_la_SOURCES += version-etc.h version-etc.c
215 ## end gnulib module version-etc
217 ## begin gnulib module version-etc-fsf
219 libgnu_la_SOURCES += version-etc-fsf.c
221 ## end gnulib module version-etc-fsf
224 mostlyclean-local: mostlyclean-generic
225 @for dir in '' $(MOSTLYCLEANDIRS); do \
226 if test -n "$$dir" && test -d $$dir; then \
227 echo "rmdir $$dir"; rmdir $$dir; \