~ubuntu-branches/ubuntu/hoary/binutils/hoary

« back to all changes in this revision

Viewing changes to demangler/lib/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-03-18 13:07:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050318130752-j4i37zgqclj53b94
Tags: 2.15-5ubuntu2
debian/rules: Call pkgstriptranslations if present (the package does not
use debhelper, thus it does not happen automatically).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Process this with automake to create Makefile.in
2
 
 
3
 
AUTOMAKE_OPTIONS = cygnus
4
 
 
5
 
## ################################################################
6
 
 
7
 
##
8
 
## This section is for make and multilib madness.
9
 
##
10
 
 
11
 
# Work around what appears to be a GNU make bug handling MAKEFLAGS
12
 
# values defined in terms of make variables, as is the case for CC and
13
 
# friends when we are called from the top level Makefile.
14
 
AM_MAKEFLAGS = \
15
 
        "AR_FLAGS=$(AR_FLAGS)" \
16
 
        "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
17
 
        "CFLAGS=$(CFLAGS)" \
18
 
        "CXXFLAGS=$(CXXFLAGS)" \
19
 
        "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
20
 
        "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
21
 
        "INSTALL=$(INSTALL)" \
22
 
        "INSTALL_DATA=$(INSTALL_DATA)" \
23
 
        "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
24
 
        "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
25
 
        "JC1FLAGS=$(JC1FLAGS)" \
26
 
        "LDFLAGS=$(LDFLAGS)" \
27
 
        "LIBCFLAGS=$(LIBCFLAGS)" \
28
 
        "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
29
 
        "MAKE=$(MAKE)" \
30
 
        "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
31
 
        "PICFLAG=$(PICFLAG)" \
32
 
        "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
33
 
        "SHELL=$(SHELL)" \
34
 
        "exec_prefix=$(exec_prefix)" \
35
 
        "infodir=$(infodir)" \
36
 
        "libdir=$(libdir)" \
37
 
        "prefix=$(prefix)" \
38
 
        "AR=$(AR)" \
39
 
        "AS=$(AS)" \
40
 
        "CC=$(CC)" \
41
 
        "CXX=$(CXX)" \
42
 
        "LD=$(LD)" \
43
 
        "LIBCFLAGS=$(LIBCFLAGS)" \
44
 
        "NM=$(NM)" \
45
 
        "PICFLAG=$(PICFLAG)" \
46
 
        "RANLIB=$(RANLIB)" \
47
 
        "DESTDIR=$(DESTDIR)"
48
 
 
49
 
MAKEOVERRIDES=
50
 
 
51
 
# Multilib support variables.
52
 
MULTISRCTOP =
53
 
MULTIBUILDTOP =
54
 
MULTIDIRS =
55
 
MULTISUBDIR =
56
 
MULTIDO = true
57
 
MULTICLEAN = true
58
 
 
59
 
toolexeclib_LTLIBRARIES = libdemangler.la
60
 
 
61
 
# We want to compile this for C.
62
 
AM_CPPFLAGS = -D_GLIBCXX_DEMANGLER_NOSTDCXX
63
 
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fimplicit-templates
64
 
 
65
 
LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
66
 
               $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
67
 
CXXLINK = $(LIBTOOL) --mode=link $(CC) $(AM_CXXFLAGS) $(CXXFLAGS) \
68
 
          $(AM_LDFLAGS) $(LDFLAGS) -o $@
69
 
 
70
 
libdemangler_la_LDFLAGS = -release $(VERSION)
71
 
 
72
 
# FIXME: Does it work with multilib?
73
 
INCLUDES = -I$(top_srcdir)/$(MULTISRCTOP)../include \
74
 
           -I$(top_srcdir)/$(MULTISRCTOP)include
75
 
 
76
 
libdemangler_common_SOURCES = demangle.cc
77
 
libdemangler_la_SOURCES = $(libdemangler_common_SOURCES)
78
 
 
79
 
# Multilib support.
80
 
.PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
81
 
        maintainer-clean-multi
82
 
 
83
 
all-recursive: all-multi
84
 
demangler-recursive: demangler-multi
85
 
install-recursive: install-multi
86
 
mostlyclean-recursive: mostlyclean-multi
87
 
clean-recursive: clean-multi
88
 
distclean-recursive: distclean-multi
89
 
maintainer-clean-recursive: maintainer-clean-multi
90
 
 
91
 
all-multi:
92
 
        : $(MAKE) ; exec $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
93
 
install-multi:
94
 
        $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
95
 
mostlyclean-multi:
96
 
        $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
97
 
clean-multi:
98
 
        $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
99
 
distclean-multi:
100
 
        $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
101
 
maintainer-clean-multi:
102
 
        $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean