default: esd is obsolete, hence don't load it anymore by default
[pulseaudio-mirror.git] / orc.mak
blob5a6ff96b63b2f74ad72b3de52e632d07f51eb1e2
2 # This is a Makefile.am fragment to build Orc code. It is based
3 # on the orc.mak file distributed in the GStreamer common
4 # repository.
6 # Include this file like this:
8 # include $(top_srcdir)/orc.mak
10 # For each Orc source file, append its name (without the extension)
11 # to ORC_SOURCE:
13 # ORC_SOURCE += gstadderorc
15 # This will create gstadder-orc-gen.c and gstadder-orc-gen.h, which
16 # you need to add to your nodist_module_SOURCES.
18 # Note that this file appends to BUILT_SOURCES and CLEANFILES, so
19 # define them before including this file.
23 EXTRA_DIST += $(addsuffix .orc,$(ORC_SOURCE))
25 ORC_BUILT_SOURCE = $(addsuffix -orc-gen.c,$(ORC_SOURCE))
26 ORC_BUILT_HEADER = $(addsuffix -orc-gen.h,$(ORC_SOURCE))
28 BUILT_SOURCES += $(ORC_BUILT_SOURCE) $(ORC_BUILT_HEADER)
29 CLEANFILES += $(BUILT_SOURCES)
32 orcc_v_gen = $(orcc_v_gen_$(V))
33 orcc_v_gen_ = $(orcc_v_gen_$(AM_DEFAULT_VERBOSITY))
34 orcc_v_gen_0 = @echo " ORCC $@";
36 cp_v_gen = $(cp_v_gen_$(V))
37 cp_v_gen_ = $(cp_v_gen_$(AM_DEFAULT_VERBOSITY))
38 cp_v_gen_0 = @echo " CP $@";
40 %-orc-gen.c: %.orc
41 @mkdir -p $(@D)
42 $(orcc_v_gen)$(ORCC) --implementation -o $@ $<
44 %-orc-gen.h: %.orc
45 @mkdir -p $(@D)
46 $(orcc_v_gen)$(ORCC) --header -o $@ $<