include $(top_srcdir)/kexi/Makefile.global

INCLUDES = -I$(top_srcdir)/kexi/formeditor -I$(top_srcdir)/kexi/core $(all_includes)
METASOURCES = AUTO

# KFormDesigner KDevelop plugin
kde_module_LTLIBRARIES = libkformdesigner_kdev_part.la

libkformdesigner_kdev_part_la_SOURCES = kfd_kdev_part.cpp
libkformdesigner_kdev_part_la_LDFLAGS = -module $(KDE_PLUGIN) $(VER_INFO) $(all_libraries)
libkformdesigner_kdev_part_la_LIBADD  = $(top_builddir)/kexi/formeditor/libkformdesigner.la \
	-lkinterfacedesigner $(LIB_TDEFILE)

# this is where the desktop file will go
partdesktopdir   = $(kde_servicesdir)
partdesktop_DATA = kformdesigner_kdev_part.desktop

# this is where the part's XML-GUI resource file goes
partrcdir   = $(kde_datadir)/kformdesigner_kdev_part
partrc_DATA = kformdesigner_part.rc kformdesigner_part_shell.rc