
OPTFLAGS=-O

ALLFLAGS=${OPTFLAGS} -s \
    	-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
	-DENV_UNIX \
	-DNDEBUG -D_REENTRANT \
	$(LOCAL_FLAGS)

#CXX=/opt/sfw/bin/g++ $(ALLFLAGS)
#CC=/opt/sfw/bin/gcc $(ALLFLAGS)
CXX=g++ $(ALLFLAGS)
CC=gcc $(ALLFLAGS)
CC_SHARED=-fPIC
LINK_SHARED=-fPIC -shared

LOCAL_LIBS=-lpthread -lrt
LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl

OBJ_CRC32=$(OBJ_CRC32_C)

