2 # Copyright 2008,2009 Free Software Foundation, Inc.
4 # This file is part of GNU Radio
6 # GNU Radio is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
11 # GNU Radio is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with GNU Radio; see the file COPYING. If not, write to
18 # the Free Software Foundation, Inc., 51 Franklin Street,
19 # Boston, MA 02110-1301, USA.
22 include $(top_srcdir)/Makefile.common
24 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) \
25 $(QT_INCLUDES) -I. $(WITH_INCLUDES)
27 # Only include these files in the build if qtgui passes configure checks
28 # This is mostly to help make distcheck pass
30 spectrumdisplayform_moc.cc \
31 FrequencyDisplayPlot_moc.cc \
32 TimeDomainDisplayPlot_moc.cc \
33 WaterfallDisplayPlot_moc.cc \
34 Waterfall3DDisplayPlot_moc.cc \
35 ConstellationDisplayPlot_moc.cc \
36 spectrumdisplayform_ui.h
38 EXTRA_DIST = spectrumdisplayform.ui
40 BUILT_SOURCES = $(QMAKE_SOURCES)
42 # Build the normal library for C++ apps to link against
43 lib_LTLIBRARIES = libgnuradio-qtgui.la
45 # These are the source files that go into the shared library
46 libgnuradio_qtgui_la_SOURCES = \
47 FrequencyDisplayPlot.cc \
48 TimeDomainDisplayPlot.cc \
49 WaterfallDisplayPlot.cc \
50 Waterfall3DDisplayPlot.cc \
51 waterfallGlobalData.cc \
52 ConstellationDisplayPlot.cc \
53 spectrumdisplayform.cc \
55 spectrumUpdateEvents.cc \
61 # These headers get installed in ${prefix}/include/gnuradio
63 FrequencyDisplayPlot.h \
64 TimeDomainDisplayPlot.h \
65 WaterfallDisplayPlot.h \
66 Waterfall3DDisplayPlot.h \
67 waterfallGlobalData.h \
68 ConstellationDisplayPlot.h \
69 highResTimeFunctions.h \
71 spectrumdisplayform.h \
73 spectrumUpdateEvents.h \
79 $(QT_MOC_EXEC) -DQT_SHARED -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -p $(srcdir) $< -o $@
82 $(QT_UIC_EXEC) $< -o $@
85 libgnuradio_qtgui_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0
87 libgnuradio_qtgui_la_LIBADD = \
93 ##############################
94 # SWIG interface and library
99 # Install so that they end up available as:
100 # import gnuradio.qtgui
102 # ${prefix}/lib/python${python_version}/site-packages/gnuradio
103 qtgui_pythondir_category = \
106 # additional libraries for linking with the SWIG-generated library
107 qtgui_la_swig_libadd = \
110 include $(top_srcdir)/Makefile.swig
112 # add some of the variables generated inside the Makefile.swig.gen
114 $(swig_built_sources)
117 # Do not distribute built sources, they may contain generated paths
118 # which are invalid on other systems
119 no_dist_files = $(BUILT_SOURCES)