зеркало из https://github.com/mozilla/pjs.git
61 строка
999 B
Makefile
61 строка
999 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
|
|
|
|
MODULE = xpcom
|
|
GRE_MODULE = 1
|
|
|
|
DIRS = \
|
|
idl-parser \
|
|
typelib \
|
|
string \
|
|
glue \
|
|
base \
|
|
ds \
|
|
io \
|
|
components \
|
|
threads \
|
|
reflect \
|
|
system \
|
|
../chrome \
|
|
build \
|
|
$(NULL)
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
ifdef MOZ_DEBUG
|
|
DIRS += windbgdlg
|
|
endif
|
|
endif
|
|
|
|
ifdef ENABLE_TESTS
|
|
TOOL_DIRS += \
|
|
tests \
|
|
sample \
|
|
typelib/xpt/tests \
|
|
$(NULL)
|
|
|
|
# Can't build internal xptcall tests that use symbols which are not exported.
|
|
#TOOL_DIRS += \
|
|
# reflect/xptinfo/tests \
|
|
# reflect/xptcall/tests \
|
|
# $(NULL)
|
|
endif
|
|
|
|
# xpcom-config.h is generated by configure
|
|
SDK_HEADERS = xpcom-config.h
|
|
|
|
ifdef DEHYDRA_PATH
|
|
DIRS += analysis
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|