bt2: Makefile: track dependencies of native_bt.c
[babeltrace.git] / src / bindings / python / bt2 / Makefile.am
index 2816279a00cea9665f7724e65848649457fc910f..e97213455918ec2dccb212ee1942f370beebe537 100644 (file)
@@ -7,10 +7,14 @@ INSTALLED_FILES=$(builddir)/installed_files.txt
 
 SWIG_INTERFACE_FILES =                                 \
        bt2/native_bt.i                                 \
+       bt2/native_bt_autodisc.i                        \
+       bt2/native_bt_autodisc.i.h                      \
+       bt2/native_bt_bt2_objects.h                     \
        bt2/native_bt_clock_class.i                     \
        bt2/native_bt_clock_snapshot.i                  \
        bt2/native_bt_component.i                       \
        bt2/native_bt_component_class.i                 \
+       bt2/native_bt_component_class.i.h               \
        bt2/native_bt_connection.i                      \
        bt2/native_bt_error.i                           \
        bt2/native_bt_event.i                           \
@@ -19,20 +23,30 @@ SWIG_INTERFACE_FILES =                                      \
        bt2/native_bt_field_class.i                     \
        bt2/native_bt_field_path.i                      \
        bt2/native_bt_graph.i                           \
+       bt2/native_bt_graph.i.h                         \
        bt2/native_bt_integer_range_set.i               \
        bt2/native_bt_interrupter.i                     \
+       bt2/native_bt_log_and_append_error.h            \
        bt2/native_bt_logging.i                         \
        bt2/native_bt_message.i                         \
        bt2/native_bt_message_iterator.i                \
+       bt2/native_bt_message_iterator.i.h              \
+       bt2/native_bt_mip.i                             \
+       bt2/native_bt_mip.i.h                           \
        bt2/native_bt_packet.i                          \
        bt2/native_bt_plugin.i                          \
+       bt2/native_bt_plugin.i.h                        \
        bt2/native_bt_port.i                            \
        bt2/native_bt_query_exec.i                      \
+       bt2/native_bt_query_exec.i.h                    \
        bt2/native_bt_stream.i                          \
        bt2/native_bt_stream_class.i                    \
        bt2/native_bt_trace.i                           \
+       bt2/native_bt_trace.i.h                         \
        bt2/native_bt_trace_class.i                     \
+       bt2/native_bt_trace_class.i.h                   \
        bt2/native_bt_value.i                           \
+       bt2/native_bt_value.i.h                         \
        bt2/native_bt_version.i
 
 # Non-generated files built into the native library.
@@ -41,9 +55,11 @@ STATIC_NATIVE_LIB_SRCS =                             \
        bt2/logging.h
 
 STATIC_BINDINGS_DEPS =                                 \
+       bt2/__init__.py                                 \
        bt2/clock_class.py                              \
        bt2/clock_snapshot.py                           \
        bt2/component.py                                \
+       bt2/component_descriptor.py                     \
        bt2/connection.py                               \
        bt2/error.py                                    \
        bt2/event.py                                    \
@@ -57,6 +73,7 @@ STATIC_BINDINGS_DEPS =                                        \
        bt2/logging.py                                  \
        bt2/message.py                                  \
        bt2/message_iterator.py                         \
+       bt2/mip.py                                      \
        bt2/object.py                                   \
        bt2/packet.py                                   \
        bt2/plugin.py                                   \
@@ -74,13 +91,14 @@ STATIC_BINDINGS_DEPS =                                      \
 # Convenience static libraries on which the Python bindings library depends.
 # These are listed in the setup.py(.in) file.
 STATIC_LIBRARIES_DEPS = \
+       $(top_builddir)/src/autodisc/libbabeltrace2-autodisc.la \
        $(top_builddir)/src/logging/libbabeltrace2-logging.la \
        $(top_builddir)/src/common/libbabeltrace2-common.la \
        $(top_builddir)/src/py-common/libbabeltrace2-py-common.la
 
 GENERATED_BINDINGS_DEPS =      \
-       bt2/__init__.py         \
        bt2/native_bt.c         \
+       bt2/version.py          \
        setup.py
 
 BUILD_FLAGS=CC="$(CC)" \
@@ -108,7 +126,9 @@ swig_verbose_ = $(swig_verbose_@AM_DEFAULT_V@)
 swig_verbose_0 = @echo "  SWIG     " $@;
 
 $(builddir)/bt2/native_bt.c: $(SWIG_INTERFACE_FILES)
-       $(swig_verbose)$(SWIG) -python -I"$(top_srcdir)/include" -o "$@" "$<"
+       $(swig_verbose)$(SWIG) -MD -python -I"$(top_srcdir)/include" -o "$@" "$<"
+
+-include bt2/native_bt.d
 
 install-exec-local: build-python-bindings.stamp
        @opts="--prefix=$(prefix) --record $(INSTALLED_FILES) --verbose --no-compile $(DISTSETUPOPTS)"; \
This page took 0.025961 seconds and 4 git commands to generate.