mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
19850b9b8e
Many of the moved variables are likely not needed. moz.build should one day validate the sandbox's output and error if "useless" variables are present. --HG-- extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
31 lines
729 B
Makefile
31 lines
729 B
Makefile
# 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)
|
|
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
|