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