



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

set(noatuntippecanoe_PART_SRCS synaescope.cpp )

kde4_add_plugin(noatuntippecanoe ${noatuntippecanoe_PART_SRCS})



target_link_libraries(noatuntippecanoe  ${KDE4_KDECORE_LIBS} noatun m )

install(TARGETS noatuntippecanoe  DESTINATION ${PLUGIN_INSTALL_DIR} )


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

set(noatuntippecanoe.bin_SRCS 
   core.cpp 
   main.cpp 
   ui.cpp 
   sdlwrap.cpp )

kde4_add_executable(noatuntippecanoe.bin ${noatuntippecanoe.bin_SRCS})

target_link_libraries(noatuntippecanoe.bin   ${KDE4_KDEUI_LIBS} m )

install(TARGETS noatuntippecanoe.bin DESTINATION ${BIN_INSTALL_DIR} )


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

install( FILES tippecanoe.plugin  DESTINATION  ${DATA_INSTALL_DIR}/noatun )




#original Makefile.am contents follow:

#INCLUDES= $(all_includes) $(SDL_CFLAGS)
#
#METASOURCES = AUTO
#
#kde_module_LTLIBRARIES = noatuntippecanoe.la
#
#noatuntippecanoe_la_SOURCES = synaescope.cpp
#noatuntippecanoe_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
#noatuntippecanoe_la_LIBADD = $(LIB_KFILE) -lnoatun -lm
#
#bin_PROGRAMS = noatuntippecanoe.bin
#
#noatuntippecanoe_bin_SOURCES = core.cpp main.cpp ui.cpp sdlwrap.cpp
#noatuntippecanoe_bin_LDFLAGS = $(all_libraries) $(KDE_RPATH)
#noatuntippecanoe_bin_LDADD = $(LIB_KDEUI) -lm $(SDL_LIBS)
#
#noatun_DATA = tippecanoe.plugin
#noatundir = $(kde_datadir)/noatun
#
#messages: rc.cpp
#	$(XGETTEXT) *.cpp *.h -o $(podir)/tippecanoe.pot
