2007-03-22 10:30:00 -07:00
|
|
|
#
|
2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
DEPTH = ..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = xpcom
|
|
|
|
GRE_MODULE = 1
|
|
|
|
|
|
|
|
DIRS = \
|
2011-11-06 04:32:25 -08:00
|
|
|
idl-parser \
|
2007-03-22 10:30:00 -07:00
|
|
|
typelib \
|
|
|
|
string \
|
|
|
|
glue \
|
|
|
|
base \
|
|
|
|
ds \
|
|
|
|
io \
|
|
|
|
components \
|
|
|
|
threads \
|
|
|
|
reflect \
|
|
|
|
system \
|
2010-06-11 13:13:26 -07:00
|
|
|
../chrome \
|
2007-03-22 10:30:00 -07:00
|
|
|
build \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
ifdef MOZ_DEBUG
|
|
|
|
DIRS += windbgdlg
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef ENABLE_TESTS
|
|
|
|
TOOL_DIRS += \
|
|
|
|
tests \
|
|
|
|
sample \
|
|
|
|
typelib/xpt/tests \
|
2012-01-11 08:28:21 -08:00
|
|
|
$(NULL)
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
# Can't build internal xptcall tests that use symbols which are not exported.
|
2011-05-23 09:54:47 -07:00
|
|
|
#TOOL_DIRS += \
|
|
|
|
# reflect/xptinfo/tests \
|
|
|
|
# reflect/xptcall/tests \
|
|
|
|
# $(NULL)
|
2007-03-22 10:30:00 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
# xpcom-config.h is generated by configure
|
|
|
|
SDK_HEADERS = xpcom-config.h
|
|
|
|
|
2008-10-24 13:29:33 -07:00
|
|
|
ifdef DEHYDRA_PATH
|
|
|
|
DIRS += analysis
|
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|