зеркало из https://github.com/mozilla/pjs.git
35 строки
791 B
Makefile
35 строки
791 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 = ../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
PREF_JS_EXPORTS = $(srcdir)/services-common.js
|
|
|
|
modules := \
|
|
async.js \
|
|
log4moz.js \
|
|
observers.js \
|
|
preferences.js \
|
|
rest.js \
|
|
stringbundle.js \
|
|
tokenserverclient.js \
|
|
utils.js \
|
|
$(NULL)
|
|
|
|
source_modules = $(foreach module,$(modules),$(srcdir)/$(module))
|
|
module_dir = $(FINAL_TARGET)/modules/services-common
|
|
|
|
libs::
|
|
$(NSINSTALL) -D $(module_dir)
|
|
$(NSINSTALL) $(source_modules) $(module_dir)
|
|
|
|
TEST_DIRS += tests
|
|
|
|
include $(topsrcdir)/config/rules.mk
|