# 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 CPPSRCS = \ nsGnomeModule.cpp \ nsAlertsService.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)