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