#    This file is part of the KDE libraries
#    Copyright (C) 1997 Martin Jones (mjones@kde.org)
#              (C) 1997 Torben Weis (weis@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., 59 Temple Place - Suite 330,
#    Boston, MA 02111-1307, USA.

KDE_CXXFLAGS = $(WOVERLOADED_VIRTUAL) 

noinst_LTLIBRARIES = libkhtmlcss.la
libkhtmlcss_la_SOURCES = \
	css_stylesheetimpl.cpp  css_ruleimpl.cpp        css_valueimpl.cpp \
	cssparser.cpp cssstyleselector.cpp csshelper.cpp

#libkhtmlcss_la_LDFLAGS = -no-undefined 
libkhtmlcss_la_METASOURCES = AUTO

noinst_HEADERS = \
	css_extensionsimpl.h  css_stylesheetimpl.h  cssparser.h \
	css_ruleimpl.h        css_valueimpl.h \
	cssstyleselector.h csshelper.h

INCLUDES = -I$(top_srcdir)/kimgio -I$(top_srcdir)/kio -I$(top_srcdir)/dcop \
 -I$(top_srcdir)/khtml -I$(top_srcdir)/libltdl -I$(top_srcdir) $(all_includes)

cssdir = $(kde_datadir)/khtml/css
css_DATA = html4.css

SRCDOC_DEST=$(kde_htmldir)/en/kdelibs/khtml

## generate lib documentation
srcdoc:
	$(mkinstalldirs) $(SRCDOC_DEST)
	kdoc -H -d $(SRCDOC_DEST) kdecore -lqt

