зеркало из https://github.com/mozilla/pjs.git
36 строки
748 B
Makefile
36 строки
748 B
Makefile
# vim:set ts=8 sw=8 sts=8 noet:
|
|
#
|
|
# 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 = ../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
DIRS = src
|
|
MODULE = libmar_test
|
|
|
|
ifdef MOZ_ENABLE_SIGNMAR
|
|
DIRS += sign verify
|
|
else
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
# On Windows we don't verify with NSS and updater needs to link to it
|
|
DIRS += verify
|
|
endif
|
|
endif
|
|
|
|
# If we are building ./sign and ./verify then ./tool must come after it
|
|
DIRS += tool
|
|
|
|
ifdef ENABLE_TESTS
|
|
ifdef MOZ_ENABLE_SIGNMAR
|
|
DIRS += tests
|
|
endif
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|