gecko/toolkit/components/build/Makefile.in
Mike Shal 994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00

64 lines
1.7 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=@DEPTH@
topsrcdir=@top_srcdir@
srcdir=@srcdir@
VPATH=@srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = toolkitcomps
EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsToolkitCompsModule
LIBXUL_LIBRARY = 1
include $(topsrcdir)/config/config.mk
LOCAL_INCLUDES = \
-I$(srcdir)/../alerts \
-I$(srcdir)/../downloads \
-I$(srcdir)/../feeds \
-I$(srcdir)/../find \
-I$(srcdir)/../intl \
-I$(srcdir)/../protobuf \
-I$(srcdir)/../startup \
-I$(srcdir)/../statusfilter \
-I$(srcdir)/../typeaheadfind \
-I$(srcdir)/../url-classifier \
-I$(srcdir)/../../xre \
$(NULL)
SHARED_LIBRARY_LIBS = \
../alerts/$(LIB_PREFIX)alerts_s.$(LIB_SUFFIX) \
../find/$(LIB_PREFIX)mozfind_s.$(LIB_SUFFIX) \
../typeaheadfind/$(LIB_PREFIX)fastfind_s.$(LIB_SUFFIX) \
../startup/$(LIB_PREFIX)appstartup_s.$(LIB_SUFFIX) \
../statusfilter/$(LIB_PREFIX)mozbrwsr_s.$(LIB_SUFFIX) \
../downloads/$(LIB_PREFIX)download_s.$(LIB_SUFFIX) \
../protobuf/$(LIB_PREFIX)protobuf_s.$(LIB_SUFFIX) \
../intl/$(LIB_PREFIX)intl_s.$(LIB_SUFFIX) \
$(NULL)
ifndef MOZ_DISABLE_PARENTAL_CONTROLS
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
SHARED_LIBRARY_LIBS += ../parentalcontrols/$(LIB_PREFIX)parentalcontrols_s.$(LIB_SUFFIX)
LOCAL_INCLUDES += \
-I$(srcdir)/../parentalcontrols \
$(NULL)
endif
endif
ifdef MOZ_URL_CLASSIFIER
SHARED_LIBRARY_LIBS += ../url-classifier/$(LIB_PREFIX)urlclassifier_s.$(LIB_SUFFIX)
endif
ifdef MOZ_FEEDS
SHARED_LIBRARY_LIBS += ../feeds/$(LIB_PREFIX)feed_s.$(LIB_SUFFIX)
endif
include $(topsrcdir)/config/rules.mk