TARGET = qtopenwnn

VERSION = 1.3.6
CONFIG += static
CONFIG += warn_off

MODULE_INCLUDEPATH = $$PWD/wnnEngine/include
MODULE_DEFINES = HAVE_OPENWNN
INCLUDEPATH += wnnDictionary/include

SOURCES += \
    wnnDictionary/engine/ndapi.c \
    wnnDictionary/engine/ndbdic.c \
    wnnDictionary/engine/ndcommon.c \
    wnnDictionary/engine/ndfdic.c \
    wnnDictionary/engine/ndldic.c \
    wnnDictionary/engine/ndrdic.c \
    wnnDictionary/engine/neapi.c \
    wnnDictionary/engine/necode.c \
    wnnDictionary/engine/nj_str.c \
    wnnEngine/WnnJpnDic.c \
    wnnEngine/openwnndictionary.cpp \
    wnnEngine/openwnnenginejajp.cpp \
    wnnEngine/openwnnclauseconverterjajp.cpp \
    wnnEngine/kanaconverter.cpp \
    wnnEngine/composingtext.cpp \
    wnnEngine/letterconverter.cpp \
    wnnEngine/romkan.cpp \
    wnnEngine/romkanfullkatakana.cpp \
    wnnEngine/romkanhalfkatakana.cpp \
    wnnEngine/wnnlookuptable.cpp

HEADERS += \
    wnnDictionary/include/nj_dic.h \
    wnnDictionary/include/nj_err.h \
    wnnDictionary/include/nj_ext.h \
    wnnDictionary/include/nj_lib.h \
    wnnDictionary/include/njd.h \
    wnnDictionary/include/njx_lib.h \
    wnnEngine/predef_table.h \
    wnnEngine/include/openwnndictionary.h \
    wnnEngine/include/openwnnenginejajp.h \
    wnnEngine/include/openwnnclauseconverterjajp.h \
    wnnEngine/include/wnnword.h \
    wnnEngine/include/kanaconverter.h \
    wnnEngine/include/composingtext.h \
    wnnEngine/include/strsegment.h \
    wnnEngine/include/letterconverter.h \
    wnnEngine/include/romkan.h \
    wnnEngine/include/romkanfullkatakana.h \
    wnnEngine/include/romkanhalfkatakana.h \
    wnnEngine/include/wnnlookuptable.h

DEFINES += \
    QT_NO_CAST_TO_ASCII \
    QT_ASCII_CAST_WARNINGS \
    QT_NO_CAST_FROM_ASCII \
    QT_NO_CAST_FROM_BYTEARRAY

load(qt_helper_lib)

CONFIG += qt
QT = core-private
