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