зеркало из https://github.com/mozilla/pjs.git
Makefile hacking to make 'gmake js' work in ns/js/src. Abstracted a
few constants, added -ldl for Linux. Tested on Irix 6.3, SunOs 5.6, Linux 2.031.
This commit is contained in:
Родитель
7b23810178
Коммит
58b80a70f0
|
@ -120,13 +120,14 @@ JSJAVA_STUBHEADERS = -I$(DEPTH)/sun-java/include/_gen \
|
|||
else
|
||||
JSJAVA_STUBHEADERS = -I$(JRI_GEN_DIR) -I$(JDK_GEN_DIR)
|
||||
endif
|
||||
LDFLAGS = $(DIST)/lib/libnspr.$(LIB_SUFFIX) -lm
|
||||
|
||||
JSJAVA_CFLAGS = -I$(DEPTH)/sun-java/md-include \
|
||||
-I$(DEPTH)/sun-java/include \
|
||||
$(JSJAVA_STUBHEADERS)
|
||||
|
||||
LDFLAGS = $(DIST)/lib/libnspr.$(LIB_SUFFIX) -lm
|
||||
# LIBNSPR includes unneeded libmsgc21.a, but abstracts nspr version,
|
||||
# etc. nicely.
|
||||
LDFLAGS = $(LIBNSPR) -lm
|
||||
|
||||
ifeq ($(OS_ARCH), OSF1)
|
||||
LDFLAGS += -lc_r
|
||||
|
@ -134,6 +135,9 @@ endif
|
|||
ifeq ($(OS_ARCH), SunOS)
|
||||
LDFLAGS += -lposix4 -ldl -lnsl -lsocket
|
||||
endif
|
||||
ifeq ($(OS_ARCH), Linux)
|
||||
LDFLAGS += -ldl
|
||||
endif
|
||||
|
||||
# this requires clobbering and recompiling with XCFLAGS=-DJSFILE
|
||||
js:
|
||||
|
|
Загрузка…
Ссылка в новой задаче