| 1 |
# $Id: SOLARIS_4_DEF,v 1.10 2003/07/01 16:07:35 srk Exp $ |
| 2 |
|
| 3 |
################################################################# |
| 4 |
############### acedb: R.Durbin and J.Thierry-Mieg ############## |
| 5 |
################################################################# |
| 6 |
|
| 7 |
################################################################# |
| 8 |
########## Machine dependant compiler modification ############## |
| 9 |
##### for the Solaris OS using the GTK graphics backend ######### |
| 10 |
################################################################# |
| 11 |
########### This file is included by wmake/truemake ############# |
| 12 |
###### Edit this file to adapt the ACeDB to a new machine ###### |
| 13 |
##### following the explanations given in wmake/truemake ##### |
| 14 |
################################################################# |
| 15 |
|
| 16 |
NAME = SOLARIS |
| 17 |
|
| 18 |
# Compiler used to build 3rd party libraries |
| 19 |
LIBCC = gcc |
| 20 |
|
| 21 |
# at Sanger remove -I/opt/x11r5/include, which creates problems with stdarg.h |
| 22 |
COMPILER = gcc -g -DNO_LEFT_CASTING -Wall -DACEDB4 `../w3rdparty/include-config -I/usr/local/include | sed -e "s/-I\/opt\/x11r5\/include//"` |
| 23 |
|
| 24 |
LINKER = gcc -g -R/usr/local/lib |
| 25 |
|
| 26 |
# The builtin test command in the Solaris shell doesn't understand -L |
| 27 |
TEST = /usr/bin/test |
| 28 |
|
| 29 |
LIBS = `../w3rdparty/libs-config -L/usr/local/lib` -lm -lsocket -lnsl -lreadline -lcurses |
| 30 |
|
| 31 |
#on SOLARIS libraries don't have to be ranlib'd |
| 32 |
RANLIB_NEEDED = false |
| 33 |
|
| 34 |
## other derivation from the default specific to Solaris |
| 35 |
AR_OPTIONS = ru |
| 36 |
RPCGEN_FLAGS = -b -I -K -1 |
| 37 |
|
| 38 |
LEX_LIBS = -ll -lw |
| 39 |
################################################################# |
| 40 |
################################################################# |
| 41 |
|
| 42 |
|