summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/lirc/Makefile.am
blob: 383fe28861393fa81a8d5220755995ab357e7069 (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

libkradio_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)/kradio/"
	$(INSTALL_DATA) "$(srcdir)/default-dot-lircrc" "$(DESTDIR)$(kde_datadir)/kradio/default-dot-lircrc"

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

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

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