



########### next target ###############

set(kbabeldict_poauxiliary_PART_SRCS poauxiliary.cpp preferenceswidget.cpp pa_factory.cpp )

kde4_automoc(${kbabeldict_poauxiliary_PART_SRCS})

kde4_add_ui_files(kbabeldict_poauxiliary_PART_SRCS pwidget.ui )

kde4_add_plugin(kbabeldict_poauxiliary ${kbabeldict_poauxiliary_PART_SRCS})



target_link_libraries(kbabeldict_poauxiliary  ${KDE4_KDECORE_LIBS} kbabeldictplugin kbabelcommon ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} )

install(TARGETS kbabeldict_poauxiliary  DESTINATION ${PLUGIN_INSTALL_DIR} )


########### install files ###############

install( FILES poauxiliary.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )




#original Makefile.am contents follow:

### Makefile.am for poauxiliary
#
## this has all of the subdirectories that make will recurse into.  if
## there are none, comment this out
##SUBDIRS = 
#
#
## this is the program that gets installed.  it's name is used for all
## of the other Makefile.am variables
#kde_module_LTLIBRARIES = kbabeldict_poauxiliary.la
#
## set the include path for X, qt and KDE
#INCLUDES         = -I$(srcdir)/../.. -I../../../common -I$(srcdir)/../../../common $(all_includes)
#
#
#kbabeldict_poauxiliary_la_SOURCES = poauxiliary.cpp preferenceswidget.cpp\
#                            pa_factory.cpp pwidget.ui
#kbabeldict_poauxiliary_la_LIBADD =  ../../libkbabeldictplugin.la ../../../common/libkbabelcommon.la $(LIB_KDEUI) $(LIB_KIO)
#kbabeldict_poauxiliary_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
#
#
#
## these are the headers for your project
#noinst_HEADERS   = poauxiliary.h preferenceswidget.h pa_factory.h
#
#
## let automoc handle all of the meta source files (moc)
#METASOURCES = AUTO
#
#
## this is where the kdelnk file will go
##datadir   = $(kde_datadir)/kbabeldict/modules
##data_DATA = poauxiliary.rc
#
#kde_services_DATA = poauxiliary.desktop
#EXTRA_DIST = $(kde_services_DATA)
