From 1b4a50ead429068e0ed2cd3d44ecc7fe4f1de73e Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Sun, 25 Jun 2000 22:39:51 +0000 Subject: [PATCH] # 40177 r = cls, a = brendan OS/2 bring-up - Change so this builds on OS/2 git-svn-id: svn://10.0.0.236/trunk@73200 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/uriloader/exthandler/Makefile.in | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/mozilla/uriloader/exthandler/Makefile.in b/mozilla/uriloader/exthandler/Makefile.in index 5219eab5b50..d632bef9eef 100644 --- a/mozilla/uriloader/exthandler/Makefile.in +++ b/mozilla/uriloader/exthandler/Makefile.in @@ -22,15 +22,26 @@ DEPTH = ../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ + +include $(DEPTH)/config/autoconf.mk + +ifeq ($(MOZ_WIDGET_TOOLKIT),os2) +VPATH = @srcdir@;@srcdir@/os2 +else VPATH = @srcdir@:@srcdir@/unix +endif MODULE = exthandler LIBRARY_NAME = exthandler_s -include $(DEPTH)/config/autoconf.mk +ifeq ($(MOZ_WIDGET_TOOLKIT),os2) +OSDIR = os2 +else +OSDIR = unix +endif EXPORTS = nsExternalHelperAppService.h \ - unix/nsOSHelperAppService.h \ + $(OSDIR)/nsOSHelperAppService.h \ nsHelperAppRDF.h \ $(NULL) @@ -44,8 +55,8 @@ CPPSRCS = \ nsExternalHelperAppService.cpp \ nsOSHelperAppService.cpp \ $(NULL) - - + + # we don't want the shared lib, but we want to force the creation of a static lib. override NO_SHARED_LIB=1 override NO_STATIC_LIB= @@ -54,5 +65,5 @@ include $(topsrcdir)/config/rules.mk # tmp fix for vpath changes export:: - $(RM) -f unix/*.o + $(RM) -f $(OSDIR)/*.o