a1906d7062b2a45b2e959723dca58ef408a2e7f3
[gnulib.git] / lib / Makefile.in
1 # Makefile.in generated automatically by automake 1.0 from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy, distribute and modify it.
6
7
8 SHELL = /bin/sh
9
10 srcdir = @srcdir@
11 top_srcdir = @top_srcdir@
12 VPATH = @srcdir@
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
15
16 bindir = @bindir@
17 sbindir = @sbindir@
18 libexecdir = @libexecdir@
19 datadir = @datadir@
20 sysconfdir = @sysconfdir@
21 sharedstatedir = @sharedstatedir@
22 localstatedir = @localstatedir@
23 libdir = @libdir@
24 infodir = @infodir@
25 mandir = @mandir@
26 includedir = @includedir@
27 oldincludedir = /usr/include
28
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
32
33 top_builddir = ..
34
35 INSTALL = @INSTALL@
36 INSTALL_PROGRAM = @INSTALL_PROGRAM@
37 INSTALL_DATA = @INSTALL_DATA@
38 INSTALL_SCRIPT = @INSTALL_SCRIPT@
39 transform = @program_transform_name@
40
41 noinst_LIBRARIES = fu
42
43 EXTRA_DIST = alloca.c basename.c euidaccess.c fnmatch.c fsusage.c \
44 ftruncate.c getdate.y getopt.c getopt1.c group-member.c \
45 memcmp.c memcpy.c memset.c \
46 mkdir.c mktime.c mountlist.c posixtm.y rename.c rmdir.c \
47 stpcpy.c strcasecmp.c strdup.c strndup.c strstr.c strtol.c strtoul.c
48
49 INCLUDES = -I.. -I$(srcdir)
50
51 fu_SOURCES = getdate.c getline.c posixtm.c argmatch.c backupfile.c \
52 dirname.c error.c fileblocks.c filemode.c \
53 full-write.c getversion.c idcache.c \
54 isdir.c long-options.c makepath.c modechange.c obstack.c \
55 safe-read.c save-cwd.c savedir.c stripslash.c userspec.c xgetcwd.c \
56 xmalloc.c xstrdup.c xstrtol.c xstrtoul.c yesno.c
57
58 fu_LIBADD = @LIBOBJS@ @ALLOCA@
59
60 noinst_HEADERS = argmatch.h backupfile.h error.h fnmatch.h fsusage.h \
61 getline.h getopt.h group-member.h long-options.h makepath.h modechange.h \
62 mountlist.h obstack.h pathmax.h save-cwd.h xstrtol.h xstrtoul.h
63
64 BUILT_SOURCES = getdate.c posixtm.c
65 mkinstalldirs = $(top_srcdir)/mkinstalldirs
66 CONFIG_HEADER = ../config.h
67 LIBRARIES = $(noinst_LIBRARIES)
68
69 noinst_LIBFILES = libfu.a
70
71 CC = @CC@
72 LEX = @LEX@
73 YACC = @YACC@
74
75 DEFS = @DEFS@ -I. -I$(srcdir) -I..
76 CPPFLAGS = @CPPFLAGS@
77 CFLAGS = @CFLAGS@
78 LDFLAGS = @LDFLAGS@
79 LIBS = @LIBS@
80
81 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
82 LINK = $(CC) $(LDFLAGS) -o $@
83 fu_OBJECTS = getdate.o getline.o posixtm.o argmatch.o backupfile.o \
84 dirname.o error.o fileblocks.o filemode.o full-write.o getversion.o \
85 idcache.o isdir.o long-options.o makepath.o modechange.o obstack.o \
86 safe-read.o save-cwd.o savedir.o stripslash.o userspec.o xgetcwd.o \
87 xmalloc.o xstrdup.o xstrtol.o xstrtoul.o yesno.o
88 EXTRA_fu_SOURCES =
89 LIBFILES =  libfu.a
90 AR = ar
91 RANLIB = @RANLIB@
92 HEADERS = $(noinst_HEADERS)
93
94 DIST_COMMON = Makefile.am Makefile.in
95
96
97 PACKAGE = @PACKAGE@
98 VERSION = @VERSION@
99
100 DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
101         $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST) $(DATA)
102 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
103         $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST) $(DATA)
104
105 TAR = tar
106 DEP_FILES = $(srcdir)/.deps/alloca.P $(srcdir)/.deps/argmatch.P \
107 $(srcdir)/.deps/backupfile.P $(srcdir)/.deps/dirname.P \
108 $(srcdir)/.deps/error.P $(srcdir)/.deps/fileblocks.P \
109 $(srcdir)/.deps/filemode.P $(srcdir)/.deps/fnmatch.P \
110 $(srcdir)/.deps/fsusage.P $(srcdir)/.deps/ftruncate.P \
111 $(srcdir)/.deps/full-write.P $(srcdir)/.deps/getdate.P \
112 $(srcdir)/.deps/getline.P $(srcdir)/.deps/getopt.P \
113 $(srcdir)/.deps/getopt1.P $(srcdir)/.deps/getversion.P \
114 $(srcdir)/.deps/idcache.P $(srcdir)/.deps/isdir.P \
115 $(srcdir)/.deps/long-options.P $(srcdir)/.deps/makepath.P \
116 $(srcdir)/.deps/modechange.P $(srcdir)/.deps/mountlist.P \
117 $(srcdir)/.deps/obstack.P $(srcdir)/.deps/posixtm.P \
118 $(srcdir)/.deps/safe-read.P $(srcdir)/.deps/save-cwd.P \
119 $(srcdir)/.deps/savedir.P $(srcdir)/.deps/stripslash.P \
120 $(srcdir)/.deps/userspec.P $(srcdir)/.deps/xgetcwd.P \
121 $(srcdir)/.deps/xmalloc.P $(srcdir)/.deps/xstrdup.P \
122 $(srcdir)/.deps/xstrtol.P $(srcdir)/.deps/xstrtoul.P \
123 $(srcdir)/.deps/yesno.P
124 SOURCES = $(fu_SOURCES)
125 OBJECTS = $(fu_OBJECTS)
126
127 default: all
128
129
130 $(srcdir)/Makefile.in: @MAINT@Makefile.am $(top_srcdir)/configure.in
131         cd $(top_srcdir) && automake $(subdir)/Makefile
132
133 Makefile: $(top_builddir)/config.status Makefile.in
134         cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
135
136 mostlyclean-noinstLIBRARIES:
137
138 clean-noinstLIBRARIES:
139         rm -f $(noinst_LIBFILES)
140
141 distclean-noinstLIBRARIES:
142
143 maintainer-clean-noinstLIBRARIES:
144
145 .c.o:
146         $(COMPILE) $<
147
148 mostlyclean-compile:
149         rm -f *.o core
150
151 clean-compile:
152
153 distclean-compile:
154         rm -f *.tab.c
155
156 maintainer-clean-compile:
157 $(fu_OBJECTS): ../config.h
158
159 libfu.a: $(fu_OBJECTS) $(fu_LIBADD)
160         rm -f libfu.a
161         $(AR) cru libfu.a $(fu_OBJECTS) $(fu_LIBADD)
162         $(RANLIB) libfu.a
163
164 ID: $(HEADERS) $(SOURCES)
165         here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
166
167 tags: TAGS
168
169 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
170         here=`pwd` && cd $(srcdir) && etags $(ETAGS_ARGS) $(SOURCES) $(HEADERS) -o $$here/TAGS
171
172 mostlyclean-tags:
173
174 clean-tags:
175
176 distclean-tags:
177         rm -f TAGS ID
178
179 maintainer-clean-tags:
180
181 subdir = lib
182 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
183 distdir: $(DEP_DISTFILES)
184         @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
185           test -f $(distdir)/$$file \
186           || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
187           || cp -p $(srcdir)/$$file $(distdir)/$$file; \
188         done
189
190 # This fragment is probably only useful for maintainers.  It relies on
191 # GNU make and gcc.  It is only included in the generated Makefile.in
192 # if `automake' is not passed the `--include-deps' flag.
193
194 MKDEP = gcc -MM $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
195
196 -include $(srcdir)/.deps/.P
197 $(srcdir)/.deps/.P: $(BUILT_SOURCES)
198         cd $(srcdir) && test -d .deps || mkdir .deps
199         echo > $@
200
201 -include $(DEP_FILES)
202 $(DEP_FILES): $(srcdir)/.deps/.P
203
204 $(srcdir)/.deps/%.P: $(srcdir)/%.c
205         @echo "mkdeps $< > $@"
206         @re=`echo 's,^$(srcdir)//*,,g;s, $(srcdir)//*, ,g' | sed 's,\.,\\\\.,g'`; \
207           $(MKDEP) $< | sed "$$re" > $@-tmp
208         @if test -n "$o"; then                  \
209           sed 's/\.o:/$$o:/' $@-tmp > $@;       \
210           rm $@-tmp;                            \
211         else                                    \
212           mv $@-tmp $@;                         \
213         fi
214
215 # End of maintainer-only section
216 info:
217
218 dvi:
219
220 check: all
221
222 installcheck:
223
224 install-exec: 
225
226 install-data: 
227
228 install: install-exec install-data all
229         @:
230
231 uninstall: 
232
233 all: $(LIBFILES) $(HEADERS) Makefile
234
235 install-strip:
236         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
237 installdirs:
238
239
240 mostlyclean-generic:
241         test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
242
243 clean-generic:
244         test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
245
246 distclean-generic:
247         rm -f Makefile $(DISTCLEANFILES)
248         rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
249
250 maintainer-clean-generic:
251         test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
252         test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
253 mostlyclean:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
254                 mostlyclean-tags mostlyclean-generic
255
256 clean:  clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
257                 mostlyclean 
258
259 distclean:  distclean-noinstLIBRARIES distclean-compile distclean-tags \
260                 distclean-generic clean 
261         rm -f config.status
262
263 maintainer-clean:  maintainer-clean-noinstLIBRARIES \
264                 maintainer-clean-compile maintainer-clean-tags \
265                 maintainer-clean-generic distclean 
266         @echo "This command is intended for maintainers to use;"
267         @echo "it deletes files that may require special tools to rebuild."
268
269 .PHONY: default mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
270 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
271 mostlyclean-compile distclean-compile clean-compile \
272 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
273 clean-tags maintainer-clean-tags distdir info dvi check installcheck \
274 install-exec install-data install uninstall all installdirs \
275 mostlyclean-generic distclean-generic clean-generic \
276 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
277
278
279 # Since this directory contains two parsers, we have to be careful to avoid
280 # running two $(YACC)s during parallel makes.  See below.
281 getdate.c: @MAINT@getdate.y
282         @echo expect 10 shift/reduce conflicts
283         $(YACC) $(srcdir)/getdate.y
284         mv y.tab.c getdate.c
285
286 # Make the rename atomic, in case sed is interrupted and later rerun.
287 # The artificial dependency on getdate.c keeps the two parsers from being
288 # built in parallel.  Enforcing this little bit of sequentiality lets
289 # everyone (even those without bison) still run mostly parallel builds.
290 posixtm.c: @MAINT@posixtm.y getdate.c
291         $(YACC) $(srcdir)/posixtm.y
292         mv y.tab.c posixtm.tab.c
293         sed -e 's/yy/zz/g' posixtm.tab.c > tposixtm.c
294         mv tposixtm.c posixtm.c
295         rm -f posixtm.tab.c
296 .SUFFIXES:
297 .SUFFIXES: .c .o
298
299 # Tell versions [3.59,3.63) of GNU make to not export all variables.
300 # Otherwise a system limit (for SysV at least) may be exceeded.
301 .NOEXPORT: