alsa-utils/topology/Makefile.am
Ranjani Sridharan 4d413567b0 topology: pre-process-object: Add support for pre-processing Objects
Add support for pre-processing object instances in the input
config. An object's attributes can be set in multiple places
such as, within the object instance, default values in the class
defnition, inherited from a parent object or explicitly set
in a parent object. Before converting the object config into
the relevant section in the existing syntax, all the attribute
values must be consolidated into one place so that it is easy
to verify if all mandatory attributes are set.
Also, the name of the object will be constructed from the
attributes defined in the attributes.constructor[] config
in the class definition and the unique attribute's value
must be set from the value passed in the object instance.

This patch create a temporary config for each object instance
and populates its unique attribute value. The rest of the steps
will be added in the following patches.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-05-25 18:26:51 +02:00

22 lines
381 B
Makefile

bin_PROGRAMS = \
alsatplg
if USE_RST2MAN
man_MANS = alsatplg.1
endif
%.1: %.rst
rst2man $< > $@
alsatplg_SOURCES = topology.c pre-processor.c pre-process-class.c pre-process-object.c
noinst_HEADERS = topology.h pre-processor.h
AM_CPPFLAGS = \
-Wall -I$(top_srcdir)/include
alsatplg_LDADD = $(ALSA_TOPOLOGY_LIBS)
EXTRA_DIST = alsatplg.rst
CLEANFILES = alsatplg.1