| 1 |
# $Id: LINUX_MAC_4_DEF,v 1.2 2000/04/11 13:22:09 srk Exp $ # |
| 2 |
|
| 3 |
################################################################# |
| 4 |
############### acedb: R.Durbin and J.Thierry-Mieg ############## |
| 5 |
############### ported to Linux by Ken Letovski ############## |
| 6 |
############### wmake/LINUX_DEF Feb-2-1993 ############## |
| 7 |
################################################################# |
| 8 |
|
| 9 |
################################################################# |
| 10 |
########## Machine dependant compiler modification ############## |
| 11 |
########### for generic intel-based LINUX ################## |
| 12 |
################################################################# |
| 13 |
########### This file is included by wmake/truemake ############# |
| 14 |
###### Edit this file to adapt the ACeDB to a new machine ###### |
| 15 |
##### following the explanations given in wmake/truemake ##### |
| 16 |
################################################################# |
| 17 |
|
| 18 |
NAME = LINUX |
| 19 |
|
| 20 |
# Compiler used to build 3rd party libraries |
| 21 |
LIBCC = gcc |
| 22 |
|
| 23 |
COMPILER = gcc -g -fwritable-strings -Wall -O2 -DLINUX_MAC -DACEDB4 `../w3rdparty/include-config` |
| 24 |
|
| 25 |
LINKER = gcc -g |
| 26 |
|
| 27 |
# The arg to libs-config is used if our private copy not installed. |
| 28 |
LIBS = `../w3rdparty/libs-config` -lm -lcurses -lreadline |
| 29 |
|
| 30 |
### Linux uses flex to emulate the standard 'lex' program |
| 31 |
LEX_LIBS = -lfl |
| 32 |
### flex -l emulates AT&T lex as accurately as possible |
| 33 |
LEX = flex |
| 34 |
LEX_OPTIONS = -l |
| 35 |
|
| 36 |
### linux may use bison with flag -y if yacc doesn't exist |
| 37 |
YACC = yacc |
| 38 |
YACC_OPTIONS = |
| 39 |
|
| 40 |
RPCGEN_FLAGS = -b -I -K -1 |
| 41 |
|
| 42 |
RANLIB_NEEDED = false |
| 43 |
|
| 44 |
################################################################# |
| 45 |
################################################################# |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|