1999-09-18 02:12:56 +00:00
|
|
|
#
|
2004-04-18 14:21:17 +00:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1998-08-19 20:42:14 +00:00
|
|
|
#
|
2004-04-18 14:21:17 +00: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-19 20:42:14 +00:00
|
|
|
#
|
1999-11-06 03:43:54 +00:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-04-18 14:21:17 +00: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 03:43:54 +00:00
|
|
|
#
|
2004-04-18 14:21:17 +00: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 02:12:56 +00:00
|
|
|
#
|
2004-04-18 14:21:17 +00:00
|
|
|
# ***** END LICENSE BLOCK *****
|
1998-08-19 20:42:14 +00:00
|
|
|
|
1999-09-18 02:12:56 +00:00
|
|
|
DEPTH = ..
|
1998-08-19 20:42:14 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
1999-09-18 02:12:56 +00:00
|
|
|
VPATH = @srcdir@
|
1998-08-19 20:42:14 +00:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2003-06-27 04:12:16 +00:00
|
|
|
MODULE = xpcom
|
2002-12-28 01:15:07 +00:00
|
|
|
GRE_MODULE = 1
|
|
|
|
|
2001-12-09 07:05:12 +00:00
|
|
|
DIRS = \
|
2003-10-08 03:39:52 +00:00
|
|
|
MoreFiles \
|
2001-12-09 07:05:12 +00:00
|
|
|
typelib \
|
2003-08-14 23:50:21 +00:00
|
|
|
string \
|
2001-12-09 07:05:12 +00:00
|
|
|
glue \
|
|
|
|
base \
|
|
|
|
ds \
|
|
|
|
io \
|
|
|
|
components \
|
|
|
|
threads \
|
|
|
|
reflect \
|
|
|
|
proxy \
|
|
|
|
build \
|
|
|
|
$(NULL)
|
|
|
|
|
2004-12-06 22:39:54 +00:00
|
|
|
ifndef MOZ_ENABLE_LIBXUL
|
2005-11-07 19:08:03 +00:00
|
|
|
ifndef MINIMO
|
2004-12-09 19:28:35 +00:00
|
|
|
DIRS += stub
|
|
|
|
endif
|
2005-11-07 19:08:03 +00:00
|
|
|
endif
|
2004-12-09 19:28:35 +00:00
|
|
|
|
|
|
|
TOOL_DIRS = \
|
2004-12-06 22:39:54 +00:00
|
|
|
tools \
|
|
|
|
$(NULL)
|
|
|
|
|
2001-12-09 07:05:12 +00:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
ifdef MOZ_DEBUG
|
|
|
|
DIRS += windbgdlg
|
|
|
|
endif
|
|
|
|
endif
|
1999-02-07 11:58:29 +00:00
|
|
|
|
|
|
|
ifdef ENABLE_TESTS
|
2004-12-09 19:28:35 +00:00
|
|
|
TOOL_DIRS += \
|
2002-05-08 06:11:48 +00:00
|
|
|
tests \
|
2001-01-13 05:26:02 +00:00
|
|
|
sample \
|
2000-03-02 13:29:03 +00:00
|
|
|
typelib/xpt/tests \
|
2005-11-08 18:17:49 +00:00
|
|
|
proxy/tests
|
|
|
|
|
|
|
|
# Can't build internal xptcall tests that use symbols which are not exported.
|
|
|
|
ifndef MOZ_ENABLE_LIBXUL
|
|
|
|
TOOL_DIRS += \
|
2000-03-02 13:29:03 +00:00
|
|
|
reflect/xptinfo/tests \
|
|
|
|
reflect/xptcall/tests \
|
2005-11-08 18:17:49 +00:00
|
|
|
$(NULL)
|
|
|
|
endif
|
1999-07-17 03:38:08 +00:00
|
|
|
endif
|
|
|
|
|
2003-06-27 04:12:16 +00:00
|
|
|
# xpcom-config.h is generated by configure
|
|
|
|
SDK_HEADERS = xpcom-config.h
|
|
|
|
|
1998-08-19 20:42:14 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
1999-09-18 02:12:56 +00:00
|
|
|
|