026e4a89a045ca770eed357d5ea1f2b45a74b345
[gnulib.git] / lib / Makefile.in
1 # Makefile.in generated automatically by automake 1.1e 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 =  $(pkglib_LIBFILES) $(noinst_LIBFILES) $(check_LIBFILES) \
86 $(lib_LIBFILES)
87 AR = ar
88 RANLIB = @RANLIB@
89 CC = @CC@
90 CFLAGS = @CFLAGS@
91 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
92 LINK = $(CC) $(LDFLAGS) -o $@
93 HEADERS = $(noinst_HEADERS)
94
95 DIST_COMMON = Makefile.am Makefile.in alloca.c error.c fileblocks.c \
96 fnmatch.c fsusage.c ftruncate.c getline.c mountlist.c obstack.c regex.c \
97 regex.h rx.c rx.h
98
99
100 PACKAGE = @PACKAGE@
101 VERSION = @VERSION@
102
103 DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
104         $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST) $(DATA)
105 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
106         $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST) $(DATA)
107
108 TAR = tar
109 DEP_FILES = .deps/alloca.P .deps/argmatch.P .deps/backupfile.P \
110 .deps/dirname.P .deps/error.P .deps/fileblocks.P .deps/filemode.P \
111 .deps/fnmatch.P .deps/fsusage.P .deps/ftruncate.P .deps/full-write.P \
112 .deps/getdate.P .deps/getline.P .deps/getversion.P .deps/idcache.P \
113 .deps/isdir.P .deps/long-options.P .deps/makepath.P .deps/modechange.P \
114 .deps/mountlist.P .deps/obstack.P .deps/path-concat.P .deps/posixtm.P \
115 .deps/regex.P .deps/rx.P .deps/safe-read.P .deps/save-cwd.P \
116 .deps/savedir.P .deps/stripslash.P .deps/userspec.P .deps/xgetcwd.P \
117 .deps/xmalloc.P .deps/xstrdup.P .deps/xstrtol.P .deps/xstrtoul.P \
118 .deps/yesno.P
119 SOURCES = $(fu_SOURCES)
120 OBJECTS = $(fu_OBJECTS)
121
122 default: all
123
124
125 $(srcdir)/Makefile.in: @MAINT@Makefile.am $(top_srcdir)/configure.in
126         cd $(top_srcdir) && automake $(subdir)/Makefile
127
128 Makefile: $(top_builddir)/config.status Makefile.in
129         cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
130
131 mostlyclean-noinstLIBRARIES:
132
133 clean-noinstLIBRARIES:
134         test -z "$(noinst_LIBFILES)" || rm -f $(noinst_LIBFILES)
135
136 distclean-noinstLIBRARIES:
137
138 maintainer-clean-noinstLIBRARIES:
139
140 .c.o:
141         $(COMPILE) -c $<
142
143 mostlyclean-compile:
144         rm -f *.o core
145
146 clean-compile:
147
148 distclean-compile:
149         rm -f *.tab.c
150
151 maintainer-clean-compile:
152 $(fu_OBJECTS): ../config.h
153
154 libfu.a: $(fu_OBJECTS) $(fu_DEPENDENCIES)
155         rm -f libfu.a
156         $(AR) cru libfu.a $(fu_OBJECTS) $(fu_LIBADD)
157         $(RANLIB) libfu.a
158
159 ID: $(HEADERS) $(SOURCES)
160         here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
161
162 tags: TAGS
163
164 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
165         here=`pwd` && cd $(srcdir) && etags $(ETAGS_ARGS) $(SOURCES) $(HEADERS) -o $$here/TAGS
166
167 mostlyclean-tags:
168
169 clean-tags:
170
171 distclean-tags:
172         rm -f TAGS ID
173
174 maintainer-clean-tags:
175
176 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
177
178 subdir = lib
179 distdir: $(DEP_DISTFILES)
180         @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
181           test -f $(distdir)/$$file \
182           || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
183           || cp -p $(srcdir)/$$file $(distdir)/$$file; \
184         done
185
186 MKDEP = gcc -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
187
188 -include .deps/.P
189 .deps/.P: $(BUILT_SOURCES)
190         test -d .deps || mkdir .deps
191         echo > $@
192
193 -include $(DEP_FILES)
194 $(DEP_FILES): .deps/.P
195
196 mostlyclean-depend:
197
198 clean-depend:
199
200 distclean-depend:
201
202 maintainer-clean-depend:
203         rm -rf .deps
204
205 .deps/%.P: $(srcdir)/%.c
206         $(MKDEP) $< > $@-tmp
207         if test -n "$o"; then                   \
208           sed 's/\.o:/$$o:/' $@-tmp > $@;       \
209           rm $@-tmp;                            \
210         else                                    \
211           mv $@-tmp $@;                         \
212         fi
213 info:
214
215 dvi:
216
217 check: all
218
219 installcheck:
220
221 install-exec: 
222         $(NORMAL_INSTALL)
223
224 install-data: 
225         $(NORMAL_INSTALL)
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         test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
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-depend mostlyclean-generic
255
256 clean:  clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
257                 clean-generic mostlyclean 
258
259 distclean:  distclean-noinstLIBRARIES distclean-compile distclean-tags \
260                 distclean-depend 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-depend maintainer-clean-generic \
266                 distclean 
267         @echo "This command is intended for maintainers to use;"
268         @echo "it deletes files that may require special tools to rebuild."
269
270 .PHONY: default mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
271 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
272 mostlyclean-compile distclean-compile clean-compile \
273 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
274 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
275 distclean-depend clean-depend maintainer-clean-depend info dvi check \
276 installcheck install-exec install-data install uninstall all \
277 installdirs mostlyclean-generic distclean-generic clean-generic \
278 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
279
280
281 # Since this directory contains two parsers, we have to be careful to avoid
282 # running two $(YACC)s during parallel makes.  See below.
283 getdate.c: @MAINT@getdate.y
284         @echo expect 10 shift/reduce conflicts
285         $(YACC) $(srcdir)/getdate.y
286         mv y.tab.c getdate.c
287
288 # Make the rename atomic, in case sed is interrupted and later rerun.
289 # The artificial dependency on getdate.c keeps the two parsers from being
290 # built in parallel.  Enforcing this little bit of sequentiality lets
291 # everyone (even those without bison) still run mostly parallel builds.
292 posixtm.c: @MAINT@posixtm.y getdate.c
293         $(YACC) $(srcdir)/posixtm.y
294         mv y.tab.c posixtm.tab.c
295         sed -e 's/yy/zz/g' posixtm.tab.c > tposixtm.c
296         mv tposixtm.c posixtm.c
297         rm -f posixtm.tab.c
298 .SUFFIXES:
299 .SUFFIXES: .c .o
300
301 # Tell versions [3.59,3.63) of GNU make to not export all variables.
302 # Otherwise a system limit (for SysV at least) may be exceeded.
303 .NOEXPORT: