include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = cc
NS_USE_NATIVE = 1
export PATH:=$(PATH):/opt/ncc/bin
RANLIB = true GCC_FLAGS_EXTRA += -pipe
DEFINES += -DSVR4 -DSYSV -DHAVE_STRERROR -DNCR
OS_CFLAGS += -Hnocopyr -DSVR4 -DSYSV -DHAVE_STRERROR -DNCR -DPRFSTREAMS_BROKEN
ifdef NS_USE_NATIVE CC = cc CCC = ncc CXX = ncc
else
endif
MKSHLIB += $(LD) $(DSO_LDOPTS)
DSO_LDOPTS += -G ifdef MAPFILE
endif
PROCESS_MAP_FILE = cp $< $@
CPU_ARCH = x86 ARCH = ncr
NOSUCHFILE = /solaris-rm-f-sucks
ifdef NS_USE_GCC # if gcc-settings are redefined already - don't touch it # ifeq (,$(findstring gcc, $(CC))) CC = gcc CCC = g++ CXX = g++ # always use -fPIC - some makefiles are still broken and don't distinguish # situation when they build shared and static libraries CFLAGS += -fPIC -Wall -Wno-switch $(GCC_FLAGS_EXTRA)
endif
endif