File: Makefile.am

package info (click to toggle)
lirc 0.10.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 8,364 kB
  • sloc: ansic: 26,717; cpp: 9,066; sh: 5,521; python: 4,362; makefile: 1,034; xml: 63
file content (31 lines) | stat: -rw-r--r-- 994 bytes parent folder | download | duplicates (2)
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
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS         = -I m4

menuconfigs             = $(srcdir)/*.conf

configsdir              = $(pkgdatadir)/configs
dist_configs_DATA       = $(menuconfigs) \
                          kernel-drivers.yaml\
                          remotes.list
if !IS_CROSS_COMPILE
nodist_configs_DATA     = drivers.yaml confs_by_driver.yaml
endif

CLEANFILES              = drivers.yaml confs_by_driver.yaml
DISTCLEANFILES          = remotes.list


drivers.yaml: ../tools/lirc-lsplugins $(menuconfigs)
	-../tools/lirc-lsplugins  -U ../plugins/.libs --yaml > drivers.yaml

confs_by_driver.yaml: $(srcdir)/remotes.list $(top_srcdir)/tools/irdb-get
	-XDG_CACHE_HOME=$(srcdir) \
	    $(top_srcdir)/tools/irdb-get yaml-config > confs_by_driver.yaml

$(srcdir)/remotes.list:
	test -w $(srcdir) && \
	    XDG_CACHE_HOME=$(srcdir) $(top_srcdir)/tools/irdb-get update

../tools/lirc-lsplugins:
	cd ../lib; $(MAKE)
	cd ../tools; $(MAKE) lirc-lsplugins