1# -*- Makefile -*- Time-stamp: <03/10/12 20:35:49 ptr> 2 3SRCROOT := .. 4COMPILER_NAME := bcc 5 6STLPORT_INCLUDE_DIR = ../../stlport 7include Makefile.inc 8include ${SRCROOT}/Makefiles/gmake/top.mak 9 10ifneq ($(OSNAME),linux) 11OBJ_EXT := obj 12ifndef INCLUDE 13$(error Missing INCLUDE environment variable definition. Please see doc/README.borland \ 14for instructions about how to prepare Borland compiler to build STLport libraries.) 15endif 16else 17DEFS += -D_GNU_SOURCE 18GCC_VERSION := $(shell gcc -dumpversion) 19DEFS += -DGCC_VERSION=$(GCC_VERSION) 20endif 21 22INCLUDES += -I$(STLPORT_INCLUDE_DIR) 23 24# options for build with boost support 25ifdef STLP_BUILD_BOOST_PATH 26INCLUDES += -I$(STLP_BUILD_BOOST_PATH) 27endif 28 29