summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-25 19:42:05 +0000
committerscuri <scuri>2010-06-25 19:42:05 +0000
commita129c7ff0c804588288f98eb8bf84525fd980823 (patch)
treefbef1cfb516168b4c12ecf8974c0c81e65b2a8a8 /src
parent22b3e42f503d0900f333c7813c1ced0c1b8a6ef1 (diff)
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/config.mak17
1 files 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