summaryrefslogtreecommitdiff
path: root/config.nix
diff options
context:
space:
mode:
Diffstat (limited to 'config.nix')
-rw-r--r--config.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/config.nix b/config.nix
new file mode 100644
index 00000000..bebe939d
--- /dev/null
+++ b/config.nix
@@ -0,0 +1,37 @@
+MAJOR = 1
+MINOR = 4
+BUILD = 0
+
+JP3D_MAJOR = 1
+JP3D_MINOR = 3
+JP3D_BUILD = 0
+
+prefix=/usr/local
+CC = gcc
+
+#Set this to yes if you want to compile/install shared libs.
+ENABLE_SHARED = no
+#
+#Set to yes if you BOTH have the library AND the header
+#Set to no if a file is missing or you hate it.
+#Either lcms or lcms2 : not both
+#SHOULD BE IN SYNC WITH opj_config.h
+WITH_LCMS1 = no
+WITH_LCMS2 = no
+WITH_PNG = no
+WITH_TIFF = no
+
+#Set to yes if you have doxygen installed
+#Set to no if doxygen is missing.
+HAS_DOXYGEN = yes
+
+#Check whether these paths are correct; change them appropiatly.
+LCMS1_INCLUDE = -I/usr/include
+LCMS2_INCLUDE = -I/usr/include
+PNG_INCLUDE = -I/usr/include
+TIFF_INCLUDE = -I/usr/include
+
+LCMS1_LIB = -L/usr/lib -llcms -lm
+LCMS2_LIB = -L/usr/lib -llcms2 -lm
+PNG_LIB = -L/usr/lib -lpng -lz -lm
+TIFF_LIB = -L/usr/lib -ltiff -lm