METASOURCES = AUTO

lib_LTLIBRARIES = libqtgtk.la

AM_CPPFLAGS = -DKDE_NO_COMPAT -DQT_NO_COMPAT -DG_DISABLE_DEPRECATED          \
        -DGDK_DISABLE_DEPRECATED        \
        -DGDK_PIXBUF_DISABLE_DEPRECATED \
        -DGTK_DISABLE_DEPRECATED $(all_includes)

qtgtkincludedir = $(includedir)/qtgtk
qtgtkinclude_HEADERS = qtgtk.h

noinst_HEADERS = gtkupdater.h

libqtgtk_la_SOURCES = qtgtk.cpp gtkupdater.cpp

libqtgtk_la_LDFLAGS = -no-undefined -version-info 0:1:0 $(all_libraries)
libqtgtk_la_LIBADD  = $(LIB_KDEUI)

check_PROGRAMS = buttons

buttons_SOURCES = buttons.cpp
buttons_LDADD = libqtgtk.la $(LIB_KFILE)
