#
# Makefile_defs.linux
#
# Generic definitions which should work for a linux system.
# Updated to expect Tcl/Tk 8.4, released September 2002.
#
# Always run make ARCH=platform from the top-level savi directory.
#
# $Id: Makefile_defs.,v 1.4 2004/05/04 16:42:14 lloydwood Exp $


########################################################
#                                                      #
# Set machine type -- suffix for savi                  #
#                                                      #
########################################################
MACH = linux

########################################################
#                                                      #
# set CC to an ANSI C compiler                         #
#                                                      #
########################################################
CC = gcc

########################################################
#                                                      #
# set TCL_INCLUDES so that the compiler can            #
# find the tcl.h and tk.h                              #
#                                                      #
# if tcl/tk is installed in a standard place           #
# it is not necessary to set this                      #
#                                                      #
########################################################
TCL_INCLUDES = -I/usr/local/lib/tcl8.4 -I/usr/local/lib/tk8.4

########################################################
#                                                      #
# set TCL_LIBS so that the compiler can find           #
# libtcl.a and libtk.a                                 #
#                                                      #
########################################################
TCL_LIBS = -ltk8.4 -ltcl8.4

########################################################
#                                                      #
# set X11_INCLUDES so that the compiler can            #
# find the X11 include files                           #
#                                                      #
# if the X11 include directory is already part of the  #
# compiler's search path it is not necessary to set.   #
#                                                      #
########################################################
X11_INCLUDES =

########################################################
#                                                      #
# Set X11_LIBS so that libX11.a and other necessary    #
# files can be found.                                  #
#                                                      #
########################################################
X11_LIBS = -L/usr/X11R6/lib -lX11

########################################################
#                                                      #
# Set OTHER_LIBS so that any other stuff needing to    #
# be linked in will be!                                #
#                                                      #
########################################################
OTHER_LIBS = -ldl

# You may wish to use some of the following instead:
# OTHER_LIBS = -static -lsocket
