generic-types.xml \
misc.xml \
Logger.xml \
- Connection_Interface_Renaming.xml \
Channel_Interface_Credentials_Storage.xml \
- Channel_Type_Server_TLS_Connection.xml \
- Chat_Manager.xml \
$(NULL)
noinst_LTLIBRARIES = libemp-extensions.la
# Generated files which can be generated for all categories simultaneously
_gen/all.xml: all.xml $(wildcard *.xml) $(tools_dir)/xincludator.py
- @$(mkdir_p) _gen
+ @$(MKDIR_P) _gen
$(AM_V_GEN)$(PYTHON) $(tools_dir)/xincludator.py $< > $@
extensions.html: _gen/all.xml $(tools_dir)/doc-generator.xsl
# although you can subdivide further if you want.
_gen/misc.xml: misc.xml $(wildcard *.xml) $(tools_dir)/xincludator.py
- @$(mkdir_p) _gen
+ @$(MKDIR_P) _gen
$(AM_V_GEN)$(PYTHON) $(tools_dir)/xincludator.py $< > $@
-_gen/cli-misc-body.h _gen/cli-misc.h: _gen/misc.xml \
+_gen/cli-misc-body.h: _gen/cli-misc.h
+
+_gen/cli-misc.h: _gen/misc.xml \
$(tools_dir)/glib-client-gen.py
$(AM_V_GEN)$(PYTHON) $(tools_dir)/glib-client-gen.py \
--group=misc \
--tp-proxy-api=0.10.0 \
$< Emp_Cli _gen/cli-misc
-_gen/svc-misc.c _gen/svc-misc.h: _gen/misc.xml \
+# There is no need to execute glib-ginterface-gen.py twice because it
+# generates both the .c and .h files in one shot. Therefore, merely
+# having one of them (say the .c) depend on the other (say the .h) is
+# enough.
+#
+# Moreover, running it twice breaks parallel builds because one
+# glib-ginterface-gen.py process steps on the other.
+
+_gen/svc-misc.c: _gen/svc-misc.h
+
+_gen/svc-misc.h: _gen/misc.xml \
$(tools_dir)/glib-ginterface-gen.py
$(AM_V_GEN)$(PYTHON) $(tools_dir)/glib-ginterface-gen.py \
--filename=_gen/svc-misc \