Index: src/script.c =================================================================== --- src/script.c (revision 855) +++ src/script.c (working copy) @@ -24,6 +24,9 @@ #ifdef CONF_SOCKET #include #endif +#ifdef CONF_TABLETRACKER +#include +#endif #include #include @@ -2971,6 +2974,9 @@ #ifdef CONF_SOCKET luaopen_socket(L); #endif +#ifdef CONF_TABLETRACKER + luaopen_tabletracker(L); +#endif luaopen_electro(L); return 1; Index: Makefile =================================================================== --- Makefile (revision 855) +++ Makefile (working copy) @@ -22,6 +22,10 @@ CFLAGS += -DCONF_SOCKET endif +ifdef TABLETRACKER + CFLAGS += -DCONF_TABLETRACKER +endif + #------------------------------------------------------------------------------ ifeq ($(shell uname), Darwin) @@ -66,6 +70,10 @@ LUALIB += -lluasocket endif +ifdef TABLETRACKER +LUALIB += -ltabletracker-lua +endif + ifdef LINUX_STATIC SDLLIB = /home/rlk/lib/libSDL.a -lpthread FT2LIB = /usr/lib/libfreetype.a