From d21b5469c7a3c69af5d0a2780071da10bae0dfd2 Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Sun, 18 Jul 1999 07:47:43 +0000 Subject: [PATCH] Fix sun brain damage. --- widget/tests/scribble/Makefile.in | 84 +++++++++++++++---------------- 1 file changed, 41 insertions(+), 43 deletions(-) diff --git a/widget/tests/scribble/Makefile.in b/widget/tests/scribble/Makefile.in index 8f8a27cbf673..036748bc1e32 100644 --- a/widget/tests/scribble/Makefile.in +++ b/widget/tests/scribble/Makefile.in @@ -1,4 +1,3 @@ -#!gmake # # The contents of this file are subject to the Netscape Public License # Version 1.0 (the "NPL"); you may not use this file except in @@ -14,8 +13,9 @@ # Communications Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All Rights # Reserved. +# -DEPTH=../../.. +DEPTH = ../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ @@ -23,65 +23,63 @@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk include $(topsrcdir)/config/config.mk -PROGRAM = scribble +PROGRAM = scribble -CPPSRCS := \ +CPPSRCS = \ Scribble.cpp \ main.cpp \ $(NULL) -ifdef MOZ_OJI - JSJ_LIB = -ljsj +ifndef NECKO +NET_LIBS = \ + -lnetlib \ + -lremoturl \ + -lnetcnvts \ + -lgophurl \ + -labouturl \ + -lsockstuburl \ + -lhttpurl \ + -lmimetype \ + -lfileurl \ + -lftpurl \ + -lpwcac \ + -lnetwork \ + -lnetcache \ + $(NULL) + +else +NET_LIBS = \ + -lneckoutil_s \ + $(NULL) endif -LIBS := \ +LIBS = \ -lpref \ - -lxmltok \ - -lexpat \ + -lsecfree \ + -l$(MOZ_LIB_UTIL_PREFIX)util \ + -limg \ + $(PNG_LIBS) \ + $(JPEG_LIBS) \ + -lxpcom \ + -lreg \ + -l$(MOZ_LIB_JS_PREFIX)js \ $(MOZ_WIDGET_TOOLKIT_LDFLAGS) \ -lraptorgfx \ $(MOZ_GFX_TOOLKIT_LDFLAGS) \ $(TIMER_LIBS) \ - -lraptorhtmlpars \ - -lraptorview \ - -limg \ - -l$(MOZ_LIB_JS_PREFIX)js \ - $(JSJ_LIB) \ - -lsecfree \ - -l$(MOZ_LIB_UTIL_PREFIX)util \ - -lxpcom \ -lxp \ - -lreg \ + -lraptorhtmlpars \ + -lexpat \ + -lxmltok \ + -ljsurl \ + -ljsdom \ + $(NET_LIBS) \ $(ZLIB_LIBS) \ - -l$(MOZ_LIB_DBM_PREFIX)dbm \ - $(TK_LIBS) \ $(NSPR_LIBS) \ + $(TK_LIBS) \ $(NULL) -ifndef NECKO -LIBS += \ - -lremoturl \ - -lmimetype \ - -labouturl \ - -lfileurl \ - -lftpurl \ - -lgophurl \ - -lhttpurl \ - -lnetcache \ - -lnetcnvts \ - -lnetlib \ - -lsockstuburl \ - -lnetwork \ - -lpwcac \ - $(NULL) -else -LIBS += \ - -lneckoutil_s \ - $(NULL) -endif - CXXFLAGS += $(MOZ_TOOLKIT_REGISTRY_CFLAGS) include $(topsrcdir)/config/rules.mk -