mozglue/tests/Makefile.in
author Mike Shal <mshal@mozilla.com>
Tue, 23 Apr 2013 17:54:15 -0400
changeset 131737 496846474ed30201430d5c9b360c8a6956684d16
parent 101442 162130598df094e19b044610902abecd403278d3
child 131750 0db9c45c8bde2a553cf4f8bcb62707ad359838c0
permissions -rw-r--r--
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001

# 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
SIMPLE_PROGRAMS := TestZip$(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