summaryrefslogtreecommitdiffstats
path: root/twin/clients/keramik/Makefile.am
blob: 3fe2162edf4f9b549f421707b5493bcf4ad85ccc (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
37
38
39
40
41
42
43
44
INCLUDES                  = -I$(srcdir)/../../lib $(all_includes)

SUBDIRS                   = . config

noinst_PROGRAMS           = embedtool

noinst_HEADERS            = tiles.h

embedtool_SOURCES         = embedtool.cpp
embedtool_LDADD           = $(LIB_TQT)
embedtool_LDFLAGS         = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor

kde_module_LTLIBRARIES    = twin_keramik.la

twin_keramik_la_SOURCES   = keramik.cpp
twin_keramik_la_COMPILE_FIRST = tiles.h
twin_keramik_la_LDFLAGS   = $(all_libraries) $(KDE_PLUGIN) -module
twin_keramik_la_LIBADD    = $(LIB_TDEUI) ../../lib/libtdecorations.la
#twin_keramik_la_LDFLAGS   = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS)

METASOURCES               = AUTO
noinst_headers        	  = keramik.h tiles.h

lnkdir                    = $(kde_datadir)/twin
lnk_DATA                  = keramik.desktop

EXTRA_DIST                = $(lnk_DATA)

tiles.h: pics/caption-large-left.png pics/caption-small-right.png pics/titlebar-center.png \
	pics/titlebutton-square.png pics/border-left.png pics/caption-large-right.png \
	pics/grabbar-center.png pics/titlebar-left.png pics/border-right.png \
	pics/caption-small-center.png pics/grabbar-left.png pics/titlebar-right.png \
	pics/caption-large-center.png  pics/caption-small-left.png pics/grabbar-right.png \
	pics/titlebutton-round.png pics/bottom-left.png pics/bottom-right.png \
	pics/bottom-center.png \
	pics/titlebutton-square-large.png pics/titlebutton-square-huge.png \
	pics/titlebutton-round-large.png pics/titlebutton-round-huge.png

tiles.h: embedtool
	pics=`ls $(srcdir)/pics/*.png 2>/dev/null` ;\
	./embedtool $$pics

keramik.lo: tiles.h