3 top_builddir = $(TOP) ;
7 JAMCONFIG ?= $(top_builddir)/Jamconfig ;
11 EXIT "Couldn't find config. Please run 'configure' first." ;
14 if $(USE_STLPORT_DEBUG)
16 CPPFLAGS += -I/usr/include/stlport ;
17 CPPFLAGS += -D_STLP_DEBUG=1 -D_STLP_DEBUG_UNINITIALIZED=1 ;
18 CPPFLAGS += -D_STLP_SHRED_BYTE=0xA3 ;
19 LIBS += -lstlport_gcc_debug ;
22 COMPILER_CFLAGS += -Wall -W ;
23 COMPILER_CFLAGS_optimize += -O3 -g3 ;
24 COMPILER_C++FLAGS_optimize += -O3 -g3 ;
25 COMPILER_LFLAGS_optimize += -O3 -g3 ;
26 COMPILER_CFLAGS_debug += -DDEBUG -Werror -g3 ;
27 COMPILER_CXXFLAGS_debug += -DDEBUG -Werror -g3 ;
28 COMPILER_LFLAGS_debug += -g3 ;
29 COMPILER_CFLAGS_profile += -O2 -g3 -pg ;
30 COMPILER_CXXFLAGS_profile += -O2 -g3 -pg ;
31 COMPILER_LFLAGS_profile += -g3 -pg ;
36 include $(TOP)/mk/jam/build.jam ;
39 IncludeDir $(top_builddir) ; # for config.h