mozglue/tests/Makefile.in
author Ben Turner <bent.mozilla@gmail.com>
Thu, 16 Aug 2012 00:02:32 -0400
changeset 102509 418b5cbc7cd9f259d950526cb450881d4d6d4a1e
parent 101442 162130598df094e19b044610902abecd403278d3
child 131737 496846474ed30201430d5c9b360c8a6956684d16
permissions -rw-r--r--
Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.

# 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

ifdef MOZ_LINKER
CPPSRCS = \
  TestZip.cpp \
  $(NULL)

SIMPLE_PROGRAMS := $(CPPSRCS:.cpp=$(BIN_SUFFIX))
NO_DIST_INSTALL = 1
STL_FLAGS =

LOCAL_INCLUDES += -I$(srcdir)/../linker
# Only link against the linker, not mozglue
MOZ_GLUE_PROGRAM_LDFLAGS =
MOZ_GLUE_LDFLAGS =
LIBS += $(call EXPAND_LIBNAME_PATH,linker,../linker)

EXTRA_LIBS = $(MOZ_ZLIB_LIBS)
endif

include $(topsrcdir)/config/rules.mk

ifdef MOZ_LINKER
check::
	@$(EXIT_ON_ERROR) ./TestZip$(BIN_SUFFIX) $(srcdir)
endif