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