summaryrefslogtreecommitdiff
path: root/src/cdcontextplus.mak
blob: 77434de8891554ccda1d055a1d58cd66e1606a0d (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
PROJNAME = cd
LIBNAME = cdcontextplus
OPT = YES

DEFINES = CD_NO_OLD_INTERFACE


ifneq ($(findstring Win, $(TEC_SYSNAME)), )
  SRCDIR = gdiplus
  SRC = cdwemfp.cpp cdwimgp.cpp cdwinp.cpp cdwnativep.cpp cdwprnp.cpp cdwdbufp.cpp cdwclpp.cpp cdwgdiplus.c

  INCLUDES = . gdiplus drv
  LIBS = gdiplus
  CHECK_GDIPLUS = Yes
else
  SRC = xrender/cdxrender.c xrender/cdxrplus.c

  LIBS = Xrender Xft
  USE_X11 = Yes
  CHECK_XRENDER = Yes

  INCLUDES = . sim drv freetype2 x11
endif

ifneq ($(findstring MacOS, $(TEC_UNAME)), )
  BUILD_DYLIB=Yes
endif

USE_CD = YES
CD = ..