toolkit/system/gnome/Makefile.in
author Gregory Szorc <gps@mozilla.com>
Mon, 25 Feb 2013 12:47:21 -0800
changeset 123237 4a34004947d1a63657dc7ff80ece30492b43bf29
parent 122396 2e368c01440eea6c7699157c0a81851bf3ff74c9
child 125222 c9732200552d37d7304845e4f3459af9604d6640
permissions -rw-r--r--
Bug 784841 - Part 18q: Convert /intl; r=ted f=Ms2ger

# 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

MODULE		= mozgnome
LIBRARY_NAME	= mozgnome
FORCE_SHARED_LIB = 1
IS_COMPONENT	= 1
FAIL_ON_WARNINGS = 1


CPPSRCS = \
  nsGnomeModule.cpp \
  nsSystemAlertsService.cpp \
  nsAlertsIconListener.cpp \
  $(NULL)

ifdef MOZ_ENABLE_GCONF
CPPSRCS += \
  nsGConfService.cpp \
  $(NULL)
endif

ifdef MOZ_ENABLE_GNOMEVFS
CPPSRCS += \
	nsGnomeVFSService.cpp \
	$(NULL)
endif

ifdef MOZ_ENABLE_GIO
CPPSRCS += \
	nsGIOService.cpp \
	nsGSettingsService.cpp \
	$(NULL)
endif

EXTRA_DSO_LDOPTS += \
		$(XPCOM_GLUE_LDOPTS) \
		$(XPCOM_FROZEN_LDOPTS) \
		$(NSPR_LIBS) \
		$(MOZ_GCONF_LIBS) \
		$(MOZ_GNOMEVFS_LIBS) \
		$(GLIB_LIBS) \
		$(MOZ_GIO_LIBS) \
		$(NULL)

LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/components/build/

include $(topsrcdir)/config/rules.mk

CXXFLAGS += \
	$(MOZ_GCONF_CFLAGS) \
	$(MOZ_GNOMEVFS_CFLAGS) \
	$(MOZ_GIO_CFLAGS) \
	$(GLIB_CFLAGS) \
	$(MOZ_GTK2_CFLAGS) \
	$(NULL)