summaryrefslogtreecommitdiffstats
path: root/knotes/Makefile.am
blob: cfa8266abc5fea6b0649d138402aeaa57918a574 (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
48
49
50
51
52
53
54
55
56
57
58
59
INCLUDES        = -I$(top_srcdir) $(all_includes)

SUBDIRS         = . pics icons

bin_PROGRAMS    = knotes

include_HEADERS = KNotesIface.h KNotesAppIface.h
noinst_HEADERS  = knotesapp.h knote.h knoteedit.h knotebutton.h \
                  knoteconfigdlg.h knoteslegacy.h resourcemanager.h \
                  resourcenotes.h resourcelocal.h resourcelocalconfig.h \
                  knotesnetrecv.h knotesnetsend.h knotehostdlg.h \
                  knotealarmdlg.h knotesalarm.h

noinst_LTLIBRARIES = libknote.la libknoteseditor.la libknoteslegacy.la libknotesconfig.la \
                     libknotesresources.la libknotesnetwork.la libknotesprinting.la

libknoteslegacy_la_SOURCES = knoteslegacy.cpp
libknotesconfig_la_SOURCES = knoteconfig.kcfgc knotesglobalconfig.kcfgc
libknoteseditor_la_SOURCES = knoteedit.cpp
libknotesprinting_la_SOURCES = knoteprinter.cpp
libknotesnetwork_la_SOURCES = knotesnetrecv.cpp knotesnetsend.cpp
libknotesresources_la_SOURCES = resourcemanager.cpp resourcenotes.cpp \
                                resourcelocal.cpp resourcelocalconfig.cpp
libknote_la_SOURCES = knote.cpp knotebutton.cpp knoteconfigdlg.cpp knotehostdlg.cpp \
							 knotealarmdlg.cpp knotesalarm.cpp

knotes_SOURCES  = main.cpp knotesapp.cpp KNotesAppIface.skel
knotes_LDADD    = libknote.la libknoteseditor.la libknotesnetwork.la libknotesresources.la \
                  libknoteslegacy.la libknotesconfig.la libknotesprinting.la $(top_builddir)/libkcal/libkcal.la \
                  $(top_builddir)/libtdepim/libtdepim.la $(LIB_KIO) -lkresources -lkdeprint -lkutils
knotes_LDFLAGS  = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
knotes_COMPILE_FIRST = knoteconfig.h

kde_module_LTLIBRARIES  = knotes_local.la
knotes_local_la_SOURCES = resourcelocal_plugin.cpp
knotes_local_la_LDFLAGS = $(KDE_LDFLAGS) $(all_libraries) -module $(KDE_PLUGIN)
knotes_local_la_LIBADD  = libknotesresources.la libknotesconfig.la libknotesprinting.la \
                          $(top_builddir)/libkcal/libkcal.la -lkdeprint $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) -lkresources

METASOURCES     = AUTO

xdg_apps_DATA   = knotes.desktop
kde_kcfg_DATA   = knoteconfig.kcfg knotesglobalconfig.kcfg

ui_DATA         = knotesappui.rc knotesui.rc
uidir           = $(kde_datadir)/knotes

service_DATA    = local.desktop
servicedir      = $(kde_servicesdir)/kresources/knotes

manager_DATA    = knotes_manager.desktop
managerdir      = $(kde_servicesdir)/kresources

KDE_OPTIONS = nofinal

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

include $(top_srcdir)/admin/Doxyfile.am