mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 20:15:58 +00:00
18 lines
465 B
Makefile
18 lines
465 B
Makefile
|
|
JS2_DIR = $(top_srcdir)/src/
|
|
LIBJS2 = $(JS2_DIR)/libjs2.a
|
|
|
|
WFLAGS = -Wmissing-prototypes -Wstrict-prototypes -Wunused \
|
|
-Wswitch -Wall -Wconversion
|
|
|
|
if DEBUG
|
|
CXXFLAGS = -DXP_UNIX -g -DDEBUG -DTRACE_DEBUG $(WFLAGS) -Iregexp/
|
|
JS1x_BINDIR = Linux_All_DBG.OBJ
|
|
else
|
|
CXXFLAGS = -DXP_UNIX -O2 -Wuninitialized $(WFLAGS) -Iregexp/
|
|
JS1x_BINDIR = Linux_All_OPT.OBJ
|
|
endif
|
|
|
|
FDLIBM_DIR = $(top_srcdir)/../js/src/fdlibm/$(JS1x_BINDIR)
|
|
LIBFDLIBM = $(FDLIBM_DIR)/libfdm.a
|