summaryrefslogtreecommitdiff
path: root/src/cdluacairo5.mak
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-10 20:17:50 +0000
committerscuri <scuri>2010-06-10 20:17:50 +0000
commit2fb345fc972465ade03cc1d527ad3c8db3438ac5 (patch)
tree3fd9b1f7e2b12fd79c2000c0f305e8ef7763364a /src/cdluacairo5.mak
parentc5f7b4e29afdd70a0f05d8785619585a45916b27 (diff)
*** empty log message ***
Diffstat (limited to 'src/cdluacairo5.mak')
-rw-r--r--src/cdluacairo5.mak38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/cdluacairo5.mak b/src/cdluacairo5.mak
new file mode 100644
index 0000000..691046c
--- /dev/null
+++ b/src/cdluacairo5.mak
@@ -0,0 +1,38 @@
+PROJNAME = cd
+LIBNAME = cdluacairo
+
+OPT = YES
+
+DEFINES = CD_NO_OLD_INTERFACE
+SRCDIR = lua5
+SRC = cdluacairo5.c
+DEF_FILE = cdluacairo5.def
+
+ifneq ($(findstring Win, $(TEC_SYSNAME)), )
+ # In Win32 will work only for the Win32 base driver,
+ # it will NOT work for the GDK base driver.
+ LIBS = cdcairo
+else
+ ifdef GTK_DEFAULT
+ # In Linux will work only for the GDK base driver,
+ # it will NOT work for the X11 base driver.
+ # The main cd library already includes the Cairo driver.
+ LIBS =
+ else
+ # In Other Unices will work only for the X11 base driver,
+ # it will NOT work for the GDK base driver.
+ LIBS = cdcairo
+ endif
+endif
+
+ifdef USE_LUA52
+ LIBNAME := $(LIBNAME)52
+else
+ USE_LUA51 = Yes
+ LIBNAME := $(LIBNAME)51
+endif
+
+NO_LUALINK = Yes
+USE_CD = YES
+USE_CDLUA = YES
+CD = ..