kwin/clients/keramik/Makefile.am
Fredrik Höglund 5a534cc7bd Importing the Keramik KWin style.
svn path=/trunk/kdebase/kwin/; revision=156002
2002-05-17 16:33:48 +00:00

32 lines
867 B
Makefile

INCLUDES = $(all_includes) -I$(kde_includes)/kwin
SUBDIRS = . config
KDE_CXXFLAGS = -UQT_NO_ASCII_CAST
kde_module_LTLIBRARIES = kwin_keramik.la
kwin_keramik_la_SOURCES = keramik.cpp
kwin_keramik_la_LIBADD = ../../kwin.la
kwin_keramik_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
METASOURCES = AUTO
noinst_headers = keramik.h tiles.h
lnkdir = $(kde_datadir)/kwin
lnk_DATA = keramik.desktop
EXTRA_DIST = $(lnk_DATA)
QEMBED = $(QTDIR)/tools/qembed/qembed
keramik.cpp: tiles.h
PICS := $(shell ls $(srcdir)/pics/*.png 2>/dev/null)
.PHONY: make-embed
make-embed: $(PICS)
$(QEMBED) --images $^ | \
sed -e 's,static QDict<QImage> dict;,,' | \
sed -e 's,dict\.find,imageDict.find,' > $(srcdir)/tiles.h