gecko/toolkit/components/places/Makefile.in
2012-05-21 12:12:37 +01:00

108 lines
2.1 KiB
Makefile

#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = places
XPIDLSRCS = \
nsINavHistoryService.idl \
$(NULL)
ifdef MOZ_PLACES
LIBRARY_NAME = places
LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1
MODULE_NAME = nsPlacesModule
IS_COMPONENT = 1
XPIDLSRCS += \
mozIAsyncHistory.idl \
mozIAsyncFavicons.idl \
mozIAsyncLivemarks.idl \
mozIPlacesAutoComplete.idl \
nsIAnnotationService.idl \
nsIBrowserHistory.idl \
nsIFaviconService.idl \
nsILivemarkService.idl \
nsINavBookmarksService.idl \
nsIPlacesImportExportService.idl \
nsITaggingService.idl \
nsPIPlacesDatabase.idl \
nsPIPlacesHistoryListenersNotifier.idl \
$(NULL)
EXPORTS_NAMESPACES = mozilla/places
EXPORTS_mozilla/places = \
History.h \
Database.h \
$(NULL)
CPPSRCS = \
nsAnnoProtocolHandler.cpp \
nsAnnotationService.cpp \
nsFaviconService.cpp \
nsNavHistory.cpp \
nsNavHistoryQuery.cpp \
nsNavHistoryResult.cpp \
nsNavBookmarks.cpp \
nsMaybeWeakPtr.cpp \
nsPlacesModule.cpp \
SQLFunctions.cpp \
Helpers.cpp \
History.cpp \
nsPlacesExportService.cpp \
AsyncFaviconHelpers.cpp \
PlaceInfo.cpp \
VisitInfo.cpp \
Database.cpp \
$(NULL)
LOCAL_INCLUDES += -I$(srcdir)/../build
ifdef MOZ_ANDROID_HISTORY
CPPSRCS += nsAndroidHistory.cpp
LOCAL_INCLUDES += \
-I$(topsrcdir)/docshell/base \
-I$(topsrcdir)/content/base/src \
$(NULL)
endif
EXTRA_COMPONENTS = \
toolkitplaces.manifest \
nsLivemarkService.js \
nsTaggingService.js \
nsPlacesExpiration.js \
PlacesCategoriesStarter.js \
$(NULL)
ifdef MOZ_XUL
EXTRA_COMPONENTS += nsPlacesAutoComplete.js nsPlacesAutoComplete.manifest
endif
EXTRA_JS_MODULES = \
PlacesDBUtils.jsm \
BookmarkHTMLUtils.jsm \
$(NULL)
EXTRA_PP_JS_MODULES = \
PlacesUtils.jsm \
$(NULL)
TEST_DIRS += tests
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
endif
include $(topsrcdir)/config/rules.mk