DEPTH = ../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ include $(DEPTH)/config/autoconf.mk ifeq ($(MOZ_WIDGET_TOOLKIT),os2) OSDIR = os2 else ifeq ($(MOZ_WIDGET_TOOLKIT),windows) OSDIR = win else ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT))) OSDIR = mac else ifeq ($(MOZ_WIDGET_TOOLKIT),beos) OSDIR = beos else OSDIR = unix endif endif endif endif VPATH := $(srcdir) $(srcdir)/$(OSDIR) MOZILLA_INTERNAL_API = 1 MODULE = capswarning MODULE_NAME = capswarningModule LIBRARY_NAME = capswarning IS_COMPONENT = 1 EXPORT_LIBRARY = 1 REQUIRES = xpcom \ string \ gfx \ dom \ content \ widget \ docshell \ xpconnect \ view \ webshell \ $(NULL) LOCAL_INCLUDES = -I$(srcdir) XPIDLSRCS = \ diICapsWarning.idl \ $(NULL) CPPSRCS = diCapsWarningModule.cpp \ diCapsWarning.cpp \ $(NULL) ifeq ($(OS_ARCH),WINNT) LIBS += \ $(XPCOM_LIBS) \ $(NSPR_LIBS) \ $(NULL) EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS) \ $(NULL) endif ifeq ($(OS_ARCH),WINNT) OS_LIBS += shell32.lib GARBAGE += diCapsWarning.cpp $(srcdir)/diCapsWarning.cpp endif # we don't want the shared lib, but we want to force the creation of a static lib. #FORCE_STATIC_LIB = 1 SRCS_IN_OBJDIR = 1 include $(topsrcdir)/config/rules.mk ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2) CXXFLAGS += $(TK_CFLAGS) endif # the use of multiple VPATH dirs is broken in cygwin make ifeq ($(OS_ARCH),WINNT) export:: $(OSDIR)/diCapsWarning.cpp $(INSTALL) $^ . endif