summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/xsavers/Makefile.am
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:16:15 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:16:15 -0600
commit7e09b5c2efae58399621a938de26b9675b8ba621 (patch)
treede2c9535e1f4c48ae91910492d298eba1d593fd5 /tdescreensaver/xsavers/Makefile.am
parent159f7e147ac33c924b3ce9050c8f03cbc54916ee (diff)
downloadtdeartwork-7e09b5c2efae58399621a938de26b9675b8ba621.tar.gz
tdeartwork-7e09b5c2efae58399621a938de26b9675b8ba621.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'tdescreensaver/xsavers/Makefile.am')
-rw-r--r--tdescreensaver/xsavers/Makefile.am36
1 files changed, 36 insertions, 0 deletions
diff --git a/tdescreensaver/xsavers/Makefile.am b/tdescreensaver/xsavers/Makefile.am
new file mode 100644
index 00000000..6510fd32
--- /dev/null
+++ b/tdescreensaver/xsavers/Makefile.am
@@ -0,0 +1,36 @@
+AM_CPPFLAGS = -UQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE
+
+INCLUDES = $(all_includes) $(GLINC)
+AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
+
+if COMPILE_GL_XSAVERS
+GL_XSAVERS=kspace.kss
+endif
+
+bin_PROGRAMS = kswarm.kss $(GL_XSAVERS)
+
+BASE_SRCS = main.cpp demowin.cpp saver.cpp helpers.cpp
+
+XS_SRCS = xs_colors.c xs_hsv.c xs_visual.c
+XL_SRCS = xlock.cpp
+
+kswarm_kss_SOURCES = swarm.cpp $(BASE_SRCS) $(XL_SRCS)
+kswarm_kss_LDADD = $(LIB_TDEUI) -lm
+
+kspace_kss_SOURCES = space.cpp $(BASE_SRCS) $(XL_SRCS)
+kspace_kss_LDADD = $(LIB_TDEUI) $(GLLIB) -lm
+
+METASOURCES = AUTO
+
+noinst_HEADERS = saver.h demowin.h xlock.h swarm.h space.h \
+ xlockmore.h mode.h helpers.h \
+ xs_colors.h xs_hsv.h xs_yarandom.h xs_utils.h \
+ xs_visual.h
+
+########## Meta objects ##########
+
+desktop_DATA = KSpace.desktop KSwarm.desktop
+desktopdir = $(kde_appsdir)/System/ScreenSavers
+
+EXTRA_DIST = $(desktop_DATA)
+