Link in secfree dynamically only where needed.

This commit is contained in:
ramiro%netscape.com 1999-08-17 15:46:57 +00:00
parent 4e0e44c35a
commit ee33c47ded
32 changed files with 12 additions and 42 deletions

View File

@ -57,6 +57,8 @@ ifndef NECKO
PUBLIC=$(DEPTH)/netwerk/dist/include
endif
EXTRA_DSO_LDOPTS = -L$(DIST)/bin
EXTRA_DSO_LDOPTS =\
-L$(DIST)/bin -lsecfree \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@ -39,7 +39,11 @@ REQUIRES=wallet
EXPORTS= $(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
EXTRA_DSO_LDOPTS = -L$(DIST)/bin -lxp
EXTRA_DSO_LDOPTS =\
-L$(DIST)/bin \
-lsecfree \
-lxp \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@ -60,7 +60,6 @@ LIBS = \
-lmozreg \
-lpref \
-lmozjs \
-lsecfree \
-limg \
$(JPEG_LIBS) \
$(PNG_LIBS) \

View File

@ -34,8 +34,6 @@ endif
ifndef NECKO
LIBS = \
-lraptorhtmlpars \
-lsecfree \
-lpref \
-lxp \
-lnetlib \

View File

@ -58,7 +58,6 @@ endif
LIBS = \
-lpref \
-lsecfree \
-lmozjs \
-limg \
-lmozutil \

View File

@ -46,7 +46,6 @@ LIBS += \
-lnetwork \
$(DIST)/bin/components/libraptorhtml.$(DLL_SUFFIX) \
-lpref \
-lsecfree \
-lraptorgfx \
-limg \
-lmozutil \
@ -57,7 +56,6 @@ LIBS += \
-lxpcom \
-lmozreg \
-lxp \
-lraptorhtmlpars \
-ljsurl \
-ljsdom \
$(ZLIB_LIBS) \

View File

@ -67,13 +67,11 @@ LIBS = \
-limg \
-lmozutil \
-lpref \
-lsecfree \
-lmozjs \
-ljsdom \
-lraptorgfx \
-lxpcom \
-lxp \
-lraptorhtmlpars \
-ljsurl \
$(TIMER_LIBS) \
$(TK_LIBS) \

View File

@ -31,7 +31,6 @@ LIBS = \
-lxpcom \
-lmozreg \
-lmozjs \
-lsecfree \
$(TIMER_LIBS) \
$(NSPR_LIBS) \
$(NULL)

View File

@ -36,7 +36,6 @@ LIBS = \
-lmozjs \
-ljsdom \
-ljsurl \
-lsecfree \
$(TIMER_LIBS) \
$(ZLIB_LIBS) \
$(NSPR_LIBS) \

View File

@ -49,7 +49,6 @@ LIBS = \
-lmozjs \
-ljsdom \
-ljsurl \
-lsecfree \
$(ZLIB_LIBS) \
$(NSPR_LIBS) \
-lraptorgfx \

View File

@ -35,12 +35,10 @@ BASE_LIBS = \
-lmozreg \
-lmozjs \
-lxpcom \
-lsecfree \
-lmozutil \
$(NULL)
GECKO_LIBS = \
-lraptorhtmlpars \
-ljsdom \
-lraptorplugin \
$(NULL)

View File

@ -49,7 +49,6 @@ LIBS = \
-lmozjs \
-ljsdom \
-ljsurl \
-lsecfree \
$(ZLIB_LIBS) \
$(NSPR_LIBS) \
-lraptorgfx \

View File

@ -49,7 +49,6 @@ LIBS = \
-lmozjs \
-ljsdom \
-ljsurl \
-lsecfree \
$(ZLIB_LIBS) \
$(NSPR_LIBS) \
-lraptorgfx \

View File

@ -32,13 +32,11 @@ LIBS = \
-lxp \
-lpref \
-lmozjs \
-lraptorhtmlpars \
-ljsdom \
-ljsurl \
-limg \
-lxp \
-lmozutil \
-lsecfree \
-lmozreg \
$(TIMER_LIBS) \
$(ZLIB_LIBS) \

View File

@ -36,7 +36,6 @@ LIBS = \
-lxp \
-lpref \
-lmozjs \
-lsecfree \
-ljsdom \
-ljsurl \
-lraptorhtmlpars \

View File

@ -51,7 +51,6 @@ LIBS = \
-lmozjs \
-lmork \
-lmsgbaseutil \
-lsecfree \
$(ZLIB_LIBS) \
$(NSPR_LIBS) \
$(TK_LIBS) \

View File

@ -45,7 +45,6 @@ LIBS = \
-lxp \
-lpref \
-lmozjs \
-lsecfree \
$(ZLIB_LIBS) \
$(NSPR_LIBS) \
$(TK_LIBS) \

View File

@ -36,7 +36,6 @@ LIBS = \
-lmozjs \
-ljsdom \
-ljsurl \
-lsecfree \
$(TIMER_LIBS) \
$(ZLIB_LIBS) \
$(NSPR_LIBS) \

View File

@ -97,7 +97,6 @@ EXTRA_DSO_LDOPTS = \
-L$(DIST)/bin \
-L$(DIST)/lib \
-lmozjs \
-lsecfree \
-lxpcom \
-lmozreg \
$(NSPR_LIBS) \

View File

@ -31,12 +31,10 @@ BASE_LIBS = \
-lmozreg \
-lmozjs \
-lxpcom \
-lsecfree \
-lmozutil \
$(NULL)
GECKO_LIBS = \
-lraptorhtmlpars \
-ljsdom \
-lraptorplugin \
$(NULL)

View File

@ -44,10 +44,8 @@ LIBS = \
-lxp \
-lpref \
-lmozjs \
-lsecfree \
-ljsdom \
-ljsurl \
-lraptorhtmlpars \
-lraptorgfx \
-limg \
-lmozutil \

View File

@ -32,8 +32,6 @@ LIBS = \
-lxp \
-lpref \
-lmozjs \
-lsecfree \
-lraptorhtmlpars \
-ljsdom \
-ljsurl \
-limg \

View File

@ -59,6 +59,10 @@ CSRCS += prefapi.c
CPPSRCS += nsPref.cpp
EXTRA_DSO_LDOPTS =\
-L$(DIST)/bin -lsecfree \
$(NULL)
include $(topsrcdir)/config/rules.mk
#INCLUDES += -I$(srcdir)/unix -Iunix

View File

@ -44,7 +44,6 @@ LIBS = \
-lmozreg \
-lmozjs \
-lxpcom \
-lsecfree \
-lmozutil \
-lxpcom \
-lneckoutil_s \

View File

@ -34,8 +34,6 @@ endif
ifndef NECKO
LIBS = \
-lraptorhtmlpars \
-lsecfree \
-lpref \
-lxp \
-lnetlib \

View File

@ -31,7 +31,6 @@ BASE_LIBS = \
-lmozreg \
-lmozjs \
-lxpcom \
-lsecfree \
-lmozutil \
$(NULL)

View File

@ -31,7 +31,6 @@ BASE_LIBS = \
-lmozreg \
-lmozjs \
-lxpcom \
-lsecfree \
-lmozutil \
$(NULL)

View File

@ -94,7 +94,6 @@ BASE_LIBS = \
-lmozreg \
-lmozjs \
-lxpcom \
-lsecfree \
-lmozutil \
$(NULL)

View File

@ -53,7 +53,6 @@ endif
LIBS = \
-lpref \
-lsecfree \
-lmozutil \
-limg \
-lxpcom \
@ -63,7 +62,6 @@ LIBS = \
-lraptorgfx \
$(MOZ_GFX_TOOLKIT_LDFLAGS) \
$(TIMER_LIBS) \
-lraptorhtmlpars \
-ljsurl \
-ljsdom \
$(NET_LIBS) \

View File

@ -53,7 +53,6 @@ endif
LIBS = \
-lpref \
-lsecfree \
-lmozutil \
-limg \
-lxpcom \
@ -63,7 +62,6 @@ LIBS = \
-lraptorgfx \
$(MOZ_GFX_TOOLKIT_LDFLAGS) \
$(TIMER_LIBS) \
-lraptorhtmlpars \
-ljsurl \
-ljsdom \
$(NET_LIBS) \

View File

@ -89,7 +89,6 @@ LIBS += \
-lmozutil \
$(NETLIB_LIBS) \
-lpref \
-lsecfree \
-lmozjs \
-lxp \
-lxpcom \

View File

@ -73,7 +73,6 @@ LIBS += \
-lmozreg \
-ljsdom \
-ljsurl \
-lsecfree \
-lmozjs \
$(OJI_LIBS) \
-lpref \