build/unix/stdc++compat/Makefile.in
author Mike Hommey <mh+mozilla@glandium.org>
Mon, 30 Apr 2012 08:03:59 +0200
changeset 92706 93c2ecbcde044dc4a511538ef9eb92e05c64f738
child 92715 5b2cef6c4c34eca28ed013c87f7877d94c520611
permissions -rw-r--r--
Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.

DEPTH		= ../../..
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE		= build
LIBRARY_NAME	= stdc++compat
HOST_LIBRARY_NAME = host_stdc++compat
FORCE_STATIC_LIB= 1
STL_FLAGS =
NO_EXPAND_LIBS = 1

CPPSRCS = \
  stdc++compat.cpp
  $(NULL)

HOST_CPPSRCS = $(CPPSRCS)

include $(topsrcdir)/config/rules.mk

CXXFLAGS += -DMOZ_LIBSTDCXX_VERSION=$(MOZ_LIBSTDCXX_TARGET_VERSION)