1999-09-02 21:56:30 +04:00
|
|
|
#
|
2004-04-17 22:33:16 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1999-09-02 21:56:30 +04: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-09-02 21:56:30 +04: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-09-15 04:33:49 +04:00
|
|
|
#
|
2004-04-17 22:33:16 +04:00
|
|
|
# ***** END LICENSE BLOCK *****
|
1999-09-02 21:56:30 +04:00
|
|
|
|
1999-09-15 04:33:49 +04:00
|
|
|
DEPTH = ../../..
|
1999-09-02 21:56:30 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
1999-09-15 04:33:49 +04:00
|
|
|
VPATH = @srcdir@
|
1999-09-02 21:56:30 +04:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
1999-09-15 04:33:49 +04:00
|
|
|
MODULE = mime
|
1999-10-12 09:04:41 +04:00
|
|
|
LIBRARY_NAME = mime
|
2001-06-21 00:21:49 +04:00
|
|
|
META_COMPONENT = mail
|
2001-04-28 23:48:12 +04:00
|
|
|
EXPORT_LIBRARY = 1
|
1999-10-12 09:04:41 +04:00
|
|
|
IS_COMPONENT = 1
|
2001-06-21 00:21:49 +04:00
|
|
|
MODULE_NAME = mime_services
|
2005-04-05 17:09:19 +04:00
|
|
|
MOZILLA_INTERNAL_API = 1
|
2006-02-27 20:23:26 +03:00
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../src
|
2004-01-07 16:37:00 +03:00
|
|
|
|
|
|
|
PACKAGE_FILE = mime.pkg
|
|
|
|
|
2001-09-18 17:41:47 +04:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
necko \
|
|
|
|
msgbase \
|
|
|
|
pref \
|
|
|
|
uconv \
|
|
|
|
$(NULL)
|
1999-09-02 21:56:30 +04:00
|
|
|
|
2000-04-04 11:37:50 +04:00
|
|
|
ifeq ($(USE_SHORT_LIBNAME),1)
|
2001-01-18 18:35:00 +03:00
|
|
|
EXTRA_DSO_LIBS = msgbsutl
|
2000-04-04 11:37:50 +04:00
|
|
|
else
|
|
|
|
EXTRA_DSO_LIBS = msgbaseutil
|
|
|
|
endif
|
|
|
|
|
1999-10-12 09:04:41 +04:00
|
|
|
CPPSRCS = nsMimeModule.cpp
|
1999-09-02 21:56:30 +04:00
|
|
|
|
1999-10-12 09:04:41 +04:00
|
|
|
SHARED_LIBRARY_LIBS = \
|
2006-03-21 21:19:14 +03:00
|
|
|
../src/$(LIB_PREFIX)mime_s.$(LIB_SUFFIX) \
|
1999-10-12 09:04:41 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_DSO_LDOPTS = \
|
2001-12-18 12:14:29 +03:00
|
|
|
$(LIBS_DIR) \
|
|
|
|
$(EXTRA_DSO_LIBS) \
|
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2001-10-29 00:25:46 +03:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
1999-10-12 09:04:41 +04:00
|
|
|
$(NULL)
|
|
|
|
|
1999-09-02 21:56:30 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|