1 # Process this with automake to create Makefile.in
3 ## We definitely don't want dependency tracking when using automake 1.4.
4 AUTOMAKE_OPTIONS = no-dependencies
6 # Work around what appears to be a GNU make bug handling MAKEFLAGS
7 # values defined in terms of make variables, as is the case for CC and
8 # friends when we are called from the top level Makefile.
10 "AR_FLAGS=$(AR_FLAGS)" \
11 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
13 "CXXFLAGS=$(CXXFLAGS)" \
14 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
15 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
16 "INSTALL=$(INSTALL)" \
17 "INSTALL_DATA=$(INSTALL_DATA)" \
18 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
19 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
20 "JC1FLAGS=$(JC1FLAGS)" \
21 "LDFLAGS=$(LDFLAGS)" \
22 "LIBCFLAGS=$(LIBCFLAGS)" \
23 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
25 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
26 "PICFLAG=$(PICFLAG)" \
27 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
29 "exec_prefix=$(exec_prefix)" \
30 "infodir=$(infodir)" \
38 "LIBCFLAGS=$(LIBCFLAGS)" \
40 "PICFLAG=$(PICFLAG)" \
44 INCLUDES = -I. -I$(top_srcdir) $(ZINCS) -I$(top_srcdir)/../include
46 LIBIBERTY = ../libiberty/libiberty.a
48 bin_PROGRAMS = jar grepjar
49 jar_SOURCES = jartool.c dostime.c compress.c pushback.c jartool.h \
50 zipfile.h dostime.h compress.h pushback.h
51 jar_LDADD = $(ZLIBS) $(LIBIBERTY)
52 jar_DEPENDENCIES = $(ZDEPS) $(LIBIBERTY)
54 grepjar_SOURCES = jargrep.c dostime.c compress.c pushback.c jartool.h \
55 zipfile.h dostime.h compress.h pushback.h
56 grepjar_LDADD = $(ZLIBS) $(LIBIBERTY)
57 grepjar_DEPENDENCIES = $(ZDEPS) $(LIBIBERTY)
59 AM_CFLAGS = @fastjar_warn_cflags@