1999-02-11 04:01:47 +03:00
|
|
|
#
|
2004-04-17 22:33:16 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1999-02-11 04:01:47 +03:00
|
|
|
#
|
2004-04-17 22:33:16 +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.
|
1999-02-11 04:01:47 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-04-17 22:33:16 +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-17 22:33:16 +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-07-28 03:27:44 +04:00
|
|
|
#
|
2004-04-17 22:33:16 +04:00
|
|
|
# ***** END LICENSE BLOCK *****
|
1999-02-11 04:01:47 +03:00
|
|
|
|
1999-07-02 07:25:32 +04:00
|
|
|
DEPTH = ../../..
|
1999-02-11 04:01:47 +03:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
1999-09-15 03:05:06 +04:00
|
|
|
VPATH = @srcdir@
|
2005-08-24 20:49:22 +04:00
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../src
|
1999-02-11 04:01:47 +03:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
1999-07-02 07:25:32 +04:00
|
|
|
MODULE = msgcompose
|
|
|
|
LIBRARY_NAME = msgcompose
|
2001-06-21 00:21:49 +04:00
|
|
|
META_COMPONENT = mail
|
2001-04-28 23:48:12 +04:00
|
|
|
EXPORT_LIBRARY = 1
|
2001-01-18 18:35:00 +03:00
|
|
|
SHORT_LIBNAME = msgcompo
|
1999-07-02 07:25:32 +04:00
|
|
|
IS_COMPONENT = 1
|
2001-06-21 00:21:49 +04:00
|
|
|
MODULE_NAME = nsMsgComposeModule
|
2002-01-16 08:10:09 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
XPIDL_MODULE = msgcompo
|
|
|
|
endif
|
2005-04-05 17:09:19 +04:00
|
|
|
MOZILLA_INTERNAL_API = 1
|
2004-01-07 16:37:00 +03:00
|
|
|
|
|
|
|
PACKAGE_FILE = msgcompose.pkg
|
|
|
|
|
2001-09-18 17:41:47 +04:00
|
|
|
REQUIRES = xpcom \
|
2005-02-05 00:10:45 +03:00
|
|
|
xpcom_obsolete \
|
2001-09-18 17:41:47 +04:00
|
|
|
string \
|
|
|
|
msgbase \
|
|
|
|
msgbaseutil \
|
|
|
|
editor \
|
|
|
|
necko \
|
|
|
|
dom \
|
|
|
|
uriloader \
|
|
|
|
mime \
|
|
|
|
addrbook \
|
|
|
|
rdf \
|
|
|
|
intl \
|
2002-02-20 06:10:19 +03:00
|
|
|
uconv \
|
2001-09-18 17:41:47 +04:00
|
|
|
mailnews \
|
2005-01-15 13:32:27 +03:00
|
|
|
pref \
|
2001-09-18 17:41:47 +04:00
|
|
|
widget \
|
|
|
|
msgdb \
|
2004-10-29 23:28:38 +04:00
|
|
|
appcomps \
|
2001-09-18 17:41:47 +04:00
|
|
|
nkcache \
|
|
|
|
$(NULL)
|
1999-02-11 04:01:47 +03:00
|
|
|
|
2000-04-05 10:08:04 +04:00
|
|
|
ifeq ($(USE_SHORT_LIBNAME),1)
|
2001-01-18 18:35:00 +03:00
|
|
|
EXTRA_DSO_LIBS = msgbsutl
|
2000-04-05 10:08:04 +04:00
|
|
|
else
|
|
|
|
EXTRA_DSO_LIBS = msgbaseutil
|
|
|
|
endif
|
|
|
|
|
1999-07-02 07:25:32 +04:00
|
|
|
CPPSRCS = nsMsgCompFactory.cpp
|
1999-02-11 04:01:47 +03:00
|
|
|
|
1999-03-23 03:06:25 +03:00
|
|
|
SHARED_LIBRARY_LIBS = \
|
2006-03-21 21:19:14 +03:00
|
|
|
../src/$(LIB_PREFIX)msgcompose_s.$(LIB_SUFFIX) \
|
1999-03-23 03:06:25 +03:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_DSO_LDOPTS = \
|
2001-12-18 12:14:29 +03:00
|
|
|
$(LIBS_DIR) \
|
2000-04-05 10:08:04 +04:00
|
|
|
$(EXTRA_DSO_LIBS) \
|
|
|
|
$(MOZ_JS_LIBS) \
|
2001-10-23 00:44:02 +04:00
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2001-10-29 00:55:32 +03:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
2003-03-15 04:04:32 +03:00
|
|
|
$(MOZ_XPCOM_OBSOLETE_LIBS) \
|
1999-03-23 03:06:25 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2003-04-26 01:18:10 +04:00
|
|
|
ifneq (,$(filter cocoa mac, $(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
|
|
|
endif
|
|
|
|
|
1999-02-11 04:01:47 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|