From a129c7ff0c804588288f98eb8bf84525fd980823 Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 25 Jun 2010 19:42:05 +0000 Subject: *** empty log message *** --- src/config.mak | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/config.mak b/src/config.mak index 9ebc2e8..855ad60 100644 --- a/src/config.mak +++ b/src/config.mak @@ -62,16 +62,25 @@ SRC = $(SRCCOMM) $(SRCSVG) $(SRCINTCGM) $(SRCDRV) $(SRCSIM) INCLUDES = . drv x11 win32 intcgm freetype2 sim cairo ../include ifdef USE_GDK - SRC += $(SRCGDK) $(SRCNULL) $(SRCCAIRO) + SRC += $(SRCGDK) $(SRCNULL) USE_GTK = Yes CHECK_GTK = Yes - LIBS = pangocairo-1.0 cairo + # Temporarily to build inside Tecgraf + ADD_CAIRO = Yes + ifdef ADD_CAIRO + LIBS = pangocairo-1.0 cairo + SRC += $(SRCCAIRO) + endif ifneq ($(findstring Win, $(TEC_SYSNAME)), ) - SRC += cairo/cdcairoprn_win32.c cdcairoemf.c + ifdef ADD_CAIRO + SRC += cairo/cdcairoprn_win32.c cdcairoemf.c + endif LIBS += freetype6 else ifeq ($(findstring MacOS, $(TEC_UNAME)), ) - SRC += cairo/cdcairoprn_unix.c + ifdef ADD_CAIRO + SRC += cairo/cdcairoprn_unix.c + endif INCLUDES += /usr/include/gtk-unix-print-2.0 endif LIBS += freetype -- cgit v1.2.3