3 top_builddir = $(TOP) ;
7 # unset some stuff defined in Jambase
10 JAMCONFIG ?= $(top_builddir)/Jamconfig ;
11 include $(JAMCONFIG) ;
12 if ! $(JAMCONFIG_READ)
14 EXIT "Couldn't find config. Please run 'configure' first." ;
17 if $(USE_STLPORT_DEBUG)
19 CXXFLAGS += -I/usr/include/stlport ;
20 CXXFLAGS += -D_STLP_DEBUG=1 -D_STLP_DEBUG_UNINITIALIZED=1 ;
21 CXXFLAGS += -D_STLP_SHRED_BYTE=0xA3 ;
22 LIBS += -lstlport_gcc_debug ;
27 CFLAGS += -Wall -O3 -g ;
28 CXXFLAGS += -Wall -O3 -g ;
31 CFLAGS += -Wall -W -Werror -O0 -g3 -DDEBUG ;
32 CXXFLAGS += -Wall -W -Werror -O0 -g3 -DDEBUG ;
35 CFLAGS += -Wall -W -O3 -g3 -pg ;
36 CXXFLAGS += -Wall -W -O3 -g3 -pg ;
39 EXIT "Invalid variant $(VARIANT) selected" ;
45 include $(TOP)/mk/jam/build.jam ;
48 IncludeDir $(top_builddir) ; # for config.h
55 $(XGETTEXT) $(XGETTEXT_FLAGS) --keyword='_:1' -o $(<) $(>)
60 XGetText $(<) : $(>) ;