include $(top_srcdir)/lib/kross/Makefile.global
apiincludedir=$(includedir)/kross/api

CXXFLAGS += $(USE_EXCEPTIONS)

apiinclude_HEADERS = \
    callable.h \
    class.h \
    dict.h \
    eventaction.h \
    event.h \
    eventscript.h \
    eventsignal.h \
    eventslot.h \
    exception.h \
    function.h \
    interpreter.h \
    list.h \
    module.h \
    object.h \
    proxy.h \
    qtobject.h \
    script.h \
    value.h \
    variant.h

lib_LTLIBRARIES = libkrossapi.la

libkrossapi_la_SOURCES = \
    object.cpp \
    variant.cpp \
    list.cpp \
    dict.cpp \
    exception.cpp \
    callable.cpp \
    eventaction.cpp \
    eventsignal.cpp \
    eventslot.cpp \
    eventscript.cpp \
    qtobject.cpp \
    script.cpp \
    interpreter.cpp

libkrossapi_la_LDFLAGS = $(all_libraries) $(VER_INFO) -Wnounresolved
libkrossapi_la_LIBADD = $(LIB_TQT) $(LIB_TDECORE)

METASOURCES = AUTO
SUBDIRS = .
INCLUDES = $(KROSS_INCLUDES) $(all_includes)