6 include $(DEPTH
)/config
/autoconf.mk
9 LIBRARY_NAME
= browsercomps
10 SHORT_LIBNAME
= brwsrcmp
12 MODULE_NAME
= nsBrowserCompsModule
15 # Because we are an application component, link against the CRT statically
16 # (on Windows, but only if we're not building our own CRT for jemalloc)
36 EXPORTS
= nsBrowserCompsCID.h
38 CPPSRCS
= nsModule.
cpp \
41 ifeq ($(OS_ARCH
),WINNT
)
42 DEFINES
+= -DPSTOREC_DLL
=\"$(subst \
,\\,$(WINDIR
))\\system32
\\pstorec.dll
\"
44 OS_LIBS
+= $(call EXPAND_LIBNAME
,ole32 shell32
)
48 -I
$(srcdir)/..
/migration
/src \
49 -I
$(srcdir)/..
/shell/src \
50 -I
$(srcdir)/..
/feeds
/src \
51 -I
$(srcdir)/..
/places
/src \
54 ifeq ($(OS_ARCH
),WINNT
)
55 OS_LIBS
+= $(call EXPAND_LIBNAME
,version
)
58 SHARED_LIBRARY_LIBS
= \
59 ..
/migration
/src
/$(LIB_PREFIX
)migration_s.
$(LIB_SUFFIX
) \
60 ..
/feeds
/src
/$(LIB_PREFIX
)browser_feeds_s.
$(LIB_SUFFIX
) \
61 ..
/places
/src
/$(LIB_PREFIX
)browserplaces_s.
$(LIB_SUFFIX
) \
64 ifneq (,$(filter windows mac cocoa gtk2
, $(MOZ_WIDGET_TOOLKIT
)))
65 SHARED_LIBRARY_LIBS
+= ..
/shell/src
/$(LIB_PREFIX
)shellservice_s.
$(LIB_SUFFIX
) \
70 $(call EXPAND_LIBNAME_PATH
,unicharutil_external_s
,$(LIBXUL_DIST
)/lib
) \
71 $(LIBXUL_DIST
)/lib
/$(LIB_PREFIX
)mozreg_s.
$(LIB_SUFFIX
) \
72 $(LIBXUL_DIST
)/lib
/$(LIB_PREFIX
)xpcomglue_s.
$(LIB_SUFFIX
) \
73 $(MOZ_COMPONENT_LIBS
) \
76 # Mac: Need to link with CoreFoundation for Mac Migrators (PList reading code)
77 # GTK2: Need to link with glib for GNOME shell service
78 ifneq (,$(filter mac cocoa gtk2
,$(MOZ_WIDGET_TOOLKIT
)))
84 include $(topsrcdir
)/config
/rules.mk