annotate ezBAMQC/src/htslib/config.mk.in @ 1:b4ff32b63fcd

Uploaded
author cshl-bsr
date Tue, 29 Mar 2016 15:25:51 -0400
parents dfa3745e5fd8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1 # Optional configure Makefile overrides for htslib.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3 # Copyright (C) 2015 Genome Research Ltd.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
5 # Author: John Marshall <jm18@sanger.ac.uk>
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
6 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
7 # Permission is hereby granted, free of charge, to any person obtaining a copy
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
8 # of this software and associated documentation files (the "Software"), to deal
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
9 # in the Software without restriction, including without limitation the rights
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
10 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
11 # copies of the Software, and to permit persons to whom the Software is
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
12 # furnished to do so, subject to the following conditions:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
13 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
14 # The above copyright notice and this permission notice shall be included in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
15 # all copies or substantial portions of the Software.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
16 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
17 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
18 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
19 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
20 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
21 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
22 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
23 # DEALINGS IN THE SOFTWARE.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
24
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
25 # This is @configure_input@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
26 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
27 # If you use configure, this file overrides variables and augments rules
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
28 # in the Makefile to reflect your configuration choices. If you don't run
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
29 # configure, the main Makefile contains suitable conservative defaults.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
30
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
31 prefix = @prefix@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
32 exec_prefix = @exec_prefix@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
33 bindir = @bindir@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
34 includedir = @includedir@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
35 libdir = @libdir@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
36 datarootdir = @datarootdir@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
37 mandir = @mandir@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
38
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
39 CC = @CC@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
40 RANLIB = @RANLIB@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
41
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
42 CFLAGS = @CFLAGS@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
43 LDFLAGS = @LDFLAGS@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
44 LDLIBS = @LIBS@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
45
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
46
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
47 # ifeq/.../endif, +=, and target-specific variables are GNU Make-specific.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
48 # If you don't have GNU Make, comment out this conditional and note that
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
49 # to enable iRODS you will need to implement the following elsewhere.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
50 ifeq "iRODS-@irods@" "iRODS-enabled"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
51
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
52 @define_IRODS_HOME@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
53
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
54 EXTRA_CPPFLAGS_IRODS = \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
55 -I$(IRODS_HOME)/lib/api/include \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
56 -I$(IRODS_HOME)/lib/core/include \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
57 -I$(IRODS_HOME)/lib/md5/include \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
58 -I$(IRODS_HOME)/lib/sha1/include \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
59 -I$(IRODS_HOME)/server/core/include \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
60 -I$(IRODS_HOME)/server/drivers/include \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
61 -I$(IRODS_HOME)/server/icat/include
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
62
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
63 LDFLAGS += -L$(IRODS_HOME)/lib/core/obj
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
64 LDLIBS += -lRodsAPIs -lgssapi_krb5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
65
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
66 LIBHTS_OBJS += hfile_irods.o
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
67
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
68 hfile.o hfile.pico: CPPFLAGS += -DHAVE_IRODS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
69
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
70 hfile_irods.o hfile_irods.pico: CPPFLAGS += $(EXTRA_CPPFLAGS_IRODS)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
71
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
72 endif