+libgnuradio_qtgui_la_LIBADD = \
+ $(GNURADIO_CORE_LA) \
+ -lstdc++ \
+ $(QT_LIBS)
+
+if PYTHON
+##############################
+# SWIG interface and library
+
+TOP_SWIG_IFILES = \
+ qtgui.i
+
+# Install so that they end up available as:
+# import gnuradio.qtgui
+# This ends up at:
+# ${prefix}/lib/python${python_version}/site-packages/gnuradio
+qtgui_pythondir_category = \
+ gnuradio/qtgui
+
+# additional libraries for linking with the SWIG-generated library
+qtgui_la_swig_libadd = \
+ libgnuradio-qtgui.la
+
+include $(top_srcdir)/Makefile.swig
+
+# add some of the variables generated inside the Makefile.swig.gen
+BUILT_SOURCES += \
+ $(swig_built_sources)
+endif
+
+# Do not distribute built sources, they may contain generated paths
+# which are invalid on other systems
+no_dist_files = $(BUILT_SOURCES)