OSDN Git Service

* jartool.c (mkdir): Define.
[pf3gnuchains/gcc-fork.git] / fastjar / Makefile.in
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 # Process this with automake to create Makefile.in
14
15
16 SHELL = @SHELL@
17
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 VPATH = @srcdir@
21 prefix = @prefix@
22 exec_prefix = @exec_prefix@
23
24 bindir = @bindir@
25 sbindir = @sbindir@
26 libexecdir = @libexecdir@
27 datadir = @datadir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
31 libdir = @libdir@
32 infodir = @infodir@
33 mandir = @mandir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36
37 DESTDIR =
38
39 pkgdatadir = $(datadir)/@PACKAGE@
40 pkglibdir = $(libdir)/@PACKAGE@
41 pkgincludedir = $(includedir)/@PACKAGE@
42
43 top_builddir = .
44
45 ACLOCAL = @ACLOCAL@
46 AUTOCONF = @AUTOCONF@
47 AUTOMAKE = @AUTOMAKE@
48 AUTOHEADER = @AUTOHEADER@
49
50 INSTALL = @INSTALL@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 transform = @program_transform_name@
55
56 NORMAL_INSTALL = :
57 PRE_INSTALL = :
58 POST_INSTALL = :
59 NORMAL_UNINSTALL = :
60 PRE_UNINSTALL = :
61 POST_UNINSTALL = :
62 CC = @CC@
63 CHMOD = @CHMOD@
64 CP = @CP@
65 EXEEXT = @EXEEXT@
66 MAINT = @MAINT@
67 MAKEINFO = @MAKEINFO@
68 PACKAGE = @PACKAGE@
69 RM = @RM@
70 STRIP = @STRIP@
71 VERSION = @VERSION@
72 ZDEPS = @ZDEPS@
73 ZINCS = @ZINCS@
74 ZLIBS = @ZLIBS@
75 fastjar_warn_cflags = @fastjar_warn_cflags@
76
77 AUTOMAKE_OPTIONS = no-dependencies
78
79 # Work around what appears to be a GNU make bug handling MAKEFLAGS
80 # values defined in terms of make variables, as is the case for CC and
81 # friends when we are called from the top level Makefile.
82 AM_MAKEFLAGS = \
83         "AR_FLAGS=$(AR_FLAGS)" \
84         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
85         "CFLAGS=$(CFLAGS)" \
86         "CXXFLAGS=$(CXXFLAGS)" \
87         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
88         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
89         "INSTALL=$(INSTALL)" \
90         "INSTALL_DATA=$(INSTALL_DATA)" \
91         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
92         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
93         "JC1FLAGS=$(JC1FLAGS)" \
94         "LDFLAGS=$(LDFLAGS)" \
95         "LIBCFLAGS=$(LIBCFLAGS)" \
96         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
97         "MAKE=$(MAKE)" \
98         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
99         "PICFLAG=$(PICFLAG)" \
100         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
101         "SHELL=$(SHELL)" \
102         "exec_prefix=$(exec_prefix)" \
103         "infodir=$(infodir)" \
104         "libdir=$(libdir)" \
105         "prefix=$(prefix)" \
106         "AR=$(AR)" \
107         "AS=$(AS)" \
108         "CC=$(CC)" \
109         "CXX=$(CXX)" \
110         "LD=$(LD)" \
111         "LIBCFLAGS=$(LIBCFLAGS)" \
112         "NM=$(NM)" \
113         "PICFLAG=$(PICFLAG)" \
114         "RANLIB=$(RANLIB)" \
115         "DESTDIR=$(DESTDIR)"
116
117
118 INCLUDES = -I. -I$(top_srcdir) $(ZINCS) -I$(top_srcdir)/../include
119
120 LIBIBERTY = ../libiberty/libiberty.a
121
122 bin_PROGRAMS = jar grepjar
123 jar_SOURCES = jartool.c dostime.c compress.c pushback.c jartool.h \
124 zipfile.h dostime.h compress.h pushback.h
125
126 jar_LDADD = $(ZLIBS) $(LIBIBERTY)
127 jar_DEPENDENCIES = $(ZDEPS) $(LIBIBERTY)
128
129 grepjar_SOURCES = jargrep.c dostime.c compress.c pushback.c jartool.h \
130 zipfile.h dostime.h compress.h pushback.h
131
132 grepjar_LDADD = $(ZLIBS) $(LIBIBERTY)
133 grepjar_DEPENDENCIES = $(ZDEPS) $(LIBIBERTY)
134
135 AM_CFLAGS = @fastjar_warn_cflags@
136 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
137 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
138 CONFIG_HEADER = config.h
139 CONFIG_CLEAN_FILES =  install-defs.sh
140 bin_PROGRAMS =  jar$(EXEEXT) grepjar$(EXEEXT)
141 PROGRAMS =  $(bin_PROGRAMS)
142
143
144 DEFS = @DEFS@ -I. -I$(srcdir) -I.
145 CPPFLAGS = @CPPFLAGS@
146 LDFLAGS = @LDFLAGS@
147 LIBS = @LIBS@
148 jar_OBJECTS =  jartool.o dostime.o compress.o pushback.o
149 jar_LDFLAGS = 
150 grepjar_OBJECTS =  jargrep.o dostime.o compress.o pushback.o
151 grepjar_LDFLAGS = 
152 CFLAGS = @CFLAGS@
153 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
154 CCLD = $(CC)
155 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
156 DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
157 Makefile.am Makefile.in NEWS acinclude.m4 aclocal.m4 config.h.in \
158 configure configure.in install-defs.sh.in install-sh missing \
159 mkinstalldirs
160
161
162 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
163
164 TAR = gtar
165 GZIP_ENV = --best
166 SOURCES = $(jar_SOURCES) $(grepjar_SOURCES)
167 OBJECTS = $(jar_OBJECTS) $(grepjar_OBJECTS)
168
169 all: all-redirect
170 .SUFFIXES:
171 .SUFFIXES: .S .c .o .s
172 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
173         cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
174
175 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
176         cd $(top_builddir) \
177           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
178
179 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in  acinclude.m4
180         cd $(srcdir) && $(ACLOCAL)
181
182 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
183         $(SHELL) ./config.status --recheck
184 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
185         cd $(srcdir) && $(AUTOCONF)
186
187 config.h: stamp-h
188         @if test ! -f $@; then \
189                 rm -f stamp-h; \
190                 $(MAKE) stamp-h; \
191         else :; fi
192 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
193         cd $(top_builddir) \
194           && CONFIG_FILES= CONFIG_HEADERS=config.h \
195              $(SHELL) ./config.status
196         @echo timestamp > stamp-h 2> /dev/null
197 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
198         @if test ! -f $@; then \
199                 rm -f $(srcdir)/stamp-h.in; \
200                 $(MAKE) $(srcdir)/stamp-h.in; \
201         else :; fi
202 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 
203         cd $(top_srcdir) && $(AUTOHEADER)
204         @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
205
206 mostlyclean-hdr:
207
208 clean-hdr:
209
210 distclean-hdr:
211         -rm -f config.h
212
213 maintainer-clean-hdr:
214 install-defs.sh: $(top_builddir)/config.status install-defs.sh.in
215         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
216
217 mostlyclean-binPROGRAMS:
218
219 clean-binPROGRAMS:
220         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
221
222 distclean-binPROGRAMS:
223
224 maintainer-clean-binPROGRAMS:
225
226 install-binPROGRAMS: $(bin_PROGRAMS)
227         @$(NORMAL_INSTALL)
228         $(mkinstalldirs) $(DESTDIR)$(bindir)
229         @list='$(bin_PROGRAMS)'; for p in $$list; do \
230           if test -f $$p; then \
231             echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
232              $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
233           else :; fi; \
234         done
235
236 uninstall-binPROGRAMS:
237         @$(NORMAL_UNINSTALL)
238         list='$(bin_PROGRAMS)'; for p in $$list; do \
239           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
240         done
241
242 .c.o:
243         $(COMPILE) -c $<
244
245 .s.o:
246         $(COMPILE) -c $<
247
248 .S.o:
249         $(COMPILE) -c $<
250
251 mostlyclean-compile:
252         -rm -f *.o core *.core
253
254 clean-compile:
255
256 distclean-compile:
257         -rm -f *.tab.c
258
259 maintainer-clean-compile:
260
261 jar$(EXEEXT): $(jar_OBJECTS) $(jar_DEPENDENCIES)
262         @rm -f jar$(EXEEXT)
263         $(LINK) $(jar_LDFLAGS) $(jar_OBJECTS) $(jar_LDADD) $(LIBS)
264
265 grepjar$(EXEEXT): $(grepjar_OBJECTS) $(grepjar_DEPENDENCIES)
266         @rm -f grepjar$(EXEEXT)
267         $(LINK) $(grepjar_LDFLAGS) $(grepjar_OBJECTS) $(grepjar_LDADD) $(LIBS)
268
269 tags: TAGS
270
271 ID: $(HEADERS) $(SOURCES) $(LISP)
272         list='$(SOURCES) $(HEADERS)'; \
273         unique=`for i in $$list; do echo $$i; done | \
274           awk '    { files[$$0] = 1; } \
275                END { for (i in files) print i; }'`; \
276         here=`pwd` && cd $(srcdir) \
277           && mkid -f$$here/ID $$unique $(LISP)
278
279 TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
280         tags=; \
281         here=`pwd`; \
282         list='$(SOURCES) $(HEADERS)'; \
283         unique=`for i in $$list; do echo $$i; done | \
284           awk '    { files[$$0] = 1; } \
285                END { for (i in files) print i; }'`; \
286         test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
287           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
288
289 mostlyclean-tags:
290
291 clean-tags:
292
293 distclean-tags:
294         -rm -f TAGS ID
295
296 maintainer-clean-tags:
297
298 distdir = $(PACKAGE)-$(VERSION)
299 top_distdir = $(distdir)
300
301 # This target untars the dist file and tries a VPATH configuration.  Then
302 # it guarantees that the distribution is self-contained by making another
303 # tarfile.
304 distcheck: dist
305         -rm -rf $(distdir)
306         GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
307         mkdir $(distdir)/=build
308         mkdir $(distdir)/=inst
309         dc_install_base=`cd $(distdir)/=inst && pwd`; \
310         cd $(distdir)/=build \
311           && ../configure --srcdir=.. --prefix=$$dc_install_base \
312           && $(MAKE) $(AM_MAKEFLAGS) \
313           && $(MAKE) $(AM_MAKEFLAGS) dvi \
314           && $(MAKE) $(AM_MAKEFLAGS) check \
315           && $(MAKE) $(AM_MAKEFLAGS) install \
316           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
317           && $(MAKE) $(AM_MAKEFLAGS) dist
318         -rm -rf $(distdir)
319         @banner="$(distdir).tar.gz is ready for distribution"; \
320         dashes=`echo "$$banner" | sed s/./=/g`; \
321         echo "$$dashes"; \
322         echo "$$banner"; \
323         echo "$$dashes"
324 dist: distdir
325         -chmod -R a+r $(distdir)
326         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
327         -rm -rf $(distdir)
328 dist-all: distdir
329         -chmod -R a+r $(distdir)
330         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
331         -rm -rf $(distdir)
332 distdir: $(DISTFILES)
333         -rm -rf $(distdir)
334         mkdir $(distdir)
335         -chmod 777 $(distdir)
336         @for file in $(DISTFILES); do \
337           d=$(srcdir); \
338           if test -d $$d/$$file; then \
339             cp -pr $$d/$$file $(distdir)/$$file; \
340           else \
341             test -f $(distdir)/$$file \
342             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
343             || cp -p $$d/$$file $(distdir)/$$file || :; \
344           fi; \
345         done
346 info-am:
347 info: info-am
348 dvi-am:
349 dvi: dvi-am
350 check-am: all-am
351 check: check-am
352 installcheck-am:
353 installcheck: installcheck-am
354 all-recursive-am: config.h
355         $(MAKE) $(AM_MAKEFLAGS) all-recursive
356
357 install-exec-am: install-binPROGRAMS
358 install-exec: install-exec-am
359
360 install-data-am:
361 install-data: install-data-am
362
363 install-am: all-am
364         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
365 install: install-am
366 uninstall-am: uninstall-binPROGRAMS
367 uninstall: uninstall-am
368 all-am: Makefile $(PROGRAMS) config.h
369 all-redirect: all-am
370 install-strip:
371         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
372 installdirs:
373         $(mkinstalldirs)  $(DESTDIR)$(bindir)
374
375
376 mostlyclean-generic:
377
378 clean-generic:
379
380 distclean-generic:
381         -rm -f Makefile $(CONFIG_CLEAN_FILES)
382         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
383
384 maintainer-clean-generic:
385 mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
386                 mostlyclean-compile mostlyclean-tags \
387                 mostlyclean-generic
388
389 mostlyclean: mostlyclean-am
390
391 clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
392                 clean-generic mostlyclean-am
393
394 clean: clean-am
395
396 distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
397                 distclean-tags distclean-generic clean-am
398
399 distclean: distclean-am
400         -rm -f config.status
401
402 maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
403                 maintainer-clean-compile maintainer-clean-tags \
404                 maintainer-clean-generic distclean-am
405         @echo "This command is intended for maintainers to use;"
406         @echo "it deletes files that may require special tools to rebuild."
407
408 maintainer-clean: maintainer-clean-am
409         -rm -f config.status
410
411 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
412 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
413 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
414 mostlyclean-compile distclean-compile clean-compile \
415 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
416 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
417 check-am installcheck-am installcheck all-recursive-am install-exec-am \
418 install-exec install-data-am install-data install-am install \
419 uninstall-am uninstall all-redirect all-am all installdirs \
420 mostlyclean-generic distclean-generic clean-generic \
421 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
422
423
424 # Tell versions [3.59,3.63) of GNU make to not export all variables.
425 # Otherwise a system limit (for SysV at least) may be exceeded.
426 .NOEXPORT: