1
# This Source Code Form is subject to the terms of the Mozilla Public
2
# License, v. 2.0. If a copy of the MPL was not distributed with this
3
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
topsrcdir = @top_srcdir@
10
include $(DEPTH)/config/autoconf.mk
12
MODULE = embedcomponents
13
LIBRARY_NAME = embedcomponents
15
SHORT_LIBNAME = embedcmp
17
MODULE_NAME = embedcomponents
21
CPPSRCS = nsEmbeddingModule.cpp
23
SHARED_LIBRARY_LIBS = \
24
../windowwatcher/src/$(LIB_PREFIX)windowwatcher_s.$(LIB_SUFFIX) \
25
../appstartup/src/$(LIB_PREFIX)appstartupnotifier_s.$(LIB_SUFFIX) \
26
../find/src/$(LIB_PREFIX)find_s.$(LIB_SUFFIX) \
27
../webbrowserpersist/src/$(LIB_PREFIX)webbrowserpersist_s.$(LIB_SUFFIX) \
28
../commandhandler/src/$(LIB_PREFIX)commandhandler_s.$(LIB_SUFFIX) \
33
SHARED_LIBRARY_LIBS += \
34
../printingui/src/$(LIB_PREFIX)printingui_s.$(LIB_SUFFIX) \
40
-I$(srcdir)/../windowwatcher/src \
41
-I$(srcdir)/../appstartup/src \
42
-I$(srcdir)/../find/src \
43
-I$(srcdir)/../webbrowserpersist/src \
44
-I$(srcdir)/../commandhandler/src \
47
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
48
LOCAL_INCLUDES += -I$(srcdir)/../printingui/src/os2
51
ifdef MOZ_PDF_PRINTING
52
LOCAL_INCLUDES += -I$(srcdir)/../printingui/src/unixshared
55
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
56
LOCAL_INCLUDES += -I$(srcdir)/../printingui/src/win
59
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
60
LOCAL_INCLUDES += -I$(srcdir)/../printingui/src/mac
63
include $(topsrcdir)/config/rules.mk