summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/lnk/Makefile.am
blob: 4e345c23c68a497c6a26cf96ec3b6a679c3eb0f2 (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
## Makefile.am for lnk file meta info plugin

INCLUDES         = $(all_includes)

bin_PROGRAMS = lnkforward

lnkforward_SOURCES = lnkforward.cpp
lnkforward_LDADD = $(LIB_TDECORE) $(LIB_KIO)
lnkforward_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
lnkforward_METASOURCES = lnkforward.moc

lnkforward_DATA = lnkforward.desktop
lnkforwarddir = $(kde_appsdir)/.hidden

# these are the headers for your project
noinst_HEADERS   = kfile_lnk.h read_lnk.h lnkforward.h

kde_module_LTLIBRARIES = kfile_lnk.la

kfile_lnk_la_SOURCES = kfile_lnk.cpp read_lnk.cpp
kfile_lnk_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kfile_lnk_la_LIBADD = $(LIB_KIO)
kfile_lnk_la_METASOURCES = kfile_lnk.moc

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

kde_services_DATA = kfile_lnk.desktop

mime_DATA = x-win-lnk.desktop
mimedir = $(kde_mimedir)/application

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