5ntaprop.adb (with System.OS_Primitives): Remove.
[official-gcc.git] / zlib / Makefile.am
blobee8288f9678f3f89d34a59a39ccde4ab138a420c
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 ZLIB_SOURCES = adler32.c compress.c crc32.c deflate.c deflate.h \
23 gzio.c infblock.c infblock.h infcodes.c infcodes.h inffast.c inffast.h \
24 inffixed.h inflate.c inftrees.c inftrees.h infutil.c infutil.h trees.c \
25 trees.h uncompr.c zconf.h zlib.h zutil.c zutil.h
27 if TARGET_LIBRARY
28 noinst_LTLIBRARIES = libzgcj_convenience.la
29 libzgcj_convenience_la_SOURCES = $(ZLIB_SOURCES)
30 else
31 toolexeclib_LIBRARIES = libz.a
32 libz_a_SOURCES = $(ZLIB_SOURCES)
33 endif
35 # Work around what appears to be a GNU make bug handling MAKEFLAGS
36 # values defined in terms of make variables, as is the case for CC and
37 # friends when we are called from the top level Makefile.
38 AM_MAKEFLAGS = \
39         "AR_FLAGS=$(AR_FLAGS)" \
40         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
41         "CFLAGS=$(CFLAGS)" \
42         "CXXFLAGS=$(CXXFLAGS)" \
43         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
44         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
45         "INSTALL=$(INSTALL)" \
46         "INSTALL_DATA=$(INSTALL_DATA)" \
47         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
48         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
49         "LDFLAGS=$(LDFLAGS)" \
50         "LIBCFLAGS=$(LIBCFLAGS)" \
51         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
52         "MAKE=$(MAKE)" \
53         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
54         "PICFLAG=$(PICFLAG)" \
55         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
56         "SHELL=$(SHELL)" \
57         "EXPECT=$(EXPECT)" \
58         "RUNTEST=$(RUNTEST)" \
59         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
60         "exec_prefix=$(exec_prefix)" \
61         "infodir=$(infodir)" \
62         "libdir=$(libdir)" \
63         "prefix=$(prefix)" \
64         "tooldir=$(tooldir)" \
65         "AR=$(AR)" \
66         "AS=$(AS)" \
67         "CC=$(CC)" \
68         "CXX=$(CXX)" \
69         "LD=$(LD)" \
70         "LIBCFLAGS=$(LIBCFLAGS)" \
71         "NM=$(NM)" \
72         "PICFLAG=$(PICFLAG)" \
73         "RANLIB=$(RANLIB)" \
74         "DESTDIR=$(DESTDIR)"
76 # Multilib support.
77 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
78         maintainer-clean-multi
80 all-am: all-multi
81 install-am: install-multi
82 mostlyclean-am: mostlyclean-multi
83 clean-am: clean-multi
84 distclean-am: distclean-multi
85 maintainer-clean-am: maintainer-clean-multi
87 all-multi:
88         $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
89 install-multi:
90         $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
91 mostlyclean-multi:
92         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
93 clean-multi:
94         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
95 distclean-multi:
96         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
97 maintainer-clean-multi:
98         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean