lib_LTLIBRARIES = libkommanderwidgets.la

# set the include path for X, qt and KDE
INCLUDES = -I$(top_srcdir)/kommander/widget -I$(top_srcdir)/kommander/factory -I$(top_srcdir)/kommander/plugin $(all_includes)

# the library search path.
#widgets_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
libkommanderwidgets_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -no-undefined

# the libraries to link against.
libkommanderwidgets_la_LIBADD  = $(LIB_KIO) $(LIB_QT) \
    $(top_builddir)/kommander/widget/libkommanderwidget.la \
    $(top_builddir)/kommander/plugin/libkommanderplugin.la \
    $(top_builddir)/kommander/factory/libkommanderfactory.la

# which sources should be compiled for widgets
libkommanderwidgets_la_SOURCES = aboutdialog.cpp buttongroup.cpp checkbox.cpp \
	closebutton.cpp combobox.cpp datepicker.cpp dialog.cpp execbutton.cpp fileselector.cpp \
	fontdialog.cpp groupbox.cpp konsole.cpp label.cpp lineedit.cpp listbox.cpp \
	pixmaplabel.cpp plugin.cpp popupmenu.cpp progressbar.cpp radiobutton.cpp \
	richtexteditor.cpp scriptobject.cpp slider.cpp spinboxint.cpp statusbar.cpp subdialog.cpp \
	table.cpp tabwidget.cpp textbrowser.cpp textedit.cpp timer.cpp toolbox.cpp \
	treewidget.cpp wizard.cpp

# these are the headers for your project that won't be installed
noinst_HEADERS = aboutdialog.h buttongroup.h checkbox.h closebutton.h \
	combobox.h dialog.h execbutton.h fileselector.h fontdialog.h groupbox.h \
	groupbox.h	 label.h lineedit.h listbox.h pixmaplabel.h popupmenu.h radiobutton.h \
	radiobutton.h	 richtexteditor.h scriptobject.h spinboxint.h statusbar.h subdialog.h \
	tabwidget.h textbrowser.h textedit.h toolbox.h treewidget.h wizard.h

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

KDE_OPTIONS=nofinal
