#    This file is part of the KDE libraries
#    Copyright (C) 1997 David Faure <faure@kde.org>
#
#    This library is free software; you can redistribute it and/or
#    modify it under the terms of the GNU Library General Public
#    License as published by the Free Software Foundation; either
#    version 2 of the License, or (at your option) any later version.
#
#    This library is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#    Library General Public License for more details.
#
#    You should have received a copy of the GNU Library General Public License
#    along with this library; see the file COPYING.LIB.  If not, write to
#    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
#    Boston, MA 02110-1301, USA.

INCLUDES = -I$(kde_includes)/arts $(all_includes)
SUBDIRS = pics favicons

lib_LTLIBRARIES = libkonq.la
libkonq_la_LDFLAGS = $(all_libraries) -version-info 6:0:2 -no-undefined
libkonq_la_LIBADD = $(LIB_TDEPARTS)

libkonq_la_SOURCES = konq_popupmenu.cc knewmenu.cc \
   konq_xmlguiclient.cc\
   tdefileivi.cc konq_iconviewwidget.cc konq_settings.cc konq_drag.cc  \
   konq_operations.cc \
   konq_dirpart.cc konq_propsview.cc konq_events.cc konq_bgnddlg.cc \
   konq_undo.cc konq_undo.skel \
   konq_historymgr.cc konq_historycomm.cc konq_historycomm.skel \
   konq_pixmapprovider.cc \
   kivdirectoryoverlay.cc \
   kivfreespaceoverlay.cc \
   konq_faviconmgr.cc konq_faviconmgr.skel konq_filetip.cc

directory_DATA = directory_bookmarkbar.desktop 
directorydir   = $(kde_datadir)/kbookmark

servicetype_DATA = konqpopupmenuplugin.desktop
servicetypedir = $(kde_servicetypesdir)

METASOURCES = AUTO

include_HEADERS = konq_popupmenu.h knewmenu.h \
    tdefileivi.h konq_drag.h konq_iconviewwidget.h \
    konq_defaults.h konq_settings.h \
    konq_operations.h libkonq_export.h \
    konq_dirpart.h konq_propsview.h konq_events.h \
    konq_undo.h konq_historymgr.h konq_historycomm.h \
    konq_pixmapprovider.h \
    kivdirectoryoverlay.h \
    kivfreespaceoverlay.h \
    konq_faviconmgr.h konq_xmlguiclient.h konqbookmarkmanager.h konq_filetip.h


if include_ARTS
ARTS_MODULE = konq_sound.la
endif

kde_module_LTLIBRARIES = $(ARTS_MODULE)
konq_sound_la_SOURCES = konq_sound.cc
konq_sound_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
konq_sound_la_LIBADD = -lsoundserver_idl -lartskde

noinst_HEADERS = konq_sound.h

messages:
	$(XGETTEXT) *.cc *.h -o $(podir)/libkonq.pot

DOXYGEN_REFERENCES = dcop tdecore tdeio/bookmarks
include ../admin/Doxyfile.am