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