# # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/.
ifneq ($(OS_ARCH), WINNT) # Use an absolute pathname as the runtime library path (for the -R # or -rpath linker option or the LD_RUN_PATH environment variable).
ifeq (,$(patsubst /%,,$(DIST))) # $(DIST) is already an absolute pathname.
ABSOLUTE_LIB_DIR = $(dist_libdir) else # $(DIST) is a relative pathname: prepend the current directory.
PWD = $(shell pwd)
ABSOLUTE_LIB_DIR = $(PWD)/$(dist_libdir)
endif
endif
ifeq (,$(filter-out Linux GNU GNU_%,$(OS_ARCH)))
LDOPTS += -Xlinker -rpath $(ABSOLUTE_LIB_DIR)
ifeq ($(USE_PTHREADS),1)
EXTRA_LIBS = -lpthread
endif
endif
ifeq ($(OS_ARCH), SCOOS) # SCO Unix needs to link against -lsocket again even though we # already linked with these system libraries when we built libnspr.so.
EXTRA_LIBS = -lsocket # This hardcodes in the executable programs the directory to find # libnspr.so etc. at program startup. Equivalent to the -R or -rpath # option for ld on other platforms.
export LD_RUN_PATH = $(ABSOLUTE_LIB_DIR)
endif
# AIX releases prior to 4.2 need a special two-step linking hack # in order to both override the system select() and be able to # get at the original system select().
java.lang.NullPointerException # We use a pattern rule in ns/nspr20/config/rules.mk to generate # the .$(OBJ_SUFFIX) file from the .c source file, then do the # two-step linking hack below.
java.lang.NullPointerException # Run the test programs with no arguments
java.lang.NullPointerException # Test output goes to the file pointed to by the environment variable # NSPR_TEST_LOGFILE, if set, else to /dev/null
java.lang.NullPointerException
ECHO = echo
PROGRAMS = $(notdir $(PROGS))
ifdef NSPR_TEST_LOGFILE
LOGFILE = $(NSPR_TEST_LOGFILE) else
ifeq (,$(filter-out WINNT,$(OS_ARCH)))
LOGFILE = nul else
LOGFILE = /dev/null
endif
endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.