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