1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2009 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=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --no-libtool --macro-prefix=gl getopt
14 AUTOMAKE_OPTIONS = 1.5 gnits
23 MOSTLYCLEANFILES = core *.stackdump
27 MAINTAINERCLEANFILES =
32 noinst_LIBRARIES += libgnu.a
35 libgnu_a_LIBADD = $(gl_LIBOBJS)
36 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
37 EXTRA_libgnu_a_SOURCES =
39 ## begin gnulib module getopt
41 BUILT_SOURCES += $(GETOPT_H)
43 # We need the following in order to create <getopt.h> when the system
44 # doesn't have one that works with the given compiler.
46 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
47 cat $(srcdir)/getopt.in.h; \
50 MOSTLYCLEANFILES += getopt.h getopt.h-t
52 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
54 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
56 ## end gnulib module getopt
58 ## begin gnulib module gettext-h
60 libgnu_a_SOURCES += gettext.h
62 ## end gnulib module gettext-h
64 ## begin gnulib module link-warning
66 LINK_WARNING_H=$(top_srcdir)/./link-warning.h
68 EXTRA_DIST += $(top_srcdir)/./link-warning.h
70 ## end gnulib module link-warning
72 ## begin gnulib module unistd
74 BUILT_SOURCES += unistd.h
76 # We need the following in order to create an empty placeholder for
77 # <unistd.h> when the system doesn't have one.
80 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
81 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
82 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
83 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
84 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
85 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
86 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
87 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
88 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
89 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
90 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
91 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
92 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
93 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
94 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
95 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
96 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
97 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
98 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
99 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
100 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
101 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
102 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
103 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
104 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
105 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
106 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
107 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
108 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
109 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
110 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
111 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
112 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
113 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
114 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
115 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
116 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
117 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
118 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
119 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
120 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
121 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
122 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
123 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
124 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
125 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
126 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
127 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
128 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
129 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
130 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
131 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
132 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
133 < $(srcdir)/unistd.in.h; \
136 MOSTLYCLEANFILES += unistd.h unistd.h-t
138 EXTRA_DIST += unistd.in.h
140 ## end gnulib module unistd
142 ## begin gnulib module dummy
144 libgnu_a_SOURCES += dummy.c
146 ## end gnulib module dummy
149 mostlyclean-local: mostlyclean-generic
150 @for dir in '' $(MOSTLYCLEANDIRS); do \
151 if test -n "$$dir" && test -d $$dir; then \
152 echo "rmdir $$dir"; rmdir $$dir; \