ipc/glue/Makefile.in
author Ryan VanderMeulen <ryanvm@gmail.com>
Tue, 30 Apr 2013 21:09:41 -0400
changeset 130421 d5db4e09eeef840fd81294ab2a2a0344ea0cde96
parent 130419 cf8db9b6bd61871b6cfe3335f95102dc89c89684
child 131409 0726f9659154017357406dd03bf577ab0e2872b7
permissions -rw-r--r--
Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage. CLOSED TREE

# 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

LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/crashreporter

LIBRARY_NAME = mozipc_s
FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1

CPPSRCS += \
  AsyncChannel.cpp \
  BrowserProcessSubThread.cpp \
  FileDescriptor.cpp \
  FileDescriptorUtils.cpp \
  GeckoChildProcessHost.cpp \
  InputStreamUtils.cpp \
  MessagePump.cpp \
  ProcessChild.cpp \
  ProtocolUtils.cpp \
  RPCChannel.cpp \
  ScopedXREEmbed.cpp \
  SharedMemory.cpp \
  Shmem.cpp \
  StringUtil.cpp \
  SyncChannel.cpp \
  URIUtils.cpp \
  $(NULL)

ifeq ($(OS_ARCH),WINNT) #{
CPPSRCS += \
  SharedMemory_windows.cpp \
  Transport_win.cpp \
  WindowsMessageLoop.cpp \
  CrossProcessMutex_windows.cpp \
  $(NULL)
else
# POSIX
CPPSRCS += \
  SharedMemory_posix.cpp \
  Transport_posix.cpp \
  CrossProcessMutex_unimplemented.cpp \
  $(NULL)
endif #}

ifeq ($(OS_TARGET),Android)
CPPSRCS += SharedMemoryBasic_android.cpp
endif #}

ifeq ($(OS_ARCH),Linux)
CPPSRCS += ProcessUtils_linux.cpp
else
CPPSRCS += ProcessUtils_none.cpp
endif

include $(topsrcdir)/ipc/app/defs.mk
DEFINES += -DMOZ_CHILD_PROCESS_NAME=\"$(MOZ_CHILD_PROCESS_NAME)\"
DEFINES += -DMOZ_CHILD_PROCESS_BUNDLE=\"$(MOZ_CHILD_PROCESS_BUNDLE)\"

include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

include $(topsrcdir)/config/rules.mk

# Since we get the value of MOZ_CHILD_PROCESS_NAME from another file make sure
# to rebuild if that file changes.
$(CPPSRCS:%.cpp=%.$(OBJ_SUFFIX)): $(topsrcdir)/ipc/app/defs.mk