implementation. Use --enable-places to use this code instead of the Mork history implementation. This code is currently in active development, so some things are broken, notably all the UI which uses RDF. bug 266174 r=bryner git-svn-id: svn://10.0.0.236/trunk@184286 18797224-902f-48f8-a5cc-f745e15eee43
105 lines
2.2 KiB
Makefile
105 lines
2.2 KiB
Makefile
DEPTH=../../..
|
|
topsrcdir=@top_srcdir@
|
|
srcdir=@srcdir@
|
|
VPATH=@srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = browsercomps
|
|
LIBRARY_NAME = browsercomps
|
|
SHORT_LIBNAME = brwsrcmp
|
|
EXPORT_LIBRARY = 1
|
|
IS_COMPONENT = 1
|
|
MODULE_NAME = nsBrowserCompsModule
|
|
MOZILLA_INTERNAL_API = 1
|
|
|
|
REQUIRES = \
|
|
xpcom \
|
|
string \
|
|
pref \
|
|
rdf \
|
|
uriloader \
|
|
webbrowserpersist \
|
|
intl \
|
|
necko \
|
|
nkcache \
|
|
txmgr \
|
|
bookmarks \
|
|
migration \
|
|
shellservice \
|
|
xulapp \
|
|
$(NULL)
|
|
|
|
EXPORTS = nsBrowserCompsCID.h
|
|
|
|
CPPSRCS = nsModule.cpp \
|
|
$(NULL)
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
DEFINES += -DPSTOREC_DLL=\"$(subst \,\\,$(WINDIR))\\system32\\pstorec.dll\"
|
|
|
|
OS_LIBS += $(call EXPAND_LIBNAME,ole32 shell32)
|
|
endif
|
|
|
|
LOCAL_INCLUDES = \
|
|
-I$(srcdir)/../bookmarks/src \
|
|
-I$(srcdir)/../migration/src \
|
|
-I$(srcdir)/../shell/src \
|
|
$(NULL)
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
OS_LIBS += $(call EXPAND_LIBNAME,version)
|
|
endif
|
|
|
|
SHARED_LIBRARY_LIBS = \
|
|
$(DIST)/lib/$(LIB_PREFIX)bookmarks_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)migration_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
|
|
ifneq (,$(filter windows mac cocoa gtk2, $(MOZ_WIDGET_TOOLKIT)))
|
|
SHARED_LIBRARY_LIBS += $(DIST)/lib/$(LIB_PREFIX)shellservice_s.$(LIB_SUFFIX)
|
|
endif
|
|
|
|
ifdef MOZ_PLACES
|
|
# note: this requires mork because the auto complete code used as the base class
|
|
# for the new auto complete result implementation includes the implementation of
|
|
# the mork results
|
|
REQUIRES += \
|
|
autocomplete \
|
|
docshell \
|
|
locale \
|
|
layout \
|
|
dom \
|
|
mork \
|
|
history \
|
|
storage \
|
|
places \
|
|
$(NULL)
|
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../places/src
|
|
SHARED_LIBRARY_LIBS += $(DIST)/lib/$(LIB_PREFIX)places_s.$(LIB_SUFFIX)
|
|
endif
|
|
|
|
# Link to gkgfx for GNOME shell service
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT), gtk2)
|
|
EXTRA_DSO_LIBS += gkgfx
|
|
endif
|
|
|
|
EXTRA_DSO_LDOPTS += \
|
|
$(LIBS_DIR) \
|
|
$(EXTRA_DSO_LIBS) \
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
|
$(MOZ_XPCOM_OBSOLETE_LIBS) \
|
|
$(MOZ_JS_LIBS) \
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
$(NULL)
|
|
|
|
# Need to link to CoreFoundation for Mac Migrators (PList reading code)
|
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
EXTRA_DSO_LDOPTS += \
|
|
$(TK_LIBS) \
|
|
$(NULL)
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|