summaryrefslogtreecommitdiffstats
path: root/kscreensaver/xsavers/Makefile.am
blob: b5451c7a2afa7b36a316ba3f828b7436ddc6a6cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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) -lktexteditor

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)