summaryrefslogtreecommitdiff
path: root/src/cdluacontextplus5.mak
blob: eee24f0b47228242ea98d8d4eab5f2f7190197a9 (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
34
35
PROJNAME = cd
LIBNAME = cdluacontextplus

OPT = YES

DEFINES = CD_NO_OLD_INTERFACE
SRCDIR = lua5
SRC = cdluacontextplus5.c
DEF_FILE = cdluacontextplus5.def

ifneq ($(findstring Win, $(TEC_SYSNAME)), )
  CHECK_GDIPLUS = Yes
else
  CHECK_XRENDER = Yes
endif

LIBS = cdcontextplus

ifdef USE_LUA52
  LIBNAME := $(LIBNAME)52
else
  USE_LUA51 = Yes
  LIBNAME := $(LIBNAME)51
endif

NO_LUALINK = Yes
USE_CD = YES
USE_CDLUA = YES
CD = ..

ifneq ($(findstring MacOS, $(TEC_UNAME)), )
  USE_CDLUA:=
  INCLUDES += ../include
  LDIR = ../lib/$(TEC_UNAME)
endif