1
## DO NOT EDIT! GENERATED AUTOMATICALLY!
2
## Process this file with automake to produce Makefile.in.
3
# Copyright (C) 2002-2008 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=. --lib=libgnu --source-base=gnulib --m4-base=m4 --doc-base=doc --aux-dir=config --lgpl --libtool --macro-prefix=gl getopt timegm
14
AUTOMAKE_OPTIONS = 1.5 gnits
22
MOSTLYCLEANFILES = core *.stackdump
26
MAINTAINERCLEANFILES =
28
AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir}
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.in.h; \
49
MOSTLYCLEANFILES += getopt.h getopt.h-t
51
EXTRA_DIST += getopt.c getopt.in.h getopt1.c 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)/config/link-warning.h
67
EXTRA_DIST += $(top_srcdir)/config/link-warning.h
69
## end gnulib module link-warning
71
## begin gnulib module mktime
74
EXTRA_DIST += mktime.c
76
EXTRA_libgnu_la_SOURCES += mktime.c
78
## end gnulib module mktime
80
## begin gnulib module time
82
BUILT_SOURCES += time.h
84
# We need the following in order to create <time.h> when the system
85
# doesn't have one that works with the given compiler.
88
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
89
sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
90
-e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
91
-e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
92
-e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
93
-e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
94
-e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
95
-e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
96
-e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
97
< $(srcdir)/time.in.h; \
100
MOSTLYCLEANFILES += time.h time.h-t
102
EXTRA_DIST += time.in.h
104
## end gnulib module time
106
## begin gnulib module time_r
109
EXTRA_DIST += time_r.c
111
EXTRA_libgnu_la_SOURCES += time_r.c
113
## end gnulib module time_r
115
## begin gnulib module timegm
118
EXTRA_DIST += timegm.c
120
EXTRA_libgnu_la_SOURCES += timegm.c
122
## end gnulib module timegm
124
## begin gnulib module unistd
126
BUILT_SOURCES += unistd.h
128
# We need the following in order to create an empty placeholder for
129
# <unistd.h> when the system doesn't have one.
130
unistd.h: unistd.in.h
132
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
133
sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
134
-e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
135
-e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
136
-e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
137
-e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
138
-e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
139
-e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
140
-e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
141
-e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
142
-e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
143
-e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
144
-e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
145
-e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
146
-e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
147
-e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
148
-e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
149
-e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
150
-e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
151
-e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
152
-e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
153
-e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
154
-e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
155
-e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
156
-e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
157
-e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
158
-e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
159
-e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
160
-e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
161
-e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
162
-e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
163
< $(srcdir)/unistd.in.h; \
166
MOSTLYCLEANFILES += unistd.h unistd.h-t
168
EXTRA_DIST += unistd.in.h
170
## end gnulib module unistd
172
## begin gnulib module dummy
174
libgnu_la_SOURCES += dummy.c
176
## end gnulib module dummy
179
mostlyclean-local: mostlyclean-generic
180
@for dir in '' $(MOSTLYCLEANDIRS); do \
181
if test -n "$$dir" && test -d $$dir; then \
182
echo "rmdir $$dir"; rmdir $$dir; \