# platform_unixware_g++.GNU,v 4.19 2000/06/06 18:04:26 oci Exp

# UnixWare V2.2.1.2 with g++ version 2.7.2.2 *not* using Orbix

#ifndef debug
debug = 0
#endif

#ifndef exceptions
exceptions = 1
#endif

#ifndef threads
threads = 1
#endif


CC              = gcc
CXX             = g++
#CFLAGS          += #-frepo -fexternal-templates
#CFLAGS          += -D__STDC__=0
#CCFLAGS         += $(CFLAGS) -fno-implicit-templates
#CCFLAGS         += $(CFLAGS) #-fexceptions #-fno-implicit-templates  or  -frepo


CFLAGS          += -W -Wall -Wpointer-arith -pipe #### -Winline
CCFLAGS         += $(CFLAGS) -fno-implicit-templates

ACE_GNUG_ON_UNIXWARE = 1

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

DCFLAGS         += -g
#DCFLAGS         += -g

OCCFLAGS         += -O2

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