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