if ! $(BUILDTOP)
{
BUILDTOP = . ;
}
                                                                               
# Include config
JAMCONFIG ?= $(BUILDTOP)/Jamconfig ;
include $(JAMCONFIG) ;

#don't scan swig files
NO_SWIG_HEADER_SCANNING = yes ;

#CFLAGS
COMPILER.CFLAGS += -DPACKAGE_NAME="CEL" ;
COMPILER.CFLAGS += -Wall ;
COMPILER.CFLAGS.debug += -g3 -DCS_DEBUG ;
COMPILER.LFLAGS.debug += -g3 -DCS_DEBUG ;
COMPILER.CFLAGS.optimize += -O3 ;
COMPILER.CFLAGS.profile += -g3 -pg ;
COMPILER.LFLAGS.profile += -g3 -pg ;

# we don't link statically
#NO_STATIC_LINKING = yes ;

STATIC.PLUGINLIST =
    addon_celentity
    addon_xmlscripts
    blxml
    cpersist
    mgr_billboard
    pfbillboard
    pfdynmove
    pfengine
    pfinput
    pfinv
    pfmesh
    pfmove
    pftools
    stdphyslayer
    ;

include $(TOP)/mk/jam/build.jam ;
