OSDN Git Service

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