~ubuntu-branches/ubuntu/precise/ncbi-tools6/precise

« back to all changes in this revision

Viewing changes to platform/beos.ncbi.mk

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-03-27 12:00:15 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050327120015-embhesp32nj73p9r
Tags: 6.1.20041020-3
* Fix FTBFS under GCC 4.0 caused by inconsistent use of "static" on
  functions.  (Closes: #295110.)
* Add a watch file, now that we can.  (Upstream's layout needs version=3.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# $Id: beos.ncbi.mk,v 1.3 2003/05/07 17:40:12 beloslyu Exp $
 
3
#
 
4
# Untested. Contributed by Howard Feldman <feldman@mshri.on.ca>
 
5
#
 
6
 
 
7
NCBI_DEFAULT_LCL = beos
 
8
NCBI_MAKE_SHELL = /bin/sh
 
9
#warning, the flags -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE64 will allow
 
10
#you to work with large (>4Gb) files only if you have glibc version >= 2.1
 
11
#NCBI_CC = gcc -pipe -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE64
 
12
#it appears the flags above do not working anymore with newer libc,
 
13
#the new flags should work. Dima. 08/23/01
 
14
NCBI_AR=ar
 
15
NCBI_CC = gcc -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
 
16
NCBI_CFLAGS1 = -c
 
17
NCBI_LDFLAGS1 = -O2
 
18
NCBI_OPTFLAG = -O2
 
19
#untested, try on your own risk on Linux/Intel
 
20
#NCBI_OPTFLAG = -O3 -march=pentiumpro -funroll-loops
 
21
NCBI_BIN_MASTER = /home/ncbi/bin
 
22
NCBI_BIN_COPY = /home/ncbi/bin
 
23
NCBI_INCDIR = /home/ncbi/include
 
24
NCBI_LIBDIR = /home/ncbi/lib
 
25
NCBI_ALTLIB = /home/ncbi/altlib
 
26
#will work only when you have Motif installed!
 
27
NCBI_VIBFLAG = -I/usr/X11R6/include -L/usr/X11R6/lib -DWIN_MOTIF
 
28
NCBI_VIBLIBS = -lXm -lXmu -lXt -lX11 -lXext
 
29
#warning! If you have only dynamic version of Motif or Lesstif
 
30
#you should delete -Wl,-Bstatic sentence from the next line:
 
31
NCBI_DISTVIBLIBS = -L/usr/X11R6/lib -Wl,-Bstatic -lXm -Wl,-Bdynamic -lXmu -lXt -lX11 -lXext -lXp
 
32
NCBI_OTHERLIBS =  
 
33
NCBI_RANLIB = ranlib
 
34
# Used by makedis.csh
 
35
NCBI_MT_OTHERLIBS = 
 
36
NCBI_OTHERLIBS_MT = $(NCBI_MT_OTHERLIBS) 
 
37
NCBI_THREAD_OBJ = ncbithr.o
 
38
NETENTREZVERSION = 2.02c2ASN1SPEC6 
 
39
 
 
40
# uncomment OPENGL_TARGETS to build OpenGL apps; do not change
 
41
# OPENGL_NCBI_LIBS! However, may need to set
 
42
# OPENGL_INCLUDE and OPENGL_LIBS to suit local environment
 
43
# OPENGL_TARGETS = Cn3D
 
44
OPENGL_NCBI_LIBS = LIB400=libvibrantOGL.a LIB3000=libncbicn3dOGL.a
 
45
OPENGL_INCLUDE = -I/usr/X11R6/include
 
46
OPENGL_LIBS = -L/usr/X11R6/lib -lGL -lGLU
 
47
NCBI_OGLLIBS = -L/usr/X11R6/lib -lGL -lGLU
 
48
 
 
49
# uncomment (and change appropriately) these lines to build PNG
 
50
# output support into Cn3D (OpenGL version only)
 
51
LIBPNG_DIR = /develop/lib/x86
 
52
ZLIB_DIR = /develop/lib/x86
 
53
 
 
54
NCBI_LBSM_SRC = ncbi_lbsmd_stub.c
 
55
NCBI_LBSM_OBJ = ncbi_lbsmd_stub.o