summaryrefslogtreecommitdiffstats
path: root/kcoloredit/Makefile.am
blob: 0902884315a90583b5ac9fb7866ca493f517f1b2 (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
INCLUDES = $(all_includes)

kcoloredit_SOURCES = kzcolorselector.cpp imageselection.cpp \
	texteditselection.cpp gradientselection.cpp colorselector.cpp \
	kxycolorselector.cpp paletteview.cpp paletteviewscrolledarea.cpp \
	editablestreamhistory.cpp color.cpp palette.cpp loadpalettedlg.cpp \
	kcoloreditview.cpp kcoloreditdoc.cpp kcoloredit.cpp main.cpp
kcoloredit_METASOURCES = AUTO
kcoloredit_LDADD = $(LIB_TDEUI) $(LIB_KFILE)
kcoloredit_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor

rcdir = $(kde_datadir)/kcoloredit
rc_DATA = kcoloreditui.rc

bin_PROGRAMS = kcoloredit kcolorchooser
kcolorchooser_SOURCES = kcolorchooser.cpp
kcolorchooser_LDADD = $(LIB_TDEUI)
kcolorchooser_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor

noinst_HEADERS = color.h colorselector.h editablestreamhistory.h \
	gradientselection.h imageselection.h kcoloredit.h kcoloreditdoc.h \
	kcoloreditview.h kxycolorselector.h kzcolorselector.h \
	loadpalettedlg.h main.h palette.h palettehistory.h paletteview.h \
	resource.h texteditselection.h

xdg_apps_DATA = kcoloredit.desktop kcolorchooser.desktop

KDE_ICON = kcoloredit kcolorchooser

EXTRA_DIST = $(xdg_apps_DATA)

messages: rc.cpp
	$(EXTRACTRC) *.rc > rc.cpp
	$(XGETTEXT) $(kcoloredit_SOURCES) rc.cpp resource.h -o $(podir)/kcoloredit.pot