2001-02-08 06:08:42 +00:00
|
|
|
|
|
|
|
BOEHM_DIR = $(top_srcdir)/../gc/boehm/
|
|
|
|
LIBBOEHM = $(BOEHM_DIR)/gc.a
|
|
|
|
|
|
|
|
JS2_DIR = $(top_srcdir)/src/
|
|
|
|
LIBJS2 = $(JS2_DIR)/libjs2.a
|
|
|
|
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-07 21:21:22 +00:00
|
|
|
WFLAGS = -Wmissing-prototypes -Wstrict-prototypes -Wunused \
|
2001-08-07 01:21:11 +00:00
|
|
|
-Wswitch -Wall -Wconversion
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-07 21:21:22 +00:00
|
|
|
|
|
|
|
if DEBUG
|
2002-01-17 21:12:59 +00:00
|
|
|
CXXFLAGS = -DXP_UNIX -g -DDEBUG $(WFLAGS) -Iregexp/
|
2001-08-07 01:21:11 +00:00
|
|
|
JS1x_BINDIR = Linux_All_DBG.OBJ
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-07 21:21:22 +00:00
|
|
|
else
|
2002-01-17 21:12:59 +00:00
|
|
|
CXXFLAGS = -DXP_UNIX -O2 -Wuninitialized $(WFLAGS) -Iregexp/
|
2001-08-07 01:21:11 +00:00
|
|
|
JS1x_BINDIR = Linux_All_OPT.OBJ
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-07 21:21:22 +00:00
|
|
|
endif
|
2001-08-07 01:21:11 +00:00
|
|
|
|
|
|
|
FDLIBM_DIR = $(top_srcdir)/../js/src/fdlibm/$(JS1x_BINDIR)
|
|
|
|
LIBFDLIBM = $(FDLIBM_DIR)/libfdm.a
|