~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to gnulib/Makefile.am

  • Committer: Monty Taylor
  • Date: 2009-01-29 19:22:08 UTC
  • mto: (779.3.29 devel)
  • mto: This revision was merged to the branch mainline in revision 823.
  • Revision ID: mordred@inaugust.com-20090129192208-l31ixny5nvlz00ur
Added getopt workaround for broken solaris getopt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
# the same distribution terms as the rest of that program.
10
10
#
11
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 timegm
 
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
13
13
 
14
14
AUTOMAKE_OPTIONS = 1.5 gnits
15
15
 
35
35
EXTRA_libgnu_la_SOURCES =
36
36
libgnu_la_LDFLAGS = $(AM_LDFLAGS)
37
37
 
 
38
## begin gnulib module getopt
 
39
 
 
40
BUILT_SOURCES += $(GETOPT_H)
 
41
 
 
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.
 
44
getopt.h: getopt.in.h
 
45
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
 
46
          cat $(srcdir)/getopt.in.h; \
 
47
        } > $@-t
 
48
        mv -f $@-t $@
 
49
MOSTLYCLEANFILES += getopt.h getopt.h-t
 
50
 
 
51
EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
 
52
 
 
53
EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
 
54
 
 
55
## end   gnulib module getopt
 
56
 
 
57
## begin gnulib module gettext-h
 
58
 
 
59
libgnu_la_SOURCES += gettext.h
 
60
 
 
61
## end   gnulib module gettext-h
 
62
 
 
63
## begin gnulib module link-warning
 
64
 
 
65
LINK_WARNING_H=$(top_srcdir)/config/link-warning.h
 
66
 
 
67
EXTRA_DIST += $(top_srcdir)/config/link-warning.h
 
68
 
 
69
## end   gnulib module link-warning
 
70
 
38
71
## begin gnulib module mktime
39
72
 
40
73
 
88
121
 
89
122
## end   gnulib module timegm
90
123
 
 
124
## begin gnulib module unistd
 
125
 
 
126
BUILT_SOURCES += unistd.h
 
127
 
 
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
 
131
        rm -f $@-t $@
 
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; \
 
164
        } > $@-t
 
165
        mv $@-t $@
 
166
MOSTLYCLEANFILES += unistd.h unistd.h-t
 
167
 
 
168
EXTRA_DIST += unistd.in.h
 
169
 
 
170
## end   gnulib module unistd
 
171
 
91
172
## begin gnulib module dummy
92
173
 
93
174
libgnu_la_SOURCES += dummy.c