gecko-dev/js2/common.mk

18 lines
465 B
Makefile
Raw Normal View History

JS2_DIR = $(top_srcdir)/src/
LIBJS2 = $(JS2_DIR)/libjs2.a
WFLAGS = -Wmissing-prototypes -Wstrict-prototypes -Wunused \
2001-08-07 01:21:11 +00:00
-Wswitch -Wall -Wconversion
if DEBUG
CXXFLAGS = -DXP_UNIX -g -DDEBUG -DTRACE_DEBUG $(WFLAGS) -Iregexp/
2001-08-07 01:21:11 +00:00
JS1x_BINDIR = Linux_All_DBG.OBJ
else
CXXFLAGS = -DXP_UNIX -O2 -Wuninitialized $(WFLAGS) -Iregexp/
2001-08-07 01:21:11 +00:00
JS1x_BINDIR = Linux_All_OPT.OBJ
endif
2001-08-07 01:21:11 +00:00
FDLIBM_DIR = $(top_srcdir)/../js/src/fdlibm/$(JS1x_BINDIR)
LIBFDLIBM = $(FDLIBM_DIR)/libfdm.a