OSDN Git Service

2001-05-24 Philip Blundell <philb@gnu.org>
[pf3gnuchains/gcc-fork.git] / fastjar / Makefile.am
1 # Process this with automake to create Makefile.in
2
3 # Work around what appears to be a GNU make bug handling MAKEFLAGS
4 # values defined in terms of make variables, as is the case for CC and
5 # friends when we are called from the top level Makefile.
6 AM_MAKEFLAGS = \
7         "AR_FLAGS=$(AR_FLAGS)" \
8         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
9         "CFLAGS=$(CFLAGS)" \
10         "CXXFLAGS=$(CXXFLAGS)" \
11         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
12         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
13         "INSTALL=$(INSTALL)" \
14         "INSTALL_DATA=$(INSTALL_DATA)" \
15         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
16         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
17         "JC1FLAGS=$(JC1FLAGS)" \
18         "LDFLAGS=$(LDFLAGS)" \
19         "LIBCFLAGS=$(LIBCFLAGS)" \
20         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
21         "MAKE=$(MAKE)" \
22         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
23         "PICFLAG=$(PICFLAG)" \
24         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
25         "SHELL=$(SHELL)" \
26         "exec_prefix=$(exec_prefix)" \
27         "infodir=$(infodir)" \
28         "libdir=$(libdir)" \
29         "prefix=$(prefix)" \
30         "AR=$(AR)" \
31         "AS=$(AS)" \
32         "CC=$(CC)" \
33         "CXX=$(CXX)" \
34         "LD=$(LD)" \
35         "LIBCFLAGS=$(LIBCFLAGS)" \
36         "NM=$(NM)" \
37         "PICFLAG=$(PICFLAG)" \
38         "RANLIB=$(RANLIB)" \
39         "DESTDIR=$(DESTDIR)"
40
41 INCLUDES = -I. -I$(top_srcdir) $(ZINCS)
42
43 bin_PROGRAMS = jar
44 EXTRA_PROGRAMS = grepjar
45 jar_SOURCES = jartool.c dostime.c compress.c pushback.c jartool.h zipfile.h dostime.h compress.h pushback.h
46 jar_LDADD = $(ZLIBS)
47 jar_DEPENDENCIES = $(ZDEPS)
48 grepjar_SOURCES = jargrep.c dostime.c compress.c pushback.c jartool.h zipfile.h dostime.h compress.h pushback.h
49 grepjar_LDADD = $(ZLIBS)
50 grepjar_DEPENDENCIES = $(ZDEPS)
51
52 AM_CFLAGS = @fastjar_warn_cflags@