
DEPTH		= ../../..
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE = diOSXDockIconBadger
XPIDL_MODULE		= diOSXDockIconBadger
LIBRARY_NAME	= macinteg
SHORT_LIBNAME = macinteg
EXPORT_LIBRARY	= 1
IS_COMPONENT	= 1
MODULE_NAME	= diOSXDockIconBadger
FORCE_SHARED_LIB = 1

XPIDLSRCS	= \
		diIOSXDockIconBadger.idl \
		$(NULL)

EXPORTS		= \
		diOSXDockIconBadgerCIID.h \
		$(NULL)

CMMSRCS         = diOSXDockIconBadger.mm

CPPSRCS   = \
    diOSXDockIconBadgerFactory.cpp \
    $(NULL)

EXTRA_DSO_LDOPTS = \
    -framework Carbon \
    $(XPCOM_GLUE_LDOPTS) \
    $(NSPR_LIBS) \
		$(LIBS_DIRS) \
		$(MOZ_UNICHARUTIL_LIBS) \
		$(MOZ_COMPONENT_LIBS) \
		$(NULL)

# Need to link with CoreFoundation on Mac
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
EXTRA_DSO_LDOPTS += \
		$(TK_LIBS) \
		$(NULL)
endif

EXTRA_PP_COMPONENTS = dibadge.manifest

include $(topsrcdir)/config/rules.mk

