# $Id: LINUX_4_RH9_DEF,v 1.2 2004/02/04 14:17:53 rnc Exp $ #

#################################################################
############### acedb: R.Durbin and J.Thierry-Mieg ##############
############### ported to Linux by Ken Letovski    ##############
############### wmake/LINUX_DEF    Feb-2-1993      ##############
#################################################################

#################################################################
########## Machine dependant compiler modification ##############
###########    for generic intel-based LINUX   ##################
#################################################################
########### This file is included by wmake/truemake #############
######  Edit this file to adapt the ACeDB to a new machine ######
#####   following the explanations given in wmake/truemake  #####
#################################################################

NAME = LINUX

# Compiler used to build 3rd party libraries 
LIBCC = gcc

COPT = -g
GTKVER = gtk2 glib-2.0 gtk+-2.0

COMPILER = gcc $(COPT) -fwritable-strings -Wall  -DACEDB4 -DGTK_DISABLE_DEPRECATED `../w3rdparty/include-config $(GTKVER)` `pkg-config --cflags libgnomecanvas-2.0` 

LINKER = gcc $(COPT)

# The arg to libs-config is used if our private copy not installed.
LIBS = `../w3rdparty/libs-config $(GTKVER)` -lm -lcurses -lreadline

### Linux uses flex to emulate the standard 'lex' program
LEX_LIBS = -lfl
### flex -l emulates AT&T lex as accurately as possible
LEX = flex
LEX_OPTIONS = -l

### linux may use bison with flag -y if yacc doesn't exist
YACC = yacc
YACC_OPTIONS =

RPCGEN_FLAGS = -b -I -K -1

RANLIB_NEEDED = false

#################################################################
#################################################################