Part I of Alexander Larsson's (alex@signum.se) patch to reduce symbol bloat.

All these changes are safely ifdefed out for the time being.
There are also a few implementation
DEFINES cleanups.


git-svn-id: svn://10.0.0.236/trunk@38100 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ramiro%netscape.com 1999-07-02 14:59:36 +00:00
parent dd8779fb6f
commit 294068fd65
32 changed files with 70 additions and 1 deletions

View File

@ -24,6 +24,11 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = expat
ifdef MOZ_STRIP_NOT_EXPORTED
DEFINES += -DXMLPARSEAPI="__attribute__ ((dllexport))"
endif
CSRCS = \
hashtable.c \
xmlparse.c \

View File

@ -24,6 +24,10 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = xmltok
ifdef MOZ_STRIP_NOT_EXPORTED
DEFINES += -DXMLTOKAPI="__attribute__ ((dllexport))"
endif
CSRCS = \
xmltok.c \
xmlrole.c \

View File

@ -30,7 +30,7 @@ MODULE=raptor
REQUIRES=util img xpcom raptor netlib ps
DEFINES += -D_IMPL_NS_GFXONXP
DEFINES += -D_IMPL_NS_GFXNONXP
CXXFLAGS += $(TK_CFLAGS)
INCLUDES += $(TK_CFLAGS) -I$(srcdir)/..

View File

@ -38,6 +38,8 @@ endif
DIRS += fdlibm xpconnect
DEFINES += -DEXPORT_JS_API
GARBAGE += $(JSMATH_PRELINK) $(OBJDIR)/jscpucfg.o $(OBJDIR)/jsautocfg.h $(OBJDIR)/jsautocfg.tmp
ifeq ($(OS_ARCH),OS2)

View File

@ -27,6 +27,8 @@ include $(topsrcdir)/config/config.mk
MODULE = xp
LIBRARY_NAME = xp
INHIBIT_STRIP_NOT_EXPORTED = 1
ifndef MODULAR_NETLIB
CSRCS = \
xp_alloc.c \

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = util
LIBRARY_NAME = $(MOZ_LIB_UTIL_PREFIX)util
INHIBIT_STRIP_NOT_EXPORTED = 1
CSRCS = obs.c
REQUIRES = util

View File

@ -27,6 +27,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = security
LIBRARY_NAME = secfree
INHIBIT_STRIP_NOT_EXPORTED = 1
EXPORTS = base64.h \
cert.h \
preenc.h \

View File

@ -25,6 +25,7 @@ include $(DEPTH)/config/autoconf.mk
TARGET = $(LIBRARY)
LIBRARY_NAME=cache
DEFINES += -D_IMPL_NS_NET
MISCDEP = \
$(NSPR_LIBS) \

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = netcnvts
LIBRARY_NAME = netcnvts
DEFINES += -D_IMPL_NS_NET
CPPSRCS = \
cvplugin.cpp \
nsNetConverterStream.cpp \

View File

@ -27,6 +27,8 @@ include $(topsrcdir)/config/config.mk
MODULE = network
LIBRARY_NAME = network
DEFINES += -D_IMPL_NS_NET
CSRCS = \
jscookie.c \
mkautocf.c \

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = mimetype
LIBRARY_NAME = mimetype
DEFINES += -D_IMPL_NS_NET
CSRCS = \
mkformat.c \
$(NULL)

View File

@ -25,6 +25,9 @@ include $(DEPTH)/config/autoconf.mk
MODULE = netlib
LIBRARY_NAME = netlib
DEFINES += -D_IMPL_NS_NET
INHIBIT_STRIP_NOT_EXPORTED = 1
CPPSRCS = \
nsNetService.cpp \
nsNetThread.cpp \

View File

@ -26,6 +26,8 @@ include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
DEFINES += -D_IMPL_NS_NET
DIRS = about \
file \
ftp \

View File

@ -24,6 +24,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = abouturl
LIBRARY_NAME = abouturl
DEFINES += -D_IMPL_NS_NET
CSRCS = mkabout.c

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = crtldurl
LIBRARY_NAME = crtldurl
DEFINES += -D_IMPL_NS_NET
CSRCS = \
mkcertld.c \
$(NULL)

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = dataurl
LIBRARY_NAME = dataurl
DEFINES += -D_IMPL_NS_NET
CSRCS = \
mkdaturl.c \
$(NULL)

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = fileurl
LIBRARY_NAME = fileurl
DEFINES += -D_IMPL_NS_NET
CSRCS = \
mkfile.c \
$(NULL)

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = ftpurl
LIBRARY_NAME = ftpurl
DEFINES += -D_IMPL_NS_NET
CSRCS = \
mkftp.c \
$(NULL)

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = gophurl
LIBRARY_NAME = gophurl
DEFINES += -D_IMPL_NS_NET
CSRCS = \
mkgopher.c \
$(NULL)

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = httpurl
LIBRARY_NAME = httpurl
DEFINES += -D_IMPL_NS_NET
CSRCS = \
mkhttp.c \
mkaccess.c \

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = imap4url
LIBRARY_NAME = imap4url
DEFINES += -D_IMPL_NS_NET
CSRCS = \
imap4url.c \
$(NULL)

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = jsurl
LIBRARY_NAME = jsurl
DEFINES += -D_IMPL_NS_NET
CSRCS = \
mkmocha.c \
$(NULL)

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = ldapurl
LIBRARY_NAME = ldapurl
DEFINES += -D_IMPL_NS_NET
CSRCS = \
mkldap.c \
$(NULL)

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = mailbxurl
LIBRARY_NAME = mailbxurl
DEFINES += -D_IMPL_NS_NET
include $(topsrcdir)/config/config.mk
CSRCS = \

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = marimurl
LIBRARY_NAME = marimurl
DEFINES += -D_IMPL_NS_NET
CPPSRCS = \
mkmarimb.cpp \
$(NULL)

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = nntpurl
LIBRARY_NAME = nntpurl
DEFINES += -D_IMPL_NS_NET
CPPSRCS = \
mknews.cpp \
mknewsgr.cpp \

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = pop3url
LIBRARY_NAME = pop3url
DEFINES += -D_IMPL_NS_NET
CSRCS = \
mkpop3.c \
$(NULL)

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = remoturl
LIBRARY_NAME = remoturl
DEFINES += -D_IMPL_NS_NET
CSRCS = \
mkremote.c \
$(NULL)

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = smtpurl
LIBRARY_NAME = smtpurl
DEFINES += -D_IMPL_NS_NET
CSRCS = \
mksmtp.c \
$(NULL)

View File

@ -25,6 +25,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = sockstuburl
LIBRARY_NAME = sockstuburl
DEFINES += -D_IMPL_NS_NET
CPPSRCS = \
sockstub.cpp \
$(NULL)

View File

@ -24,6 +24,11 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = expat
ifdef MOZ_STRIP_NOT_EXPORTED
DEFINES += -DXMLPARSEAPI="__attribute__ ((dllexport))"
endif
CSRCS = \
hashtable.c \
xmlparse.c \

View File

@ -24,6 +24,8 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME := widget$(MOZ_WIDGET_TOOLKIT)
DEFINES += -D_IMPL_NS_WIDGET
TOOLKIT_INCLUDES := -I$(srcdir)/../$(MOZ_WIDGET_TOOLKIT)
LOCAL_INCLUDES := \