blob: 52b3493b888c8ac321235d4fccfab6729f04419b (
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
30
31
32
33
|
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 = ..
ifneq ($(findstring MacOS, $(TEC_UNAME)), )
BUILD_DYLIB=Yes
endif
|