media/mtransport/build/Makefile.in
author Mike Shal <mshal@mozilla.com>
Tue, 23 Apr 2013 17:54:15 -0400
changeset 144532 6e45e9f62d2171419a8d8780ad4779ff0488ccb5
parent 143241 0db9c45c8bde2a553cf4f8bcb62707ad359838c0
child 146654 436af1f4e151b1cf41d99842095d591b262c01f0
permissions -rw-r--r--
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001

# -*- Mode: makefile; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- #
# 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 = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

EXTRA_DEPS += $(srcdir)/../objs.mk

LIBRARY_NAME = mtransport
FORCE_STATIC_LIB= 1
ifeq (WINNT,$(OS_TARGET))
VISIBILITY_FLAGS =
endif

LIBXUL_LIBRARY=1

SRCS_IN_OBJDIR	= 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1
endif # !_MSC_VER

include $(srcdir)/../objs.mk


# Make a copy into the local directory for dual compilation
export:: $(MTRANSPORT_CPPSRCS)
	$(INSTALL) $^ .

# for stun.h
ifeq (WINNT,$(OS_TARGET))
DEFINES += \
  -DWIN32 \
  -DNOMINMAX \
  $(NULL)
else ifeq (Linux,$(OS_TARGET))
DEFINES += -DLINUX
endif

include $(topsrcdir)/config/rules.mk