summaryrefslogtreecommitdiffstats
path: root/tderadio3/plugins/lirc/Makefile.am
blob: 1ede5f50eb706e8526bc3a3d55f85ea66f22fe2a (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

SUBDIRS = po .

INCLUDES = $(all_includes)
METASOURCES = AUTO

libtderadio_LTLIBRARIES = liblirc.la
liblirc_la_SOURCES = lircsupport.cpp lirc-configuration-ui.ui \
	lirc-configuration.cpp listviewitem_lirc.cpp
liblirc_la_LDFLAGS = -module -avoid-version $(KDE_RPATH) $(all_libraries)
liblirc_la_LIBADD = $(LIB_LIRC)

noinst_HEADERS = lircsupport.h lirc-configuration.h listviewitem_lirc.h


install-data-local:
	$(mkinstalldirs) "$(DESTDIR)$(kde_datadir)/tderadio/"
	$(INSTALL_DATA) "$(srcdir)/default-dot-lircrc" "$(DESTDIR)$(kde_datadir)/tderadio/default-dot-lircrc"

uninstall-local:
	-rm -f "$(DESTDIR)$(kde_datadir)/tderadio/default-dot-lircrc"

#messages: rc.cpp
#	$(XGETTEXT) *.cpp *.h -o po/tderadio-lirc.pot

messages: rc.cpp
	$(EXTRACTRC) *.rc *.ui >> rc.cpp
	$(XGETTEXT) rc.cpp *.h *.cpp -o po/tderadio-lirc.pot