2001-02-07 06:09:15 +03: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.
|
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
|
|
|
# Communications, Inc. Portions created by Netscape are
|
|
|
|
# Copyright (C) 2001, Mozilla. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = embedcomponents
|
|
|
|
LIBRARY_NAME = embedcomponents
|
2001-04-28 23:48:12 +04:00
|
|
|
EXPORT_LIBRARY = 1
|
2002-01-16 08:10:09 +03:00
|
|
|
ifneq ($(OS_ARCH),WINNT)
|
2001-02-22 07:33:59 +03:00
|
|
|
SHORT_LIBNAME = embedcmp
|
2002-01-16 08:10:09 +03:00
|
|
|
endif
|
2001-02-07 06:09:15 +03:00
|
|
|
IS_COMPONENT = 1
|
2001-06-21 00:21:49 +04:00
|
|
|
MODULE_NAME = embedcomponents
|
2002-12-28 04:15:07 +03:00
|
|
|
GRE_MODULE = 1
|
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
ifdef MOZ_PERF_METRICS
|
|
|
|
EXTRA_DSO_LIBS = mozutil_s
|
|
|
|
endif
|
|
|
|
|
2001-09-18 17:41:47 +04:00
|
|
|
REQUIRES = js \
|
|
|
|
xpcom \
|
|
|
|
string \
|
|
|
|
windowwatcher \
|
2002-05-02 16:38:43 +04:00
|
|
|
webbrwsr \
|
|
|
|
gfx \
|
2001-11-01 17:39:53 +03:00
|
|
|
webbrowserpersist \
|
2001-09-18 17:41:47 +04:00
|
|
|
jsconsole \
|
|
|
|
find \
|
2002-02-16 07:17:07 +03:00
|
|
|
htmlparser \
|
2001-09-18 17:41:47 +04:00
|
|
|
embed_base \
|
|
|
|
dom \
|
|
|
|
txtsvc \
|
2002-02-16 07:17:07 +03:00
|
|
|
lwbrk \
|
2001-11-01 17:39:53 +03:00
|
|
|
mimetype \
|
|
|
|
content \
|
|
|
|
uriloader \
|
|
|
|
necko \
|
2002-02-02 08:13:56 +03:00
|
|
|
commandhandler \
|
2002-02-02 10:49:04 +03:00
|
|
|
xuldoc \
|
2001-09-18 17:41:47 +04:00
|
|
|
$(NULL)
|
2001-02-07 06:09:15 +03:00
|
|
|
|
|
|
|
CPPSRCS = nsModule.cpp
|
|
|
|
|
|
|
|
SHARED_LIBRARY_LIBS = \
|
2001-12-15 02:49:04 +03:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)windowwatcher_s.$(LIB_SUFFIX) \
|
2002-05-02 16:38:43 +04:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)printingui_s.$(LIB_SUFFIX) \
|
2001-12-15 02:49:04 +03:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)appstartupnotifier_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)jsconsole_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)find_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)webbrowserpersist_s.$(LIB_SUFFIX) \
|
2002-02-02 08:13:56 +03:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)commandhandler_s.$(LIB_SUFFIX) \
|
2001-02-07 06:09:15 +03:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../windowwatcher/src \
|
2001-03-20 00:57:57 +03:00
|
|
|
-I$(srcdir)/../appstartup/src \
|
2001-05-11 05:52:11 +04:00
|
|
|
-I$(srcdir)/../jsconsole/src \
|
2001-04-28 01:11:03 +04:00
|
|
|
-I$(srcdir)/../find/src \
|
2001-11-01 17:39:53 +03:00
|
|
|
-I$(srcdir)/../webbrowserpersist/src \
|
2002-02-02 10:48:06 +03:00
|
|
|
-I$(srcdir)/../commandhandler/src \
|
2001-02-07 06:09:15 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2002-05-02 16:38:43 +04:00
|
|
|
ifeq ($(MOZ_GFX_TOOLKIT),os2)
|
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../printingui/src/os2
|
|
|
|
endif
|
|
|
|
|
2003-02-19 03:22:42 +03:00
|
|
|
ifneq (,$(filter gtk gtk2 xlib beos photon qt, $(MOZ_WIDGET_TOOLKIT)))
|
2002-05-07 16:03:37 +04:00
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../printingui/src/unixshared
|
2002-05-02 16:38:43 +04:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(MOZ_GFX_TOOLKIT),windows)
|
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../printingui/src/win
|
|
|
|
OS_LIBS += winspool.lib comdlg32.lib
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../printingui/src/mac
|
|
|
|
endif
|
|
|
|
|
|
|
|
EXTRA_DSO_LIBS = gkgfx
|
|
|
|
|
2001-02-07 06:09:15 +03:00
|
|
|
EXTRA_DSO_LDOPTS = \
|
2001-12-19 11:43:57 +03:00
|
|
|
$(LIBS_DIR) \
|
2001-02-07 06:09:15 +03:00
|
|
|
$(EXTRA_DSO_LIBS) \
|
2002-01-16 11:48:51 +03:00
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2001-02-07 06:09:15 +03:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
|
|
$(MOZ_JS_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2002-05-02 16:38:43 +04:00
|
|
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
EXTRA_DSO_LDOPTS += \
|
|
|
|
$(TK_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2001-02-07 06:09:15 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|