2001-12-18 09:14:29 +00:00
|
|
|
#
|
2004-04-18 22:01:16 +00:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
2004-09-12 15:59:33 +00:00
|
|
|
# Version: Mozilla-sample-code 1.0
|
2004-04-18 22:01:16 +00:00
|
|
|
#
|
2004-09-12 15:59:33 +00:00
|
|
|
# Copyright (c) 2002 Netscape Communications Corporation and
|
|
|
|
# other contributors
|
2004-04-18 22:01:16 +00:00
|
|
|
#
|
2004-09-12 15:59:33 +00:00
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
# copy of this Mozilla sample software and associated documentation files
|
|
|
|
# (the "Software"), to deal in the Software without restriction, including
|
|
|
|
# without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
# distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
|
|
# persons to whom the Software is furnished to do so, subject to the
|
|
|
|
# following conditions:
|
2004-04-18 22:01:16 +00:00
|
|
|
#
|
2004-09-12 15:59:33 +00:00
|
|
|
# The above copyright notice and this permission notice shall be included
|
|
|
|
# in all copies or substantial portions of the Software.
|
2004-04-18 22:01:16 +00:00
|
|
|
#
|
2004-09-12 15:59:33 +00:00
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
|
|
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
|
|
# DEALINGS IN THE SOFTWARE.
|
2004-04-18 22:01:16 +00:00
|
|
|
#
|
2001-12-18 09:14:29 +00:00
|
|
|
# Contributor(s):
|
2004-04-18 22:01:16 +00:00
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
2001-12-18 09:14:29 +00:00
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2003-04-02 22:53:16 +00:00
|
|
|
ifeq ($(OS_ARCH),OS2)
|
|
|
|
DIRS = os2Embed
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2005-11-23 14:16:33 +00:00
|
|
|
# disable winembed in non-libxul
|
2005-09-15 12:04:57 +00:00
|
|
|
ifndef BUILD_STATIC_LIBS
|
2005-11-23 14:16:33 +00:00
|
|
|
ifdef MOZ_XUL_APP
|
2001-12-18 09:14:29 +00:00
|
|
|
DIRS = winEmbed
|
2005-11-23 14:16:33 +00:00
|
|
|
endif
|
|
|
|
endif
|
2001-12-18 09:14:29 +00:00
|
|
|
|
2005-11-23 14:16:33 +00:00
|
|
|
# disable mfcembed in static builds
|
|
|
|
ifndef BUILD_STATIC_LIBS
|
2003-03-08 05:57:15 +00:00
|
|
|
ifndef GNU_CC
|
2001-12-18 09:14:29 +00:00
|
|
|
ifndef NO_MFC
|
2006-04-05 19:25:57 +00:00
|
|
|
ifndef MOZ_NO_XPCOM_OBSOLETE
|
2001-12-18 09:14:29 +00:00
|
|
|
DIRS += mfcembed/components mfcembed
|
|
|
|
endif
|
2003-03-08 05:57:15 +00:00
|
|
|
endif
|
2003-04-02 22:53:16 +00:00
|
|
|
endif
|
2006-04-05 19:25:57 +00:00
|
|
|
endif
|
2001-12-18 09:14:29 +00:00
|
|
|
|
2004-10-25 22:30:08 +00:00
|
|
|
endif
|
|
|
|
|
2001-12-18 09:14:29 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|