toolkit/components/build/Makefile.in
author Mike Shal <mshal@mozilla.com>
Tue, 23 Apr 2013 17:54:15 -0400
changeset 144532 6e45e9f62d2171419a8d8780ad4779ff0488ccb5
parent 143241 0db9c45c8bde2a553cf4f8bcb62707ad359838c0
child 149939 4feb9e5a7b68e974f7e74aa24d193196eef19db1
permissions -rw-r--r--
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

#
# 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