summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.mak4
-rw-r--r--src/im_fftw.mak4
-rw-r--r--src/im_fftw3.mak6
-rw-r--r--src/im_jp2.mak4
-rw-r--r--src/im_process.mak3
-rw-r--r--src/imlua_fftw5.mak6
-rw-r--r--src/imlua_jp2.mak6
-rw-r--r--src/imlua_process5.mak6
8 files changed, 39 insertions, 0 deletions
diff --git a/src/config.mak b/src/config.mak
index 8a7b288..c703951 100644
--- a/src/config.mak
+++ b/src/config.mak
@@ -141,3 +141,7 @@ endif
ifneq ($(findstring HP-UX, $(TEC_UNAME)), )
DEFINES += IM_DEFMATHFLOAT
endif
+
+ifneq ($(findstring MacOS, $(TEC_UNAME)), )
+ BUILD_DYLIB=Yes
+endif
diff --git a/src/im_fftw.mak b/src/im_fftw.mak
index eeed4f2..a7cf53c 100644
--- a/src/im_fftw.mak
+++ b/src/im_fftw.mak
@@ -43,3 +43,7 @@ endif
ifneq ($(findstring HP-UX, $(TEC_UNAME)), )
DEFINES += IM_DEFMATHFLOAT
endif
+
+ifneq ($(findstring MacOS, $(TEC_UNAME)), )
+ BUILD_DYLIB=Yes
+endif
diff --git a/src/im_fftw3.mak b/src/im_fftw3.mak
index c33f394..d23376f 100644
--- a/src/im_fftw3.mak
+++ b/src/im_fftw3.mak
@@ -44,6 +44,7 @@ else
DEFINES += HAVE_UINTPTR_T
endif
ifneq ($(findstring MacOS, $(TEC_UNAME)), )
+ BUILD_DYLIB=Yes
DEFINES += HAVE_UINTPTR_T
endif
ifneq ($(findstring FreeBSD, $(TEC_UNAME)), )
@@ -56,3 +57,8 @@ else
DEFINES += IM_DEFMATHFLOAT
endif
endif
+
+ifneq ($(findstring MacOS, $(TEC_UNAME)), )
+ BUILD_DYLIB=Yes
+endif
+
diff --git a/src/im_jp2.mak b/src/im_jp2.mak
index d88c984..4a1b720 100644
--- a/src/im_jp2.mak
+++ b/src/im_jp2.mak
@@ -44,5 +44,9 @@ else
DEFINES += HAVE_UNISTD_H JAS_TYPES
endif
+ifneq ($(findstring MacOS, $(TEC_UNAME)), )
+ BUILD_DYLIB=Yes
+endif
+
USE_IM=Yes
IM = ..
diff --git a/src/im_process.mak b/src/im_process.mak
index 064be76..12a2dad 100644
--- a/src/im_process.mak
+++ b/src/im_process.mak
@@ -33,4 +33,7 @@ else
ifneq ($(findstring HP-UX, $(TEC_UNAME)), )
DEFINES += IM_DEFMATHFLOAT
endif
+ ifneq ($(findstring MacOS, $(TEC_UNAME)), )
+ BUILD_DYLIB=Yes
+ endif
endif
diff --git a/src/imlua_fftw5.mak b/src/imlua_fftw5.mak
index 5ff46a8..d97744d 100644
--- a/src/imlua_fftw5.mak
+++ b/src/imlua_fftw5.mak
@@ -26,3 +26,9 @@ endif
USE_IMLUA = YES
NO_LUALINK = Yes
IM = ..
+
+ifneq ($(findstring MacOS, $(TEC_UNAME)), )
+ USE_IMLUA:=
+ INCLUDES += ../include
+ LDIR = ../lib/$(TEC_UNAME)
+endif
diff --git a/src/imlua_jp2.mak b/src/imlua_jp2.mak
index 8afd596..bc9ca3e 100644
--- a/src/imlua_jp2.mak
+++ b/src/imlua_jp2.mak
@@ -22,3 +22,9 @@ endif
USE_IMLUA = Yes
NO_LUALINK = Yes
IM = ..
+
+ifneq ($(findstring MacOS, $(TEC_UNAME)), )
+ USE_IMLUA:=
+ INCLUDES += ../include
+ LDIR = ../lib/$(TEC_UNAME)
+endif
diff --git a/src/imlua_process5.mak b/src/imlua_process5.mak
index d2c9aa9..22bb0e4 100644
--- a/src/imlua_process5.mak
+++ b/src/imlua_process5.mak
@@ -25,3 +25,9 @@ endif
USE_IMLUA = YES
NO_LUALINK = Yes
IM = ..
+
+ifneq ($(findstring MacOS, $(TEC_UNAME)), )
+ USE_IMLUA:=
+ INCLUDES += ../include
+ LDIR = ../lib/$(TEC_UNAME)
+endif