summaryrefslogtreecommitdiff
path: root/src/cdcairo.mak
blob: 59381934d07df5e940591199ee6c00ab0f272845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PROJNAME = cd
LIBNAME = cdcairo
OPT = YES

DEFINES = CD_NO_OLD_INTERFACE
CHECK_GTK = Yes

INCLUDES = . cairo drv
SRCDIR = cairo
SRC = cdcairodbuf.c cdcairopdf.c cdcairosvg.c cdcairo.c cdcairoimg.c cdcairoplus.c cdcairoirgb.c cdcairops.c

# Unused here, goes inside cdgdk
# cdcaironative_gdk.c  

ifneq ($(findstring Win, $(TEC_SYSNAME)), )
  SRC += cdcaironative_win32.c cdcairoprn_win32.c cdcairoemf.c
else
  SRC += cdcaironative_x11.c   
  DEFINES += CAIRO_X11  
  CHECK_GTK = Yes
endif

INCLUDES += $(GTK)/include/cairo $(GTK)/include/pango-1.0 $(GTK)/include/glib-2.0 $(GTK)/lib/glib-2.0/include  
LDIR = $(GTK)/lib
LIBS = pangocairo-1.0 cairo pango-1.0 gobject-2.0 glib-2.0

# Can NOT use USE_CAIRO because cdcairo.lib will be included for linking
USE_CD = YES
CD = ..