summaryrefslogtreecommitdiffstats
path: root/kiten/Makefile.am
blob: 110389d81168c24f9838860125bf572881cd5901 (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
45
46
47
INCLUDES = $(all_includes)

SUBDIRS = pics

kiten_SOURCES = main.cpp kiten.cpp learn.cpp kloader.cpp ksaver.cpp \
	configsearching.ui configlearn.ui configfont.ui configdictionariesbase.ui \
	configdictionaries.cpp optiondialog.cpp kitenconfig.kcfgc

kiten_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kiten_LDADD = libkiten.la $(LIB_KIO)

bin_PROGRAMS = kiten kitengen
lib_LTLIBRARIES = libkiten.la

libkiten_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -version-info 1:0:0
libkiten_la_LIBADD = $(LIB_KDEUI) $(LIB_KDEPRINT) $(LIB_QT) $(LIB_KDECORE)

libkiten_la_SOURCES = asyndeta.cpp dict.cpp widgets.cpp kromajiedit.cpp rad.cpp \
	deinf.cpp kitenconfig.kcfgc

libkitenincludedir = $(includedir)/libkiten
libkiteninclude_HEADERS = \
	asyndeta.h dict.h widgets.h kromajiedit.h rad.h deinf.h

kitengen_SOURCES = xjdxgen.c
kitengen_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor

METASOURCES = AUTO

rcdir = $(kde_datadir)/kiten
rc_DATA = kitenui.rc learnui.rc eeditui.rc

xdg_apps_DATA = kiten.desktop

kiten_DATA = edict kanjidic radkfile vconj romkana.cnv
kitendir = $(kde_datadir)/kiten

kde_kcfg_DATA = kiten.kcfg

messages: rc.cpp
	$(XGETTEXT) *.cpp *.h -o $(podir)/kiten.pot





include ../admin/Doxyfile.am