diff options
author | scuri <scuri> | 2010-06-25 05:58:52 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-25 05:58:52 +0000 |
commit | 2841e003940d02d7b0339edbb7024abd93b7571b (patch) | |
tree | 606a44a8483bbef1dfcd2df3d3ce651e4386c783 /src/config.mak | |
parent | c7d2f1f2178be7a4fdbbd49761dff12181d6db78 (diff) |
*** empty log message ***
Diffstat (limited to 'src/config.mak')
-rw-r--r-- | src/config.mak | 16 |
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) |