KDE_CXXFLAGS = $(WOVERLOADED_VIRTUAL)

noinst_LTLIBRARIES = libkjava.la
libkjava_la_SOURCES = kjavaapplet.cpp kjavaappletcontext.cpp \
	kjavaappletserver.cpp kjavaappletwidget.cpp kjavaprocess.cpp \
	kjavadownloader.cpp 

noinst_HEADERS = kjavaappletwidget.h kqeventutil.h kxeventutil.h \
                 kjavaapplet.h kjavaappletcontext.h \
                 kjavaappletserver.h kjavaprocess.h kjavaappletviewer.h

METASOURCES = AUTO

libkjava_la_LDFLAGS = $(KDE_MT_LDFLAGS) -no-undefined
libkjava_la_LIBADD = $(LIB_KPARTS)

INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/khtml \
	-I$(top_srcdir)/kio/kssl -I$(top_builddir)/kio/kssl \
	$(all_includes) 

kjavadata_DATA = kjava.jar kjava.policy pluginsinfo
kjavadatadir = $(kde_datadir)/kjava/

kjavaiconsdir = $(kde_datadir)/kjava/icons
kjavaicons_ICON = AUTO

SUBDIRS = . tests dummy

kde_module_LTLIBRARIES= kjavaappletviewer.la
kjavaappletviewer_la_SOURCES= kjavaapplet.cpp kjavaappletcontext.cpp \
        kjavaappletserver.cpp kjavaappletwidget.cpp kjavaprocess.cpp \
        kjavadownloader.cpp kjavaappletviewer.cpp

kjavaappletviewer_la_LDFLAGS= $(all_libraries) -module $(KDE_PLUGIN)
kjavaappletviewer_la_LIBADD= $(LIB_KPARTS) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_KFILE) $(top_builddir)/dcop/libDCOP.la

kde_services_DATA= kjavaappletviewer.desktop
