~ubuntu-branches/debian/experimental/ncbi-tools6/experimental

« back to all changes in this revision

Viewing changes to platform/qnx.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: qnx.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 = qnx
 
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
NCBI_BIN_MASTER = /home/ncbi/bin
 
20
NCBI_BIN_COPY = /home/ncbi/bin
 
21
NCBI_INCDIR = /home/ncbi/include
 
22
NCBI_LIBDIR = /home/ncbi/lib
 
23
NCBI_ALTLIB = /home/ncbi/altlib
 
24
#will work only when you have Motif installed!
 
25
NCBI_VIBFLAG = -I/usr/X11R6/include -L/usr/X11R6/lib -DWIN_MOTIF
 
26
NCBI_VIBLIBS = -lXm -lXmu -lXt -lX11 -lXext
 
27
 
 
28
#warning! If you have only dynamic version of Motif or Lesstif
 
29
#you should delete -Wl,-Bstatic sentence from the next line:
 
30
NCBI_DISTVIBLIBS = -L/usr/X11R6/lib -Wl,-Bstatic -lXm -Wl,-Bdynamic -lXmu -lXt -lX11 -lXext -lXp
 
31
NCBI_OTHERLIBS = -lm -lrpc -lmedia
 
32
NCBI_RANLIB = ranlib
 
33
# Used by makedis.csh
 
34
NCBI_MT_OTHERLIBS = 
 
35
NCBI_OTHERLIBS_MT = $(NCBI_MT_OTHERLIBS) -lm
 
36
NCBI_THREAD_OBJ = ncbithr.o
 
37
NETENTREZVERSION = 2.02c2ASN1SPEC6 
 
38
 
 
39
# uncomment OPENGL_TARGETS to build OpenGL apps; do not change
 
40
# OPENGL_NCBI_LIBS! However, may need to set
 
41
# OPENGL_INCLUDE and OPENGL_LIBS to suit local environment
 
42
OPENGL_TARGETS = 
 
43
OPENGL_NCBI_LIBS = LIB400=libvibrantOGL.a LIB3000=libncbicn3dOGL.a
 
44
OPENGL_INCLUDE = -I/usr/X11R6/include
 
45
OPENGL_LIBS = -L/usr/X11R6/lib -lGL -lGLU
 
46
NCBI_OGLLIBS = -L/usr/X11R6/lib -lGL -lGLU
 
47
 
 
48
# uncomment (and change appropriately) these lines to build PNG
 
49
# output support into Cn3D (OpenGL version only)
 
50
#LIBPNG_DIR = /home/paul/Programs/libpng
 
51
#ZLIB_DIR = /home/paul/Programs/zlib
 
52
 
 
53
NCBI_LBSM_SRC = ncbi_lbsmd_stub.c
 
54
NCBI_LBSM_OBJ = ncbi_lbsmd_stub.o