##############################################################################
#                                                                            #
# Copyright (C) 1996 ACTS-MoMuSys All Rights Reserved.                       #
#                                                                            #
# See COPYRIGHT file enclosed with this distribution.                        #
#                                                                            #
##############################################################################

##############################################################################
#                                                                            #
#  CREATED BY :  Bruno LORET -- FRANCE TELECOM / CNET --  22-Feb-96          # 
#                                                                            #
##############################################################################



##############################################################################
#                  SUN SOLARIS 2.x                                           #
##############################################################################
SYSTEM_SUFFIX= _sol2


##############################################################################
# Adapt this to your own system                                              #
##############################################################################
SHELL= /bin/sh
MAKE=  gmake


#
# CHECK IF YOU LOCATION OF PERL in generate_doc.pl (1st line) suits you
#

##############################################################################
# It's probably better to put the exact locations by hand (quicker and safer)#
##############################################################################
CC=  	$(shell which gcc)
CC=	cc 

TAR= 		$(shell which tar)

COMPRESS= 	$(shell which gzip)

#CPROTO_BIN=	../cproto-3pl7/cproto-3pl7
CPROTO_BIN=	$(shell which cproto)

CI=	$(shell which ci)

#####################
# Compiling options #
#####################
ifndef  DBG
   ifndef  PROF
# fast mode (default)
      OPTION_SUFFIX = 
      CFLAGS=   -fast
      LDFLAGS=	-fast
   else
# profile mode
      OPTION_SUFFIX = _prof
      CFLAGS=  -pg
      LDFLAGS= -pg
   endif
else
   ifndef BC
#debug mode without boundary checking
      OPTION_SUFFIX = _dbg
       CFLAGS=  -w -g -D_DEBUG_
       LD_FLAGS= -g
   else
#debug mode with boundary checking
      OPTION_SUFFIX = _dbg_bc
       CFLAGS=  -Wall -g -D_DEBUG_
       LD_FLAGS= -g
   endif
endif








