2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
2009-12-22 23:35:27 -08:00
|
|
|
CPPSRCS = nsGnomeModule.cpp
|
2009-08-25 11:58:11 -07:00
|
|
|
|
2009-12-22 23:35:27 -08:00
|
|
|
ifdef MOZ_ENABLE_GCONF
|
|
|
|
CPPSRCS += \
|
|
|
|
nsGConfService.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
2009-08-25 11:58:11 -07:00
|
|
|
|
|
|
|
ifdef MOZ_ENABLE_GNOMEVFS
|
|
|
|
CPPSRCS += \
|
|
|
|
nsGnomeVFSService.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MOZ_ENABLE_GIO
|
|
|
|
CPPSRCS += \
|
|
|
|
nsGIOService.cpp \
|
2011-05-12 01:14:55 -07:00
|
|
|
nsGSettingsService.cpp \
|
2009-08-25 11:58:11 -07:00
|
|
|
$(NULL)
|
|
|
|
endif
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-01-08 00:12:16 -08:00
|
|
|
ifdef MOZ_ENABLE_LIBNOTIFY
|
|
|
|
CPPSRCS += \
|
|
|
|
nsAlertsService.cpp \
|
|
|
|
nsAlertsIconListener.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
EXTRA_DSO_LDOPTS += \
|
|
|
|
$(XPCOM_GLUE_LDOPTS) \
|
|
|
|
$(XPCOM_FROZEN_LDOPTS) \
|
|
|
|
$(NSPR_LIBS) \
|
|
|
|
$(MOZ_GCONF_LIBS) \
|
|
|
|
$(MOZ_GNOMEVFS_LIBS) \
|
|
|
|
$(GLIB_LIBS) \
|
2009-01-08 00:12:16 -08:00
|
|
|
$(MOZ_LIBNOTIFY_LIBS) \
|
2009-08-25 11:58:11 -07:00
|
|
|
$(MOZ_GIO_LIBS) \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2009-01-08 00:12:16 -08:00
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/components/build/
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
CXXFLAGS += \
|
|
|
|
$(MOZ_GCONF_CFLAGS) \
|
|
|
|
$(MOZ_GNOMEVFS_CFLAGS) \
|
2011-06-01 01:13:57 -07:00
|
|
|
$(MOZ_GIO_CFLAGS) \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(GLIB_CFLAGS) \
|
2009-01-08 00:12:16 -08:00
|
|
|
$(MOZ_LIBNOTIFY_CFLAGS) \
|
2009-08-25 11:58:11 -07:00
|
|
|
$(MOZ_GTK2_CFLAGS) \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|