Update REQUIRES so that we do not accidentally build using the system headers of jpeg,zlib,png,mng when we are supposed to be building using the Mozilla copies of these libraries.

Bug #97386 r=mcafee a=dbaron
This commit is contained in:
cls%seawood.org 2001-08-29 03:29:44 +00:00
Родитель 62ab6b8905
Коммит 94fe7404df
10 изменённых файлов: 11 добавлений и 8 удалений

Просмотреть файл

@ -28,7 +28,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE=inspector
LIBRARY_NAME=inspector_s
REQUIRES=xpcom string dom rdf rdfutil layout widget locale gfx2 necko docshell view timer imglib2 mimetype exthandler
REQUIRES=xpcom string dom rdf rdfutil layout widget locale gfx2 necko docshell view timer imglib2 mimetype exthandler $(PNG_REQUIRES) $(ZLIB_REQUIRES)
CPPSRCS= \
inDOMDataSource.cpp \

Просмотреть файл

@ -30,7 +30,7 @@ MODULE = mng
LIBRARY_NAME = mozmng
EXPORT_LIBRARY = 1
REQUIRES =
REQUIRES = $(JPEG_REQUIRES) $(ZLIB_REQUIRES)
CSRCS = \
libmng_callback_xs.c \

Просмотреть файл

@ -30,6 +30,7 @@ MODULE = png
LIBRARY_NAME = mozpng
EXPORT_LIBRARY = 1
REQUIRES = $(ZLIB_REQUIRES)
CSRCS = \
png.c \

Просмотреть файл

@ -44,7 +44,7 @@ LIBRARY_NAME = jar$(VERSION_NUMBER)
EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsJarModule
REQUIRES = xpcom string caps
REQUIRES = xpcom string caps $(ZLIB_REQUIRES)
CPPSRCS = $(MODULES_LIBJAR_LCPPSRCS)

Просмотреть файл

@ -32,7 +32,7 @@ EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsJPEGDecoderModule
REQUIRES = xpcom string necko layout gfx2 imglib2
REQUIRES = xpcom string necko layout gfx2 imglib2 $(JPEG_REQUIRES)
CPPSRCS = nsJPEGDecoder.cpp nsJPEGFactory.cpp

Просмотреть файл

@ -29,6 +29,8 @@ LIBRARY_NAME = imgmng
IS_COMPONENT = 1
MODULE_NAME = nsMNGDecoderModule
REQUIRES = $(MNG_REQUIRES) $(JPEG_REQUIRES) $(ZLIB_REQUIRES)
CPPSRCS = nsMNGDecoder.cpp nsMNGFactory.cpp imgContainerMNG.cpp
EXTRA_DSO_LDOPTS = $(MNG_LIBS) $(JPEG_LIBS) $(ZLIB_LIBS) \

Просмотреть файл

@ -32,7 +32,7 @@ EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsPNGDecoderModule
REQUIRES = xpcom necko layout png gfx2 imglib2
REQUIRES = xpcom necko layout gfx2 imglib2 $(PNG_REQUIRES) $(ZLIB_REQUIRES)
CPPSRCS = nsPNGDecoder.cpp nsPNGFactory.cpp

Просмотреть файл

@ -31,7 +31,7 @@ LIBRARY_NAME = necko
EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = necko_core_and_primary_protocols
REQUIRES = xpcom string nkcache pref mimetype util jar locale intl
REQUIRES = xpcom string nkcache pref mimetype util jar locale intl $(ZLIB_REQUIRES)
CPPSRCS = nsNetModule.cpp
EXPORTS = nsNetCID.h

Просмотреть файл

@ -28,7 +28,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = necko
LIBRARY_NAME = nkcnvts_s
REQUIRES = xpcom string mimetype locale util pref exthandler
REQUIRES = xpcom string mimetype locale util pref exthandler $(ZLIB_REQUIRES)
EXPORTS = \
nsHTTPChunkConv.h \

Просмотреть файл

@ -35,7 +35,7 @@ EXPORT_LIBRARY = 1
SHORT_LIBNAME = xpinstal
IS_COMPONENT = 1
MODULE_NAME = nsSoftwareUpdate
REQUIRES = xpcom string jar chrome necko intl locale libreg js pref appshell widget layout uriloader xpconnect docshell dom mozcomps windowwatcher
REQUIRES = xpcom string jar chrome necko intl locale libreg js pref appshell widget layout uriloader xpconnect docshell dom mozcomps windowwatcher $(ZLIB_REQUIRES)
# XXX shouldn't need to export this
EXPORTS = nsXPITriggerInfo.h