File: Makefile.am

package info (click to toggle)
lirc 0.10.2-0.10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,268 kB
  • sloc: ansic: 26,981; cpp: 9,187; sh: 5,875; python: 4,507; makefile: 1,049; xml: 63
file content (31 lines) | stat: -rw-r--r-- 994 bytes parent folder | download | duplicates (4)
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