]> gcc.gnu.org Git - gcc.git/blame - libmudflap/Makefile.am
* gcc.dg/weak/typeof-2.c: Adjust for CRIS keeping baz3 in a register.
[gcc.git] / libmudflap / Makefile.am
CommitLineData
6de9cd9a
DN
1## Makefile for the toplevel directory of the mudflap library.
2##
7954e85c 3## Copyright (C) 2002, 2003, 2004
6de9cd9a
DN
4## Free Software Foundation, Inc.
5##
6
076e5443 7AUTOMAKE_OPTIONS = 1.8 foreign
901713f1 8ACLOCAL_AMFLAGS = -I .. -I ../config
6de9cd9a
DN
9MAINT_CHARSET = latin1
10SUBDIRS = testsuite
11
fd0811ef
ZW
12# May be used by various substitution variables.
13gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
14
7954e85c
FCE
15SECTION_FLAGS = @SECTION_FLAGS@
16AM_CFLAGS = -Wall $(SECTION_FLAGS)
6de9cd9a
DN
17
18if LIBMUDFLAPTH
19libmudflapth = libmudflapth.la
20else
21libmudflapth =
22endif
23
42fcd7bb 24toolexeclib_LTLIBRARIES = libmudflap.la $(libmudflapth)
6de9cd9a
DN
25include_HEADERS = mf-runtime.h
26
cfbd22d7 27
6de9cd9a
DN
28libmudflap_la_SOURCES = \
29 mf-runtime.c \
7954e85c
FCE
30 mf-heuristics.c \
31 mf-hooks1.c \
32 mf-hooks2.c
33libmudflap_la_LIBADD =
34libmudflap_la_DEPENDENCIES = $(libmudflap_la_LIBADD)
bd4c8250 35libmudflap_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
6de9cd9a
DN
36
37clean-local:
38 rm -f pth/*.o pth/*.lo
39
fc5515a8 40pth/mf-runtime.lo: mf-runtime.c mf-runtime.h mf-impl.h
6de9cd9a
DN
41 $(LTCOMPILE) -DLIBMUDFLAPTH -c $(srcdir)/mf-runtime.c -o $@
42pth/mf-heuristics.lo: mf-heuristics.c mf-runtime.h mf-impl.h
43 $(LTCOMPILE) -DLIBMUDFLAPTH -c $(srcdir)/mf-heuristics.c -o $@
7954e85c
FCE
44pth/mf-hooks1.lo: mf-hooks1.c mf-runtime.h mf-impl.h
45 $(LTCOMPILE) -DLIBMUDFLAPTH -c $(srcdir)/mf-hooks1.c -o $@
46pth/mf-hooks2.lo: mf-hooks2.c mf-runtime.h mf-impl.h
47 $(LTCOMPILE) -DLIBMUDFLAPTH -c $(srcdir)/mf-hooks2.c -o $@
48pth/mf-hooks3.lo: mf-hooks3.c mf-runtime.h mf-impl.h
49 $(LTCOMPILE) -DLIBMUDFLAPTH -c $(srcdir)/mf-hooks3.c -o $@
6de9cd9a 50
6de9cd9a 51
7954e85c
FCE
52libmudflapth_la_SOURCES =
53libmudflapth_la_LIBADD = \
54 pth/mf-runtime.lo \
55 pth/mf-heuristics.lo \
56 pth/mf-hooks1.lo \
57 pth/mf-hooks2.lo \
58 pth/mf-hooks3.lo
6de9cd9a 59libmudflapth_la_DEPENDENCIES = $(libmudflapth_la_LIBADD)
bd4c8250 60libmudflapth_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
6de9cd9a
DN
61
62
63# XXX hack alert
64# From libffi/Makefile.am
65
66# Work around what appears to be a GNU make bug handling MAKEFLAGS
67# values defined in terms of make variables, as is the case for CC and
68# friends when we are called from the top level Makefile.
69AM_MAKEFLAGS = \
70 "AR_FLAGS=$(AR_FLAGS)" \
71 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
72 "CFLAGS=$(CFLAGS)" \
73 "CXXFLAGS=$(CXXFLAGS)" \
74 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
75 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
76 "INSTALL=$(INSTALL)" \
77 "INSTALL_DATA=$(INSTALL_DATA)" \
78 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
79 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
80 "JC1FLAGS=$(JC1FLAGS)" \
81 "LDFLAGS=$(LDFLAGS)" \
82 "LIBCFLAGS=$(LIBCFLAGS)" \
83 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
84 "MAKE=$(MAKE)" \
85 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
86 "PICFLAG=$(PICFLAG)" \
87 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
88 "SHELL=$(SHELL)" \
0b817eb0 89 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
6de9cd9a
DN
90 "exec_prefix=$(exec_prefix)" \
91 "infodir=$(infodir)" \
92 "libdir=$(libdir)" \
93 "prefix=$(prefix)" \
581fb421 94 "includedir=$(includedir)" \
6de9cd9a
DN
95 "AR=$(AR)" \
96 "AS=$(AS)" \
97 "CC=$(CC)" \
98 "CXX=$(CXX)" \
99 "LD=$(LD)" \
100 "LIBCFLAGS=$(LIBCFLAGS)" \
101 "NM=$(NM)" \
102 "PICFLAG=$(PICFLAG)" \
103 "RANLIB=$(RANLIB)" \
104 "DESTDIR=$(DESTDIR)"
105
106MAKEOVERRIDES=
107
6de9cd9a
DN
108## ################################################################
109
This page took 0.189492 seconds and 5 git commands to generate.