1# -*- Makefile -*- Time-stamp: <03/07/09 18:08:47 ptr> 2# $Id$ 3 4SRCROOT := ../../.. 5COMPILER_NAME := gcc 6 7include Makefile.inc 8include ${SRCROOT}/Makefiles/top.mak 9 10 11INCLUDES += -I$(SRCROOT)/include -I$(STLPORT_INCLUDE_DIR) 12 13release-shared: LDSEARCH = -L${STLPORT_LIB_DIR} -L${CoMT_LIB_DIR} 14stldbg-shared: LDSEARCH = -L${STLPORT_LIB_DIR} -L${CoMT_LIB_DIR_STLDBG} 15dbg-shared: LDSEARCH = -L${STLPORT_LIB_DIR} -L${CoMT_LIB_DIR_DBG} 16 17ifeq ($(OSNAME),sunos) 18release-shared : LDLIBS = -lstlport_gcc -lrt 19stldbg-shared : LDLIBS = -lstlport_gcc_stldebug -lrt 20dbg-shared : LDLIBS = -lstlport_gcc -lrt 21else 22release-shared : LDLIBS = -lstlport_gcc -lxmt_gcc 23stldbg-shared : LDLIBS = -lstlport_gcc_stldebug -lxmt_gcc_stl-g 24dbg-shared : LDLIBS = -lstlport_gcc -lxmt_gcc-g 25endif 26 27