Make apprunner link dynamically.

Sprinkle Makefile.ins with NO_STATIC_LIB to speed the build and reduce the disk
requirements.


git-svn-id: svn://10.0.0.236/trunk@16459 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
shaver%netscape.com
1998-12-15 22:17:14 +00:00
parent c0a95f1d82
commit a0097337f4
37 changed files with 76 additions and 12 deletions

View File

@@ -49,4 +49,6 @@ include $(topsrcdir)/config/config.mk
MKSHLIB :=
NO_SHARED_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -47,6 +47,7 @@ GFX_DSO_FLAGS = $(addprefix -lgfx, $(MOZ_TOOLKIT))
BASE_DSO_FLAGS= $(addprefix -lgmbase, $(MOZ_TOOLKIT))
EXTRA_DSO_LDOPTS = \
-L$(DIST)/bin \
-L$(DIST)/lib \
-ljsdombase_s \
-ljsdomcore_s \
@@ -55,7 +56,6 @@ EXTRA_DSO_LDOPTS = \
-ljsdomcss_s \
-ljsdomcore_s \
-ljsurl \
-L$(DIST)/bin \
-lraptorbase \
-lraptorgfx \
$(GFX_DSO_FLAGS) \
@@ -66,4 +66,6 @@ EXTRA_DSO_LDOPTS = \
$(NSPR_LIBS) \
$(NULL)
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -55,4 +55,6 @@ include $(topsrcdir)/config/config.mk
MKSHLIB :=
NO_SHARED_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -49,4 +49,6 @@ include $(topsrcdir)/config/config.mk
MKSHLIB :=
NO_SHARED_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -39,4 +39,6 @@ include $(topsrcdir)/config/config.mk
TARGETS = $(LIBRARY)
NO_SHARED_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -93,4 +93,6 @@ include $(topsrcdir)/config/config.mk
MKSHLIB :=
NO_SHARED_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -29,4 +29,6 @@ CSRCS = pwcacapi.c
REQUIRES = js dbm img layer util pref security
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -73,6 +73,8 @@ ifeq ($(MOZ_MAIL_NEWS),1)
CSRCS += xp_md5.c
endif
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk
#EMACS = lemacs

View File

@@ -54,4 +54,6 @@ endif
LOCAL_INCLUDES = -I$(srcdir)
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -84,6 +84,8 @@ symbols::
@echo "LIBRARY is $(LIBRARY)"
@echo "DIST is $(DIST)"
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk
#

View File

@@ -24,4 +24,6 @@ include $(DEPTH)/config/autoconf.mk
DIRS = public src
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -44,5 +44,7 @@ REQUIRES += \
$(NULL)
endif
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -28,4 +28,6 @@ DIRS = public src
include $(topsrcdir)/config/config.mk
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -25,6 +25,7 @@ MODULE = cnetinit
ifndef MODULAR_NETLIB
LIBRARY_NAME = cnetinit
NO_STATIC_LIB=1
CSRCS = \
cnetinit.c \

View File

@@ -74,4 +74,6 @@ ifndef MOZ_NATIVE_ZLIB
REQUIRES += zlib
endif
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -36,5 +36,7 @@ EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
REQUIRES = network dbm util pref js java fileurl security \
layer img jtools netcnvts
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -85,6 +85,8 @@ ifdef MOZ_SMOOTH_PROGRESS
REQUIRES += progress
endif
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk
TEST_LIBS = $(LIBRARY) \

View File

@@ -35,6 +35,8 @@ include $(topsrcdir)/config/config.mk
REQUIRES = network img layer util
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk
#

View File

@@ -60,6 +60,8 @@ EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/config.mk
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk
$(LIBRARY): \

View File

@@ -34,5 +34,7 @@ EXPORTS= $(srcdir)/abouturl.h
REQUIRES = netcache network dbm util pref js java fileurl \
security layer img httpurl jtools
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -34,5 +34,7 @@ EXPORTS= $(srcdir)/mkcertld.h
REQUIRES = ldap network dbm util pref js java fileurl \
security layer img httpurl
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -34,5 +34,7 @@ EXPORTS= $(srcdir)/dataurl.h
REQUIRES = network dbm util pref js java fileurl \
security layer img httpurl netcnvts
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -38,5 +38,7 @@ ifdef MOZ_SMOOTH_PROGRESS
REQUIRES += progress
endif
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -38,5 +38,7 @@ ifdef MOZ_SMOOTH_PROGRESS
REQUIRES += progress
endif
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -34,5 +34,7 @@ EXPORTS= $(srcdir)/gophurl.h
REQUIRES = network dbm util pref js java fileurl \
security layer img httpurl remoturl mimetype
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -41,5 +41,7 @@ ifdef MOZ_SMOOTH_PROGRESS
REQUIRES += progress
endif
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -45,6 +45,8 @@ REQUIRES = util network security \
netcache network nspr2 dbm util pref js java fileurl \
security layer img httpurl mimetype htmldlgs
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk
INCLUDES += -I$(topsrcdir)/lib/libmsg

View File

@@ -34,5 +34,7 @@ EXPORTS= $(srcdir)/jsurl.h
REQUIRES = network dbm util pref js java fileurl \
security layer img httpurl lay parse style
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -35,6 +35,8 @@ REQUIRES = ldap progress netcache network dbm util pref js java fileurl \
security layer img httpurl mimetype htmldlgs
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk
INCLUDES += -I$(topsrcdir)/lib/libmsg

View File

@@ -34,5 +34,7 @@ EXPORTS= $(srcdir)/mkmailbx.h
REQUIRES = imap4url netcache network dbm util pref js java fileurl \
security layer img httpurl mimetype htmldlgs
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -34,5 +34,7 @@ EXPORTS= $(srcdir)/marimurl.h
REQUIRES = network dbm util pref js java fileurl \
security layer img httpurl
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -37,5 +37,7 @@ EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
REQUIRES = netcache network dbm util pref js java fileurl \
security layer img httpurl mimetype htmldlgs
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -34,5 +34,7 @@ EXPORTS= $(srcdir)/mkpop3.h
REQUIRES = netcache network dbm util pref js java fileurl \
security layer img httpurl mimetype htmldlgs
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -34,5 +34,7 @@ EXPORTS= $(srcdir)/remoturl.h
REQUIRES = network dbm util pref js java fileurl \
security layer img httpurl
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -34,5 +34,7 @@ EXPORTS= $(srcdir)/mksmtp.h
REQUIRES = netcache network dbm util pref js java fileurl \
security layer img httpurl mimetype htmldlgs
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -77,4 +77,6 @@ EXTRA_DSO_LDOPTS+=\
EXTRA_DSO_LDOPTS += $(TOOLKIT_LIBS) $(XLDFLAGS) $(XLIBS)
NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk

View File

@@ -27,7 +27,7 @@ include $(topsrcdir)/config/config.mk
PROGS= $(OBJDIR)/apprunner
MODULE=raptor
MODULE=apprunner
REQUIRES=raptor xpcom base netlib pref js dom
@@ -41,7 +41,7 @@ INCLUDES+= -I../public -I$(PUBLIC)/raptor \
EX_LIBS=\
-L$(DIST)/bin \
$(DIST)/lib/libnsappshell.a \
-lnsappshell \
-lxpcom \
-lraptorbase \
-lwidgetgtk \
@@ -63,15 +63,8 @@ EX_LIBS=\
-lnetwork \
-lnetlib \
-lraptorwebwidget \
$(DIST)/lib/libraptorhtmlbase_s.a \
$(DIST)/lib/libraptorlayout_s.a \
$(DIST)/lib/libraptorevents_s.a \
$(DIST)/lib/libraptorhtmlstyle_s.a \
$(DIST)/lib/libjsdombase_s.a \
$(DIST)/lib/libjsdomhtml_s.a \
$(DIST)/lib/libjsdomcss_s.a \
$(DIST)/lib/libjsdomcore_s.a \
-ljsurl \
-lraptorhtml \
-ljsdom \
-lraptorbase \
-lsecfree \
-ljs \