1999-09-18 06:12:56 +04:00
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1998-08-20 00:42:14 +04:00
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
1998-08-20 00:42:14 +04:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-11-06 06:43:54 +03:00
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
1999-09-18 06:12:56 +04:00
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# ***** END LICENSE BLOCK *****
|
1998-08-20 00:42:14 +04:00
|
|
|
|
1999-09-18 06:12:56 +04:00
|
|
|
DEPTH = ..
|
1998-08-20 00:42:14 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
1999-09-18 06:12:56 +04:00
|
|
|
VPATH = @srcdir@
|
1998-08-20 00:42:14 +04:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2003-06-27 08:12:16 +04:00
|
|
|
MODULE = xpcom
|
2002-12-28 04:15:07 +03:00
|
|
|
GRE_MODULE = 1
|
|
|
|
|
2001-12-09 10:05:12 +03:00
|
|
|
DIRS = \
|
|
|
|
typelib \
|
2003-08-15 03:50:21 +04:00
|
|
|
string \
|
2001-12-09 10:05:12 +03:00
|
|
|
glue \
|
|
|
|
base \
|
|
|
|
ds \
|
|
|
|
io \
|
|
|
|
components \
|
|
|
|
threads \
|
|
|
|
reflect \
|
|
|
|
proxy \
|
2006-09-28 00:17:56 +04:00
|
|
|
system \
|
2010-06-12 00:13:26 +04:00
|
|
|
../chrome \
|
2001-12-09 10:05:12 +03:00
|
|
|
build \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
ifdef MOZ_DEBUG
|
|
|
|
DIRS += windbgdlg
|
|
|
|
endif
|
|
|
|
endif
|
1999-02-07 14:58:29 +03:00
|
|
|
|
|
|
|
ifdef ENABLE_TESTS
|
2004-12-09 22:28:35 +03:00
|
|
|
TOOL_DIRS += \
|
2002-05-08 10:11:48 +04:00
|
|
|
tests \
|
2001-01-13 08:26:02 +03:00
|
|
|
sample \
|
2000-03-02 16:29:03 +03:00
|
|
|
typelib/xpt/tests \
|
2005-11-08 21:17:49 +03:00
|
|
|
proxy/tests
|
|
|
|
|
|
|
|
# Can't build internal xptcall tests that use symbols which are not exported.
|
2011-05-23 20:54:47 +04:00
|
|
|
#TOOL_DIRS += \
|
|
|
|
# reflect/xptinfo/tests \
|
|
|
|
# reflect/xptcall/tests \
|
|
|
|
# $(NULL)
|
1999-07-17 07:38:08 +04:00
|
|
|
endif
|
|
|
|
|
2003-06-27 08:12:16 +04:00
|
|
|
# xpcom-config.h is generated by configure
|
|
|
|
SDK_HEADERS = xpcom-config.h
|
|
|
|
|
2008-10-25 00:29:33 +04:00
|
|
|
ifdef DEHYDRA_PATH
|
|
|
|
DIRS += analysis
|
|
|
|
endif
|
|
|
|
|
1998-08-20 00:42:14 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
1999-09-18 06:12:56 +04:00
|
|
|
|
2011-08-12 20:07:09 +04:00
|
|
|
regenerate-idl-parser:
|
|
|
|
$(PYTHON_PATH) \
|
|
|
|
-I$(topsrcdir)/other-licenses/ply \
|
|
|
|
-I$(topsrcdir)/xpcom/idl-parser \
|
|
|
|
$(topsrcdir)/xpcom/idl-parser/header.py --cachedir=$(topsrcdir)/xpcom/idl-parser --regen
|
|
|
|
|
2011-08-17 21:26:26 +04:00
|
|
|
check::
|
|
|
|
$(PYTHON_PATH) \
|
|
|
|
-I$(topsrcdir)/other-licenses/ply \
|
|
|
|
-I$(topsrcdir)/xpcom/idl-parser \
|
|
|
|
$(topsrcdir)/xpcom/idl-parser/runtests.py
|