# platform_unixware_udk.GNU,v 1.2 2001/12/05 20:48:13 coryan Exp

# UnixWare V2.2.1.2 with g++ version 2.7.2.2

#ifndef debug
debug = 1
#endif

#ifndef exceptions
exceptions = 1
#endif

#ifndef threads
threads = 1
#endif


CC              = CC
CXX             = CC

CFLAGS         += -Kthread 

#CFLAGS          += -W -Wall -Wpointer-arith 
CCFLAGS         += $(CFLAGS) -Tno_implicit,no_auto,none -Wf,--display_error_number

#ifeq ($(exceptions),1)
#  CCFLAGS += -fexceptions
#endif

DCFLAGS         += -g
#DCFLAGS         += -g

OCCFLAGS         += -O2

DLD             = $(CXX) -g
LD              = $(CXX)
LIBS            += -lsocket -lnsl -lgen
PIC             = -KPIC
AR              = ar
ARFLAGS         = ruv
RANLIB          = /bin/true
#SOFLAGS        = -assert pure-text
SOFLAGS         = -G
# SOBUILD - compile into .so directly
SOBUILD         = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
# SOLINK        = $(SOLINK.cc) -o $@ $(LDFLAGS) $<
PRELIB          = @true
