summaryrefslogtreecommitdiff
path: root/src/config.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.mak')
-rw-r--r--src/config.mak16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/config.mak b/src/config.mak
index c4d7a1e..9ebc2e8 100644
--- a/src/config.mak
+++ b/src/config.mak
@@ -66,13 +66,15 @@ ifdef USE_GDK
USE_GTK = Yes
CHECK_GTK = Yes
LIBS = pangocairo-1.0 cairo
- ifeq ($(findstring Win, $(TEC_SYSNAME)), )
- SRC += cairo/cdcairoprn_unix.c
- INCLUDES += /usr/include/gtk-unix-print-2.0
- LIBS += freetype
- else
+ ifneq ($(findstring Win, $(TEC_SYSNAME)), )
SRC += cairo/cdcairoprn_win32.c cdcairoemf.c
LIBS += freetype6
+ else
+ ifeq ($(findstring MacOS, $(TEC_UNAME)), )
+ SRC += cairo/cdcairoprn_unix.c
+ INCLUDES += /usr/include/gtk-unix-print-2.0
+ endif
+ LIBS += freetype
endif
else
ifdef USE_X11
@@ -88,4 +90,8 @@ ifneq ($(findstring dll, $(TEC_UNAME)), )
SRC += cd.rc
endif
+ifneq ($(findstring MacOS, $(TEC_UNAME)), )
+ BUILD_DYLIB=Yes
+endif
+
LDIR = ../lib/$(TEC_UNAME)