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 getopt
40 BUILT_SOURCES += $(GETOPT_H)
42 # We need the following in order to create <getopt.h> when the system
43 # doesn't have one that works with the given compiler.
45 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
46 cat $(srcdir)/getopt_.h; \
49 MOSTLYCLEANFILES += getopt.h getopt.h-t
51 EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h
53 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
55 ## end gnulib module getopt
57 ## begin gnulib module gettext-h
59 libgnu_la_SOURCES += gettext.h
61 ## end gnulib module gettext-h
63 ## begin gnulib module link-warning
65 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
67 ## end gnulib module link-warning
69 ## begin gnulib module memmove
72 EXTRA_DIST += memmove.c
74 EXTRA_libgnu_la_SOURCES += memmove.c
76 ## end gnulib module memmove
78 ## begin gnulib module progname
80 libgnu_la_SOURCES += progname.h progname.c
82 ## end gnulib module progname
84 ## begin gnulib module read-file
87 EXTRA_DIST += read-file.c read-file.h
89 EXTRA_libgnu_la_SOURCES += read-file.c
91 ## end gnulib module read-file
93 ## begin gnulib module strdup
96 EXTRA_DIST += strdup.c
98 EXTRA_libgnu_la_SOURCES += strdup.c
100 ## end gnulib module strdup
102 ## begin gnulib module string
104 BUILT_SOURCES += string.h
106 # We need the following in order to create <string.h> when the system
107 # doesn't have one that works with the given compiler.
110 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
111 sed -e 's|@''ABSOLUTE_STRING_H''@|$(ABSOLUTE_STRING_H)|g' \
112 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
113 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
114 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
115 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
116 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
117 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
118 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
119 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
120 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
121 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
122 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
123 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
124 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
125 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
126 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
127 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
128 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
129 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
130 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
131 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
132 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
133 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
134 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
135 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
136 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
137 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
138 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
139 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
140 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
141 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
142 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
143 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
144 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
145 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
146 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
147 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
148 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
149 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
150 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
151 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
152 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
153 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
154 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
155 < $(srcdir)/string_.h; \
158 MOSTLYCLEANFILES += string.h string.h-t
160 EXTRA_DIST += string_.h
162 ## end gnulib module string
164 ## begin gnulib module unistd
166 BUILT_SOURCES += unistd.h
168 # We need the following in order to create an empty placeholder for
169 # <unistd.h> when the system doesn't have one.
172 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
173 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
174 -e 's|@''ABSOLUTE_UNISTD_H''@|$(ABSOLUTE_UNISTD_H)|g' \
175 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
176 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
177 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
178 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
179 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
180 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
181 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
182 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
183 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
184 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
185 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
186 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
187 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
188 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
189 < $(srcdir)/unistd_.h; \
192 MOSTLYCLEANFILES += unistd.h unistd.h-t
194 EXTRA_DIST += unistd_.h
196 ## end gnulib module unistd
198 ## begin gnulib module version-etc
200 libgnu_la_SOURCES += version-etc.h version-etc.c
202 ## end gnulib module version-etc
204 ## begin gnulib module version-etc-fsf
206 libgnu_la_SOURCES += version-etc-fsf.c
208 ## end gnulib module version-etc-fsf
211 mostlyclean-local: mostlyclean-generic
212 @for dir in '' $(MOSTLYCLEANDIRS); do \
213 if test -n "$$dir" && test -d $$dir; then \
214 echo "rmdir $$dir"; rmdir $$dir; \