Merged NSPRPUB_CLIENT_BRANCH onto the trunk.

This commit is contained in:
wtc%netscape.com 2001-05-12 01:31:18 +00:00
Родитель b05169e441
Коммит 994207d8e2
2 изменённых файлов: 13 добавлений и 55 удалений

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

@ -43,16 +43,7 @@ include $(MOD_DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
ifndef USE_AUTOCONF
# Disable optimization of the nspr on SunOS4.1.3
ifeq ($(OS_ARCH),SunOS)
ifeq ($(OS_RELEASE),4.1.3_U1)
OPTIMIZER =
endif
endif
endif #!USE_AUTOCONF
INCLUDES = -I$(includedir)
INCLUDES = -I$(dist_includedir)
CSRCS =\
plvrsion.c \
@ -72,50 +63,17 @@ CSRCS =\
$(NULL)
LIBRARY_NAME = plc
LIBRARY_VERSION = $(MOD_VERSION)
LIBRARY_VERSION = $(MOD_MAJOR_VERSION)
RELEASE_LIBS = $(TARGETS)
ifeq ($(OS_ARCH),WINNT)
ifeq ($(OS_TARGET), WIN16)
EXTRA_LIBS = $(libdir)/nspr$(MOD_VERSION).lib
else
DLLBASE=/BASE:0x30000000
RES=$(OBJDIR)/plc.res
RESNAME=plc.rc
ifeq ($(OS_TARGET),WIN95)
EXTRA_LIBS = $(libdir)/nspr$(MOD_VERSION).lib
else
EXTRA_LIBS = $(libdir)/libnspr$(MOD_VERSION).lib
endif
endif # WINNT
ifdef MOZ_DEBUG
ifdef GLOWCODE
EXTRA_LIBS += $(GLOWDIR)/glowcode.lib
endif
endif
endif
ifndef USE_AUTOCONF
ifeq ($(MOZ_OS2_TOOLS),VACPP)
EXTRA_LIBS = $(libdir)/nspr$(MOD_VERSION).$(LIB_SUFFIX)
else
ifeq ($(OS_ARCH), AIX)
ifeq ($(CLASSIC_NSPR),1)
OS_LIBS += -lc
else
OS_LIBS += -lc_r
endif
endif
ifeq ($(OS_ARCH)$(OS_RELEASE), AIX4.1)
EXTRA_LIBS = -L$(libdir) -lnspr$(MOD_VERSION)_shr
else
EXTRA_LIBS = -L$(libdir) -lnspr$(MOD_VERSION)
endif
endif
endif
EXTRA_LIBS = $(LIBNSPR)
# On NCR and SCOOS, we can't link with extra libraries when
# we build a shared library. If we do so, the linker doesn't
@ -127,10 +85,9 @@ endif
ifeq ($(OS_ARCH),SCOOS)
EXTRA_LIBS =
endif
endif #!USE_AUTOCONF
ifdef RESOLVE_LINK_SYMBOLS
EXTRA_LIBS := -L$(libdir) -lnspr$(MOD_VERSION) $(OS_LIBS)
EXTRA_LIBS += $(OS_LIBS)
endif
include $(topsrcdir)/config/rules.mk
@ -179,22 +136,22 @@ endif
#
#
# The Client build wants the shared libraries in $(bindir),
# The Client build wants the shared libraries in $(dist_bindir),
# so we also install them there.
#
export:: $(TARGETS)
$(INSTALL) -m 444 $(TARGETS) $(libdir)
$(INSTALL) -m 444 $(TARGETS) $(dist_libdir)
ifdef SHARED_LIBRARY
ifeq ($(OS_ARCH),HP-UX)
$(INSTALL) -m 755 $(SHARED_LIBRARY) $(libdir)
$(INSTALL) -m 755 $(SHARED_LIBRARY) $(bindir)
$(INSTALL) -m 755 $(SHARED_LIBRARY) $(dist_libdir)
$(INSTALL) -m 755 $(SHARED_LIBRARY) $(dist_bindir)
else
$(INSTALL) -m 444 $(SHARED_LIBRARY) $(bindir)
$(INSTALL) -m 444 $(SHARED_LIBRARY) $(dist_bindir)
endif
ifeq ($(OS_ARCH), OpenVMS)
$(INSTALL) -m 444 $(SHARED_LIBRARY:.$(DLL_SUFFIX)=.vms) $(libdir)
$(INSTALL) -m 444 $(SHARED_LIBRARY:.$(DLL_SUFFIX)=.vms) $(bindir)
$(INSTALL) -m 444 $(SHARED_LIBRARY:.$(DLL_SUFFIX)=.vms) $(dist_libdir)
$(INSTALL) -m 444 $(SHARED_LIBRARY:.$(DLL_SUFFIX)=.vms) $(dist_bindir)
endif
endif
ifeq ($(MOZ_BITS),16)

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

@ -0,0 +1 @@
Makefile