src/inc/common.mk 1.67
1.67 2009/08/05 23:34:31 angie
Added conditional use (USE_PNG) of external library libpng (http://libpng.org/pub/png/, sourceforge) to write memgfx images in the PNG format instead of GIF. Currently used (conditionally!) only for hgTracks' main image. This is to support Tim's enhancements for horizontal scrolling of the browser track image. Image file size also appears smaller than GIF but should try more test cases.
Index: src/inc/common.mk
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/common.mk,v
retrieving revision 1.66
retrieving revision 1.67
diff -b -B -U 4 -r1.66 -r1.67
--- src/inc/common.mk 3 Aug 2009 22:41:09 -0000 1.66
+++ src/inc/common.mk 5 Aug 2009 23:34:31 -0000 1.67
@@ -8,13 +8,12 @@
#global external libraries
L=
-#default to not using ssl
+# libssl: disabled by default
ifeq (${USE_SSL},)
USE_SSL=0
endif
-
ifeq (${USE_SSL},1)
L+=-lssl
HG_DEFS+=-DUSE_SSL
endif
@@ -18,15 +17,23 @@
L+=-lssl
HG_DEFS+=-DUSE_SSL
endif
+# libpng: disabled by default
+ifeq (${USE_PNG},)
+ USE_PNG=0
+endif
+ifeq (${USE_PNG},1)
+ L+=-lpng
+ HG_DEFS+=-DUSE_PNG
+endif
+
HG_INC=-I../inc -I../../inc -I../../../inc -I../../../../inc -I../../../../../inc
-#default to not using bam
+# libbam: disabled by default
ifeq (${USE_BAM},)
USE_BAM=0
endif
-
ifeq (${USE_BAM},1)
ifeq (${SAMDIR},)
SAMDIR = /hive/data/outside/samtools/samtools/${MACHTYPE}
endif