# # 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 = ../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = alerts XPIDLSRCS = nsIAlertsService.idl ifneq (,$(filter $(MOZ_WIDGET_TOOLKIT),windows gtk2 qt android)) LIBRARY_NAME = alerts_s FORCE_STATIC_LIB = 1 LIBXUL_LIBRARY = 1 CPPSRCS = \ nsAlertsService.cpp \ $(NULL) LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/components/build/ endif ifneq (,$(filter cocoa, $(MOZ_WIDGET_TOOLKIT))) XPIDLSRCS += nsINotificationsList.idl # mac/growl needs to be first for linking to work! DIRS += \ mac/growl \ mac \ $(NULL) endif TEST_DIRS += test ifneq (,$(filter $(MOZ_WIDGET_TOOLKIT),windows gtk2 qt android)) include $(topsrcdir)/config/config.mk include $(topsrcdir)/ipc/chromium/chromium-config.mk endif include $(topsrcdir)/config/rules.mk