From 582656069e40463b016f4a05e6de7eb7303d530e Mon Sep 17 00:00:00 2001 From: "bryner%netscape.com" Date: Tue, 30 Oct 2001 06:10:01 +0000 Subject: [PATCH] Bug 106208 - don't build nsBaseFilePicker on platforms where we don't have a native filepicker implementation. Also, don't build the XUL filepicker on platforms where we _do_ use a native filepicker implementation. r=cls. git-svn-id: svn://10.0.0.236/trunk@106643 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/xpwidgets/Makefile.in | 4 ++++ mozilla/xpfe/components/filepicker/Makefile.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mozilla/widget/src/xpwidgets/Makefile.in b/mozilla/widget/src/xpwidgets/Makefile.in index 344c1db8ce1..31547827039 100644 --- a/mozilla/widget/src/xpwidgets/Makefile.in +++ b/mozilla/widget/src/xpwidgets/Makefile.in @@ -63,6 +63,10 @@ ifeq ($(MOZ_WIDGET_TOOLKIT),mac) CPPSRCS += nsWidgetAtoms.cpp endif +ifneq (,$(filter beos os2 mac,$(MOZ_WIDGET_TOOLKIT))) +CPPSRCS += nsBaseFilePicker.cpp +endif + LOCAL_INCLUDES = \ -I$(srcdir)/../$(MOZ_WIDGET_TOOLKIT) \ -I$(srcdir) \ diff --git a/mozilla/xpfe/components/filepicker/Makefile.in b/mozilla/xpfe/components/filepicker/Makefile.in index f86c869bfbd..f2b0524939f 100644 --- a/mozilla/xpfe/components/filepicker/Makefile.in +++ b/mozilla/xpfe/components/filepicker/Makefile.in @@ -28,7 +28,7 @@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk -ifneq ($(OS_ARCH),OS2) +ifeq (,$(filter beos os2 mac,$(MOZ_WIDGET_TOOLKIT))) DIRS = src endif