* cp-tree.def (FUNCTION_NAME): New tree node.
[official-gcc.git] / zlib / Makefile.am
blobe6e97c9752eee93360144673100043f4450b392b
1 ## Process this file with automake to create Makefile.in.
3 AUTOMAKE_OPTIONS = cygnus
5 # Multilib support variables.
6 MULTISRCTOP =
7 MULTIBUILDTOP =
8 MULTIDIRS =
9 MULTISUBDIR =
10 MULTIDO = true
11 MULTICLEAN = true
13 ## Install a library built with a cross compiler in tooldir, not
14 ## libdir.
15 if USE_LIBDIR
16 toolexeclibdir = $(libdir)$(MULTISUBDIR)
17 else
18 toolexecdir = $(exec_prefix)/$(target_alias)
19 toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
20 endif
22 ## We don't use `libz.la' because we don't want to conflict with a
23 ## system library of that name.
24 toolexeclib_LTLIBRARIES = @target_all@
25 EXTRA_LTLIBRARIES = libzgcj.la
27 libzgcj_la_SOURCES = adler32.c compress.c crc32.c deflate.c deflate.h \
28 gzio.c infblock.c infblock.h infcodes.c infcodes.h inffast.c inffast.h \
29 inffixed.h inflate.c inftrees.c inftrees.h infutil.c infutil.h trees.c \
30 trees.h uncompr.c zconf.h zlib.h zutil.c zutil.h
32 libzgcj_la_LDFLAGS = -version-info 0:0:0 -rpath $(toolexeclibdir)
34 # Work around what appears to be a GNU make bug handling MAKEFLAGS
35 # values defined in terms of make variables, as is the case for CC and
36 # friends when we are called from the top level Makefile.
37 AM_MAKEFLAGS = \
38         "AR_FLAGS=$(AR_FLAGS)" \
39         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
40         "CFLAGS=$(CFLAGS)" \
41         "CXXFLAGS=$(CXXFLAGS)" \
42         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
43         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
44         "INSTALL=$(INSTALL)" \
45         "INSTALL_DATA=$(INSTALL_DATA)" \
46         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
47         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
48         "LDFLAGS=$(LDFLAGS)" \
49         "LIBCFLAGS=$(LIBCFLAGS)" \
50         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
51         "MAKE=$(MAKE)" \
52         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
53         "PICFLAG=$(PICFLAG)" \
54         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
55         "SHELL=$(SHELL)" \
56         "EXPECT=$(EXPECT)" \
57         "RUNTEST=$(RUNTEST)" \
58         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
59         "exec_prefix=$(exec_prefix)" \
60         "infodir=$(infodir)" \
61         "libdir=$(libdir)" \
62         "prefix=$(prefix)" \
63         "tooldir=$(tooldir)" \
64         "AR=$(AR)" \
65         "AS=$(AS)" \
66         "CC=$(CC)" \
67         "CXX=$(CXX)" \
68         "LD=$(LD)" \
69         "LIBCFLAGS=$(LIBCFLAGS)" \
70         "NM=$(NM)" \
71         "PICFLAG=$(PICFLAG)" \
72         "RANLIB=$(RANLIB)" \
73         "DESTDIR=$(DESTDIR)"
75 # Multilib support.
76 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
77         maintainer-clean-multi
79 all-am: all-multi
80 install-am: install-multi
81 mostlyclean-am: mostlyclean-multi
82 clean-am: clean-multi
83 distclean-am: distclean-multi
84 maintainer-clean-am: maintainer-clean-multi
86 all-multi:
87         $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
88 install-multi:
89         $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
90 mostlyclean-multi:
91         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
92 clean-multi:
93         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
94 distclean-multi:
95         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
96 maintainer-clean-multi:
97         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean