Artifact Content
Not logged in

Artifact d47ab142af132cef3bc032a561dba003825d295a:


LOCAL_PATH := $(call my-dir)

###########################
#
# tktable shared library
#
###########################

include $(CLEAR_VARS)

LOCAL_MODULE := tktable

tcl_path := $(LOCAL_PATH)/../tcl

include $(tcl_path)/tcl-config.mk

LOCAL_ADDITIONAL_DEPENDENCIES += $(tcl_path)/tcl-config.mk

tk_path := $(LOCAL_PATH)/../sdl2tk

include $(tk_path)/tk-config.mk

LOCAL_ADDITIONAL_DEPENDENCIES += $(tk_path)/tk-config.mk

LOCAL_C_INCLUDES := $(tcl_includes) $(tk_includes) $(LOCAL_PATH)/generic

LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)

LOCAL_SRC_FILES := \
	generic/tkTable.c \
	generic/tkTableWin.c \
	generic/tkTableTag.c \
	generic/tkTableEdit.c \
	generic/tkTableCell.c \
	generic/tkTableCellSort.c \
	generic/tkTableCmds.c \
	generic/tkTableUtil.c

LOCAL_CFLAGS := $(tcl_cflags) $(tk_cflags) \
	-DPACKAGE_NAME="\"Tktable\"" \
	-DPACKAGE_VERSION="\"2.11\"" \
	-DCONST86= \
	-DTBL_COMMAND="\"table\"" \
	-DTBL_RUNTIME="\"tkTable.tcl\"" \
	-DTBL_RUNTIME_DIR="\"/assets/tktable2.11\"" \
	-O2

LOCAL_SHARED_LIBRARIES := libtcl libtk

LOCAL_LDLIBS :=

include $(BUILD_SHARED_LIBRARY)