General cleanup.

git-svn-id: svn://10.0.0.236/trunk@47265 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
briano%netscape.com 1999-09-14 02:51:42 +00:00
parent b242b2d838
commit 1be96e2703
30 changed files with 471 additions and 495 deletions

View File

@ -22,10 +22,11 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = $(PNGDIR) public public_com src gifcom pngcom jpgcom
ifndef MOZ_NATIVE_PNG
DIRS = png
PNGDIR = png
endif
DIRS += public public_com src gifcom pngcom jpgcom
include $(topsrcdir)/config/rules.mk

View File

@ -14,9 +14,6 @@
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
ifndef MOZ_JAVA
LOCAL_JMC_SUBDIR = .
endif
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -28,26 +25,26 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nsgif
IS_COMPONENT = 1
LOCAL_INCLUDES = -I$(srcdir)
EXTRA_LIBS =
REQUIRES = util img gif xpcom img
CPPSRCS = \
gif.cpp \
nsGIFModule.cpp \
nsGIFDecoder.cpp \
dllcompat.cpp \
$(NULL)
gif.cpp \
nsGIFModule.cpp \
nsGIFDecoder.cpp \
dllcompat.cpp \
$(NULL)
LOCAL_INCLUDES = -I$(srcdir)
REQUIRES += util img gif xpcom img
EXTRA_LIBS = $(NSPR_LIBS)
EXTRA_LIBS += $(NSPR_LIBS)
ifndef MOZ_JAVA
LOCAL_JMC_SUBDIR = .
endif
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/config/rules.mk
ifeq ($(OS_ARCH), Linux)
DEFINES += -D_BSD_SOURCE
DEFINES += -D_BSD_SOURCE
endif

View File

@ -14,9 +14,6 @@
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
ifndef MOZ_JAVA
LOCAL_JMC_SUBDIR = .
endif
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -28,28 +25,28 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nsjpg
IS_COMPONENT = 1
LOCAL_INCLUDES = -I$(srcdir)
EXTRA_LIBS =
REQUIRES += util jpeg xpcom img
CPPSRCS = \
jpeg.cpp \
nsJPGDecoder.cpp \
nsJPGCallback.cpp \
dllcompat.cpp \
$(NULL)
jpeg.cpp \
nsJPGDecoder.cpp \
nsJPGCallback.cpp \
dllcompat.cpp \
$(NULL)
LOCAL_INCLUDES = -I$(srcdir)
REQUIRES += util jpeg xpcom img
EXTRA_DSO_LDOPTS = $(JPEG_LIBS)
EXTRA_DSO_LDOPTS += $(JPEG_LIBS)
EXTRA_LIBS = $(NSPR_LIBS)
EXTRA_LIBS += $(NSPR_LIBS)
ifndef MOZ_JAVA
LOCAL_JMC_SUBDIR = .
endif
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/config/rules.mk
ifeq ($(OS_ARCH), Linux)
DEFINES += -D_BSD_SOURCE
DEFINES += -D_BSD_SOURCE
endif

View File

@ -13,49 +13,51 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = png
LIBRARY_NAME = png
CSRCS = png.c \
pngerror.c \
pngget.c \
pngmem.c \
pngpread.c \
pngread.c \
pngrio.c \
pngrutil.c \
pngset.c \
pngtrans.c \
pngwio.c \
pngwrite.c \
pngwtran.c \
pngrtran.c \
pngwutil.c \
$(NULL)
REQUIRES = util
EXPORTS = png.h pngconf.h
CSRCS = \
png.c \
pngerror.c \
pngget.c \
pngmem.c \
pngpread.c \
pngread.c \
pngrio.c \
pngrutil.c \
pngset.c \
pngtrans.c \
pngwio.c \
pngwrite.c \
pngwtran.c \
pngrtran.c \
pngwutil.c \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
EXPORTS = png.h pngconf.h
REQUIRES = util
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
LOCAL_INCLUDES = -I$(srcdir)
ifndef MOZ_NATIVE_ZLIB
REQUIRES += zlib
EXTRA_DSO_LDOPTS = -L$(DIST)/bin -lzlib
endif
LOCAL_INCLUDES = -I$(srcdir)
# need static lib for the components to link with
override NO_SHARED_LIB=1
override NO_STATIC_LIB=
include $(topsrcdir)/config/rules.mk

View File

@ -14,9 +14,6 @@
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
ifndef MOZ_JAVA
LOCAL_JMC_SUBDIR = .
endif
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -26,31 +23,30 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nspng
IS_COMPONENT = 1
IS_COMPONENT = 1
LOCAL_INCLUDES = -I$(srcdir)
EXTRA_LIBS =
REQUIRES = util png zlib xpcom img
CPPSRCS = \
ipng.cpp \
nsPNGDecoder.cpp \
nsPNGCallback.cpp \
dllcompat.cpp \
$(NULL)
ipng.cpp \
nsPNGDecoder.cpp \
nsPNGCallback.cpp \
dllcompat.cpp \
$(NULL)
LOCAL_INCLUDES = -I$(srcdir)
REQUIRES += util png zlib xpcom img
EXTRA_DSO_LDOPTS = $(PNG_LIBS) $(ZLIB_LIBS)
EXTRA_DSO_LDOPTS += $(PNG_LIBS)
EXTRA_DSO_LDOPTS += $(ZLIB_LIBS)
EXTRA_LIBS = $(NSPR_LIBS)
EXTRA_LIBS += $(NSPR_LIBS)
ifndef MOZ_JAVA
LOCAL_JMC_SUBDIR = .
endif
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/config/rules.mk
ifeq ($(OS_ARCH), Linux)
DEFINES += -D_BSD_SOURCE
DEFINES += -D_BSD_SOURCE
endif

View File

@ -15,11 +15,6 @@
# Reserved.
#
ifndef MOZ_JAVA
LOCAL_JMC_SUBDIR = .
endif
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
@ -29,12 +24,26 @@ include $(DEPTH)/config/autoconf.mk
MODULE = img
EXPORTS = \
il_types.h \
ni_pixmp.h \
libimg.h \
il_icons.h \
il_strm.h \
il_util.h \
ilINetContext.h \
ilIURL.h \
ilINetReader.h \
ilIImageRenderer.h \
ilISystemServices.h \
dummy_nc.h \
$(NULL)
EXPORTS = il_types.h ni_pixmp.h libimg.h il_icons.h il_strm.h il_util.h \
ilINetContext.h ilIURL.h ilINetReader.h ilIImageRenderer.h \
ilISystemServices.h dummy_nc.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
ifndef MOZ_JAVA
LOCAL_JMC_SUBDIR = .
endif
include $(topsrcdir)/config/rules.mk

View File

@ -15,11 +15,6 @@
# Reserved.
#
ifndef MOZ_JAVA
LOCAL_JMC_SUBDIR = .
endif
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
@ -29,13 +24,22 @@ include $(DEPTH)/config/autoconf.mk
MODULE = img
# XXX nsImgDCallbk.h should go into libimg/src instead of being here
EXPORTS = il.h dllcompat.h if_struct.h il_utilp.h \
nsIImgDecoder.h nsIImgDCallbk.h \
nsImgDCallbk.h \
$(NULL)
EXPORTS = \
il.h \
dllcompat.h \
if_struct.h \
il_utilp.h \
nsIImgDecoder.h \
nsIImgDCallbk.h \
nsImgDCallbk.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
ifndef MOZ_JAVA
LOCAL_JMC_SUBDIR = .
endif
include $(topsrcdir)/config/rules.mk

View File

@ -14,9 +14,6 @@
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
ifndef MOZ_JAVA
LOCAL_JMC_SUBDIR = .
endif
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -28,32 +25,32 @@ include $(DEPTH)/config/autoconf.mk
MODULE = img
LIBRARY_NAME = img_s
LOCAL_INCLUDES = -I$(srcdir)
REQUIRES = util img xpcom
CPPSRCS = \
ilNetReader.cpp \
color.cpp \
colormap.cpp \
dither.cpp \
if.cpp \
ilclient.cpp \
il_util.cpp \
scale.cpp \
$(NULL)
ilNetReader.cpp \
color.cpp \
colormap.cpp \
dither.cpp \
if.cpp \
ilclient.cpp \
il_util.cpp \
scale.cpp \
xpcompat.cpp \
$(NULL)
LOCAL_INCLUDES = -I$(srcdir)
CPPSRCS += xpcompat.cpp \
$(NULL)
ifndef MOZ_JAVA
LOCAL_JMC_SUBDIR = .
endif
REQUIRES += util img xpcom
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
MKSHLIB :=
override NO_SHARED_LIB=1
override NO_STATIC_LIB=
include $(topsrcdir)/config/rules.mk
ifeq ($(OS_ARCH), Linux)
DEFINES += -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
DEFINES += -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
endif

View File

@ -17,36 +17,37 @@
DEPTH = ../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = jar
LIBRARY_NAME = jar$(VERSION_NUMBER)
IS_COMPONENT = 1
MODULE = jar
LIBRARY_NAME = jar$(VERSION_NUMBER)
IS_COMPONENT = 1
XPIDLSRCS=nsIZip.idl \
nsIJAR.idl \
$(NULL)
CPPSRCS = \
nsZipArchive.cpp \
nsJAR.cpp \
nsJARFactory.cpp \
nsWildCard.cpp \
$(NULL)
CPPSRCS = \
nsZipArchive.cpp \
nsJAR.cpp \
nsJARFactory.cpp \
nsWildCard.cpp \
$(NULL)
EXPORTS = zipfile.h
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
XPIDLSRCS = \
nsIZip.idl \
nsIJAR.idl \
$(NULL)
EXPORTS = zipfile.h
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
EXTRA_DSO_LDOPTS =\
EXTRA_DSO_LDOPTS = \
-L$(DIST)/bin \
$(ZLIB_LIBS) \
-lxpcom \
$(NSPR_LIBS) \
-lxpcom \
$(NSPR_LIBS) \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@ -13,15 +13,16 @@
# 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@
include $(DEPTH)/config/autoconf.mk
DIRS = public admin src
DIRS = public admin src
include $(topsrcdir)/config/rules.mk

View File

@ -13,7 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -23,33 +23,27 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
ifdef POLARIS
SHARED_LIBRARY = libAutoAdmin.so
endif
XFEDIR = $(DEPTH)/cmd/xfe
LIBRARY_NAME = AutoAdmin
CSRCS = prefldap.c icondata.c
endif
REQUIRES = ldap js pref
XFEDIR = $(DEPTH)/cmd/xfe/icons
override NO_SHARED_LIB=
override NO_STATIC_LIB=1
include $(topsrcdir)/config/rules.mk
INCLUDES += -I$(topsrcdir)/cmd/xfe/icons -I$(DEPTH)/cmd/xfe/icons
INCLUDES += -I$(topsrcdir)/cmd/xfe/icons -I$(XFEDIR)
DEFINES += -DPOLARIS
GARBAGE += icondata.c
ifeq ($(OS_ARCH),AIX)
MKSHLIB = svld -berok $(DSO_LDOPTS)
endif
ifeq ($(OS_ARCH),OSF1)
MKSHLIB = $(LD) $(DSO_LDOPTS)
endif
polaris: $(SHARED_LIBRARY)
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin
polaris: libs install
icondata.c:
@rm -f icondata.c $(NOSUCHFILE)
@cd $(XFEDIR)/icons; $(MAKE)
@ln -s $(XFEDIR)/icons/icondata.c $@
@rm -f $@
@cd $(XFEDIR); $(MAKE)
@ln -s $(XFEDIR)/icondata.c $@

View File

@ -13,7 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -24,10 +24,10 @@ include $(DEPTH)/config/autoconf.mk
REQUIRES = security
include $(topsrcdir)/config/rules.mk
LIBS = -L$(DIST)/lib -lhash
include $(topsrcdir)/config/rules.mk
all:: other-stuff resources un-obscure
other-stuff:
@ -37,3 +37,4 @@ other-stuff:
resources: resources.o
$(CC) -o $@ $< $(LIBS)

View File

@ -13,20 +13,21 @@
# 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@
include $(DEPTH)/config/autoconf.mk
XPIDLSRCS = nsIPref.idl
MODULE = pref
MODULE = pref
XPIDLSRCS = nsIPref.idl
EXPORTS = prefapi.h prefldap.h
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
EXPORTS = prefapi.h prefldap.h
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk

View File

@ -13,7 +13,7 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
@ -21,77 +21,63 @@ srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
IS_COMPONENT=1
MODULE = pref
LIBRARY_NAME = pref
IS_COMPONENT = 1
REQUIRES = js pref security ldap img layer xpcom util
CSRCS = $(OS2CSRCS) prefapi.c
PREF_JS_EXPORTS = $(srcdir)/initpref.js \
$(srcdir)/init/all.js \
$(srcdir)/init/mailnews.js \
$(srcdir)/init/editor.js \
$(srcdir)/init/config.js \
$(NULL)
CPPSRCS = nsPref.cpp
PREF_JS_EXPORTS = \
$(srcdir)/initpref.js \
$(srcdir)/init/all.js \
$(srcdir)/init/mailnews.js \
$(srcdir)/init/editor.js \
$(srcdir)/init/config.js \
$(NULL)
ifneq ($(subst /,_,$(shell uname -s)),OS2)
ifeq ($(MOZ_WIDGET_TOOLKIT),beos)
PREF_JS_EXPORTS += $(srcdir)/beos/beos.js
PREF_JS_EXPORTS += $(srcdir)/beos/beos.js
else
PREF_JS_EXPORTS += $(srcdir)/unix/unix.js
PREF_JS_EXPORTS += $(srcdir)/unix/unix.js
endif
else
PREF_JS_EXPORTS += $(srcdir)/win/winpref.js $(srcdir)/os2/os2pref.js
CSRCS = prefldap.c
PREF_JS_EXPORTS += $(srcdir)/win/winpref.js $(srcdir)/os2/os2pref.js
OS2CSRCS = prefldap.c
LIBRARY = xppref32.$(LIB_SUFFIX)
OS2_IMPLIB = 1
DEF_FILE = xpOS2.def
EXTRA_LIBS = $(DIST)/lib/js$(MOZ_BITS)$(VERSION_NUMBER).lib \
$(LIBNSPR) \
$(DIST)/lib/libldap.lib $(DIST)/lib/liblber.lib \
$(DIST)/lib/libldap.lib $(DIST)/lib/libhash.lib \
$(NULL)
OS2_IMPLIB = 1
DEF_FILE = xpOS2.def
EXTRA_LIBS = \
$(DIST)/lib/js$(MOZ_BITS)$(VERSION_NUMBER).lib \
$(LIBNSPR) \
$(DIST)/lib/libldap.lib \
$(DIST)/lib/liblber.lib \
$(DIST)/lib/libldap.lib \
$(DIST)/lib/libhash.lib \
$(NULL)
endif
CSRCS += prefapi.c
CPPSRCS += nsPref.cpp
EXTRA_DSO_LDOPTS =\
-L$(DIST)/bin \
$(NSPR_LIBS) \
-lxpcom \
-lmozjs \
-lsecfree \
$(NULL)
EXTRA_DSO_LDOPTS = \
-L$(DIST)/bin \
$(NSPR_LIBS) \
-lxpcom \
-lmozjs \
-lsecfree \
$(NULL)
include $(topsrcdir)/config/rules.mk
#INCLUDES += -I$(srcdir)/unix -Iunix
DEFINES += -DB1M
GARBAGE += $(DIST)/bin/components/initpref.js \
$(DIST)/bin/components/all.js \
$(DIST)/bin/components/mailnews.js \
$(DIST)/bin/components/editor.js \
$(DIST)/bin/components/config.js \
$(DIST)/bin/netscape.cfg \
$(NULL)
ifneq ($(subst /,_,$(shell uname -s)),OS2)
ifeq ($(MOZ_WIDGET_TOOLKIT),beos)
GARBAGE += $(DIST)/bin/components/beos.js
else
GARBAGE += $(DIST)/bin/components/unix.js
endif
else
GARBAGE += $(DIST)/bin/components/winpref.js $(DIST)/bin/components/os2prefs.js
endif
$(LIBRARY): $(OBJS)
GARBAGE += $(addprefix $(DIST)/bin/components/, \
initpref.js all.js mailnews.js editor.js config.js beos.js unix.js winpref.js os2prefs.js) \
$(DIST)/bin/netscape.cfg
install::
$(INSTALL) -m 444 $(srcdir)/init/netscape.cfg $(DIST)/bin

View File

@ -17,8 +17,8 @@
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk

View File

@ -17,8 +17,8 @@
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
@ -27,39 +27,30 @@ LIBRARY_NAME = mozreg_s
REQUIRES = libreg pref js
CSRCS = reg.c VerReg.c vr_stubs.c
PROGRAM = vreg
CSRCS = reg.c VerReg.c vr_stubs.c
BIN_SRCS = VerReg.c reg.c vr_stubs.c
BIN_OBJS = $(addprefix R_,$(BIN_SRCS:.c=.o))
MKSHLIB :=
include $(topsrcdir)/config/config.mk
# Memory mapped files are not supported under QNX, Neutrino, HP-UX and BeOS
ifeq (,$(filter BeOS HP-UX QNX,$(OS_ARCH)))
DEFINES += -DUSE_MMAP_REGISTRY_IO
CSRCS += mmapio.c
endif
# We don't want a shared lib. Static lib only.
override NO_SHARED_LIB=1
override NO_STATIC_LIB=
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/config/config.mk
# Override gtscc when building vreg on IRIX 5.3.
ifeq ($(OS_ARCH)$(OS_RELEASE),IRIX5)
ifneq ($(CC),gcc)
CC = cc
endif
# Memory mapped files are not supported under QNX, Neutrino, HP-UX and BeOS
ifeq (,$(filter BeOS HP-UX QNX,$(OS_ARCH)))
CSRCS += mmapio.c
DEFINES += -DUSE_MMAP_REGISTRY_IO
endif
include $(topsrcdir)/config/rules.mk
INCLUDES += -I$(topsrcdir)/include
GARBAGE += $(PROGRAM) $(BIN_OBJS)
PROGRAM = vreg$(BIN_SUFFIX)
$(PROGRAM): $(BIN_OBJS)
ifeq ($(OS_ARCH), OS2)
$(LINK_EXE) -OUT:$@ $(BIN_OBJS) $(LDFLAGS) $(OS_LIBS)
@ -99,5 +90,5 @@ endif
$(BIN_OBJS): $(BIN_SRCS)
install:: $(PROGRAM)
$(INSTALL) -m 444 $(PROGRAM) $(DIST)/bin
$(INSTALL) -m 444 $< $(DIST)/bin

View File

@ -13,15 +13,16 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
DEPTH = ../..
DEPTH = ../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = public src
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -13,17 +13,18 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
DEPTH = ../../..
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = util
MODULE = util
EXPORTS = $(srcdir)/xp_obs.h
EXPORTS = $(srcdir)/xp_obs.h
include $(topsrcdir)/config/rules.mk

View File

@ -13,28 +13,28 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = util
LIBRARY_NAME = mozutil_s
INHIBIT_STRIP_NOT_EXPORTED = 1
REQUIRES = util
CSRCS = obs.c
REQUIRES = util
INHIBIT_STRIP_NOT_EXPORTED = 1
MKSHLIB :=
override NO_SHARED_LIB=1
override NO_STATIC_LIB=
include $(topsrcdir)/config/rules.mk
INCLUDES += -I$(DIST)/include/libutil

View File

@ -1,36 +1,28 @@
#//------------------------------------------------------------------------
#//
#// Makefile to build the MODULES/OJI tree
#//
#//------------------------------------------------------------------------
#
# 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
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH=../..
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
#//------------------------------------------------------------------------
#//
#// Specify any "command" targets. (ie. DIRS, INSTALL_FILES, ...)
#// (these must come before the common makefiles are included)
#//
#// DIRS - There are subdirectories to process
#//
#//------------------------------------------------------------------------
DIRS= public src
DIRS = public src
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include $(topsrcdir)/config/rules.mk

View File

@ -13,35 +13,37 @@
# 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@
include $(DEPTH)/config/autoconf.mk
XPIDLSRCS = nsIJVMManager.idl
MODULE = oji
MODULE = oji
XPIDLSRCS = nsIJVMManager.idl
EXPORTS = \
nsjvm.h \
nsIJRIPlugin.h \
nsIJVMConsole.h \
nsIJVMPlugin.h \
nsIJVMPluginInstance.h \
nsIJVMPluginTagInfo.h \
nsIJVMPrefsWindow.h \
nsIJVMWindow.h \
nsISymantecDebugManager.h \
nsISymantecDebugger.h \
nsISecureEnv.h \
ProxyJNI.h \
nsIThreadManager.h \
nsILiveConnectManager.h
EXPORTS = \
nsjvm.h \
nsIJRIPlugin.h \
nsIJVMConsole.h \
nsIJVMPlugin.h \
nsIJVMPluginInstance.h \
nsIJVMPluginTagInfo.h \
nsIJVMPrefsWindow.h \
nsIJVMWindow.h \
nsISymantecDebugManager.h \
nsISymantecDebugger.h \
nsISecureEnv.h \
ProxyJNI.h \
nsIThreadManager.h \
nsILiveConnectManager.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk

View File

@ -1,51 +1,62 @@
#//------------------------------------------------------------------------
#//
#// Makefile to build OJI
#//
#//------------------------------------------------------------------------
#
# 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
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# 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@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
MODULE = ojiimpl
IS_COMPONENT = 1
IS_COMPONENT = 1
REQUIRES = img java js lay layer plugin plugimpl pref style util xpcom raptor oji caps
ifdef MOZ_OJI
LIBRARY_NAME = oji
CPPSRCS = jvmmgr.cpp \
scd.cpp \
nsJVMManager.cpp \
nsJVMPluginTagInfo.cpp \
ProxyJNI.cpp \
nsCSecurityContext.cpp \
nsCJVMManagerFactory.cpp \
lcglue.cpp
CPPSRCS = \
jvmmgr.cpp \
scd.cpp \
nsJVMManager.cpp \
nsJVMPluginTagInfo.cpp \
ProxyJNI.cpp \
nsCSecurityContext.cpp \
nsCJVMManagerFactory.cpp \
lcglue.cpp \
$(NULL)
REQUIRES = img java js lay layer plugin plugimpl pref style util xpcom raptor oji caps
EXPORTS = \
jvmmgr.h \
nsJVMManager.h \
nsJVMPluginTagInfo.h \
$(NULL)
ifeq ($(NSPR_INCLUDE_DIR),)
INCLUDES += -I$(DIST)/include/private
else
INCLUDES += -I$(NSPR_INCLUDE_DIR)/private
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
endif
CFLAGS += -DJSJDLL=\"$(JSJDLL)\"
endif # MOZ_OJI
EXPORTS = jvmmgr.h \
nsJVMManager.h \
nsJVMPluginTagInfo.h
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk
ifeq ($(NSPR_INCLUDE_DIR),)
INCLUDES += -I$(DIST)/include/private
else
INCLUDES += -I$(NSPR_INCLUDE_DIR)/private
endif
CFLAGS += -DJSJDLL=\"$(JSJDLL)\"

View File

@ -1,41 +1,33 @@
#//------------------------------------------------------------------------
#//
#// Makefile to build the MODULES/OJI tree
#//
#//------------------------------------------------------------------------
#
# 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
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH=../..
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
#//------------------------------------------------------------------------
#//
#// Specify any "command" targets. (ie. DIRS, INSTALL_FILES, ...)
#// (these must come before the common makefiles are included)
#//
#// DIRS - There are subdirectories to process
#//
#//------------------------------------------------------------------------
DIRS = public nglsrc
DIRS= public nglsrc
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include $(topsrcdir)/config/rules.mk
$(DIST)/bin/plugins:
mkdir $(DIST)/bin/plugins
mkdir $@
export:: $(DIST)/bin/plugins

View File

@ -15,48 +15,51 @@
# Reserved.
#
DEPTH = ../../..
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = plugin
MODULE = plugin
EXPORTS = \
nsIEventHandler.h \
nsIFileUtilities.h \
nsIJRILiveConnectPlugin.h \
nsIJRILiveConnectPlugInstPeer.h \
nsILiveConnectPlugin.h \
nsILiveConnectPlugInstPeer.h \
nsIMalloc.h \
nsIPlugin.h \
nsIPluginInstance.h \
nsIPluginInstancePeer.h \
nsIPluginInstancePeer2.h \
nsIPluginManager.h \
nsIPluginManager2.h \
nsIPluginStream.h \
nsIPluginTagInfo.h \
nsIPluginTagInfo2.h \
nsIWindowlessPlugInstPeer.h \
nsIPluginInputStream.h \
nsIPluginInputStream2.h \
nsIPluginStreamListener.h \
nsIPluginStreamInfo.h \
nsplugin.h \
nsplugindefs.h \
nsICookieStorage.h
EXPORTS = \
nsIEventHandler.h \
nsIFileUtilities.h \
nsIJRILiveConnectPlugin.h \
nsIJRILiveConnectPlugInstPeer.h \
nsILiveConnectPlugin.h \
nsILiveConnectPlugInstPeer.h \
nsIMalloc.h \
nsIPlugin.h \
nsIPluginInstance.h \
nsIPluginInstancePeer.h \
nsIPluginInstancePeer2.h \
nsIPluginManager.h \
nsIPluginManager2.h \
nsIPluginStream.h \
nsIPluginTagInfo.h \
nsIPluginTagInfo2.h \
nsIWindowlessPlugInstPeer.h \
nsIPluginInputStream.h \
nsIPluginInputStream2.h \
nsIPluginStreamListener.h \
nsIPluginStreamInfo.h \
nsplugin.h \
nsplugindefs.h \
nsICookieStorage.h \
$(NULL)
# DEPRECATED -- remove before we ship 5.0
EXPORTS += \
nsIPluginStream.h \
nsIPluginStreamPeer.h \
nsIPluginStreamPeer2.h \
nsISeekablePluginStreamPeer.h \
EXPORTS += \
nsIPluginStream.h \
nsIPluginStreamPeer.h \
nsIPluginStreamPeer2.h \
nsISeekablePluginStreamPeer.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk

View File

@ -44,9 +44,7 @@ EXPORTS = \
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
EXTRA_DSO_LDOPTS = \
-L$(DIST)/lib \
-lneckoutil_s
EXTRA_DSO_LDOPTS = -L$(DIST)/lib -lneckoutil_s
include $(topsrcdir)/config/rules.mk

View File

@ -44,9 +44,7 @@ EXPORTS = \
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
EXTRA_DSO_LDOPTS = \
-L$(DIST)/lib \
-lneckoutil_s
EXTRA_DSO_LDOPTS = -L$(DIST)/lib -lneckoutil_s
include $(topsrcdir)/config/rules.mk

View File

@ -15,48 +15,51 @@
# Reserved.
#
DEPTH = ../../..
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = plugin
MODULE = plugin
EXPORTS = \
nsIEventHandler.h \
nsIFileUtilities.h \
nsIJRILiveConnectPlugin.h \
nsIJRILiveConnectPlugInstPeer.h \
nsILiveConnectPlugin.h \
nsILiveConnectPlugInstPeer.h \
nsIMalloc.h \
nsIPlugin.h \
nsIPluginInstance.h \
nsIPluginInstancePeer.h \
nsIPluginInstancePeer2.h \
nsIPluginManager.h \
nsIPluginManager2.h \
nsIPluginStream.h \
nsIPluginTagInfo.h \
nsIPluginTagInfo2.h \
nsIWindowlessPlugInstPeer.h \
nsIPluginInputStream.h \
nsIPluginInputStream2.h \
nsIPluginStreamListener.h \
nsIPluginStreamInfo.h \
nsplugin.h \
nsplugindefs.h \
nsICookieStorage.h
EXPORTS = \
nsIEventHandler.h \
nsIFileUtilities.h \
nsIJRILiveConnectPlugin.h \
nsIJRILiveConnectPlugInstPeer.h \
nsILiveConnectPlugin.h \
nsILiveConnectPlugInstPeer.h \
nsIMalloc.h \
nsIPlugin.h \
nsIPluginInstance.h \
nsIPluginInstancePeer.h \
nsIPluginInstancePeer2.h \
nsIPluginManager.h \
nsIPluginManager2.h \
nsIPluginStream.h \
nsIPluginTagInfo.h \
nsIPluginTagInfo2.h \
nsIWindowlessPlugInstPeer.h \
nsIPluginInputStream.h \
nsIPluginInputStream2.h \
nsIPluginStreamListener.h \
nsIPluginStreamInfo.h \
nsplugin.h \
nsplugindefs.h \
nsICookieStorage.h \
$(NULL)
# DEPRECATED -- remove before we ship 5.0
EXPORTS += \
nsIPluginStream.h \
nsIPluginStreamPeer.h \
nsIPluginStreamPeer2.h \
nsISeekablePluginStreamPeer.h \
EXPORTS += \
nsIPluginStream.h \
nsIPluginStreamPeer.h \
nsIPluginStreamPeer2.h \
nsISeekablePluginStreamPeer.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk

View File

@ -42,5 +42,5 @@ REQUIRES += xp libfont os2font jtools
INCLUDES += -I$(DEPTH)/cmd/os2fe/nfc/include -I$(DEPTH)/cmd/os2fe -I$(DEPTH)/cmd/winfe
endif
INCLUDES += -I$(srcdir)/.
INCLUDES += -I$(srcdir)

View File

@ -1,4 +1,3 @@
# -*- Mode: Makefile -*-
#
# 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,50 +13,50 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../..
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = security
LIBRARY_NAME = secfree
MODULE = security
LIBRARY_NAME = secfree
REQUIRES = js img layer util
CSRCS = \
secport.c \
navstubs.c \
$(NULL)
EXPORTS = \
base64.h \
cert.h \
preenc.h \
seccomon.h \
secerr.h \
sechash.h \
secnav.h \
secrng.h \
secstubn.h \
secstubs.h \
secstubt.h \
ssl.h \
sslerr.h \
zig.h \
rosetta.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
INHIBIT_STRIP_NOT_EXPORTED = 1
EXPORTS = base64.h \
cert.h \
preenc.h \
seccomon.h \
secerr.h \
sechash.h \
secnav.h \
secrng.h \
secstubn.h \
secstubs.h \
secstubt.h \
ssl.h \
sslerr.h \
zig.h \
rosetta.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
CSRCS = secport.c \
navstubs.c \
$(NULL)
REQUIRES = js img layer util
include $(topsrcdir)/config/rules.mk
ifeq ($(OS_ARCH), Linux)
DEFINES += -D_BSD_SOURCE
DEFINES += -D_BSD_SOURCE
endif
$(LIBRARY): $(OBJS)

View File

@ -17,8 +17,8 @@
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
@ -27,27 +27,25 @@ LIBRARY_NAME = zlib
REQUIRES = java
LCFLAGS =
CSRCS = \
adler32.c \
crc32.c \
compress.c \
uncompr.c \
deflate.c \
trees.c \
zutil.c \
inflate.c \
infblock.c \
inftrees.c \
infcodes.c \
infutil.c \
inffast.c \
$(NULL)
CSRCS = adler32.c \
crc32.c \
compress.c \
uncompr.c \
deflate.c \
trees.c \
zutil.c \
inflate.c \
infblock.c \
inftrees.c \
infcodes.c \
infutil.c \
inffast.c \
$(NULL)
# XXX JDK_GEN should add the _gen/* exports
EXPORTS = zlib.h zconf.h
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
# need a static lib for some components (pngcom, say)
override NO_STATIC_LIB=