2 add_subdirectory( config )
7 ########### next target ###############
9 set(phasestyle_PART_SRCS phasestyle.cpp )
11 kde4_automoc(${phasestyle_PART_SRCS})
13 kde4_add_plugin(phasestyle ${phasestyle_PART_SRCS})
15 kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} phasestyle )
17 target_link_libraries(phasestyle ${KDE4_KDECORE_LIBS} kdefx kdecore )
19 install(TARGETS phasestyle DESTINATION ${PLUGIN_INSTALL_DIR} )
22 ########### install files ###############
24 install( FILES phase.themerc DESTINATION ${DATA_INSTALL_DIR}/kstyle/themes )
29 #original Makefile.am contents follow:
31 #AUTOMAKE_OPTIONS = foreign
35 #KDE_CXXFLAGS = -DQT_PLUGIN
37 #INCLUDES = $(all_includes)
39 #styledir = $(kde_datadir)/kstyle/themes
40 #style_DATA = phase.themerc
42 #EXTRA_DIST = $(style_DATA)
44 #noinst_HEADERS = phasestyle.h bitmaps.h
46 #kde_style_LTLIBRARIES = phasestyle.la
47 #phasestyle_la_SOURCES = phasestyle.cpp
48 #phasestyle_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
49 #phasestyle_la_LIBADD = -lkdefx -lkdecore
50 #phasestyle_la_METASOURCES = AUTO
52 #DISTCLEANFILES = $(phasestyle_la_METASOURCES)