summaryrefslogtreecommitdiffstats
path: root/src/knemod/Makefile.am
blob: a9496bc67cd0029aa98f413d418ec45a3e2140e5 (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
## Makefile.am for knemo

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

# this has all of the subdirectories that make will recurse into.  if
# there are none, comment this out
SUBDIRS = pics backends

# this is the program that gets installed.  it's name is used for all
# of the other Makefile.am variables
kde_module_LTLIBRARIES = kded_knemod.la

# set the include path for X, qt and KDE
INCLUDES = -I$(srcdir)/../common -I$(srcdir)/backends $(all_includes)

# the library search path. 
kded_knemod_la_LDFLAGS = -module -avoid-version $(all_libraries)

# the libraries to link against.
kded_knemod_la_LIBADD = $(LIB_KIO) $(LIB_KUTILS) backends/libknemo_backends.la

# which sources should be compiled for knemo
kded_knemod_la_SOURCES = knemodaemon.cpp knemodaemon.skel interface.cpp \
                         interfaceicon.cpp interfacetray.cpp \
                         interfacemonitor.cpp \
                         interfacestatusdlg.ui interfacestatusdialog.cpp \
                         interfacetooltip.cpp signalplotter.cpp \
			 interfacestatistics.cpp interfacestatisticsdlg.ui \
                         interfacestatisticsdialog.cpp

# these are the headers for your project
noinst_HEADERS   = knemodaemon.h interface.h interfaceicon.h \
                   interfacemonitor.h \
                   interfacestatusdialog.h interfacetray.h \
                   interfacetooltip.h signalplotter.h \
		   interfacestatistics.h global.h \
                   interfacestatisticsdialog.h

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

services_DATA = knemod.desktop
servicesdir = $(kde_servicesdir)/kded

mydata_DATA = eventsrc
mydatadir = $(kde_datadir)/knemo