2 # Copyright 2008,2009,2010 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 ConstellationDisplayPlot.moc.cc \
35 spectrumdisplayform.ui.h
37 EXTRA_DIST = spectrumdisplayform.ui
39 BUILT_SOURCES = $(QMAKE_SOURCES)
41 # Build the normal library for C++ apps to link against
42 lib_LTLIBRARIES = libgnuradio-qtgui.la
44 # These are the source files that go into the shared library
45 libgnuradio_qtgui_la_SOURCES = \
46 FrequencyDisplayPlot.cc \
47 TimeDomainDisplayPlot.cc \
48 WaterfallDisplayPlot.cc \
49 waterfallGlobalData.cc \
50 ConstellationDisplayPlot.cc \
51 spectrumdisplayform.cc \
53 spectrumUpdateEvents.cc \
58 nodist_libgnuradio_qtgui_la_SOURCES=$(BUILT_SOURCES)
60 # These headers get installed in ${prefix}/include/gnuradio
62 FrequencyDisplayPlot.h \
63 TimeDomainDisplayPlot.h \
64 WaterfallDisplayPlot.h \
65 waterfallGlobalData.h \
66 ConstellationDisplayPlot.h \
67 highResTimeFunctions.h \
69 spectrumdisplayform.h \
71 spectrumUpdateEvents.h \
78 QT_MOC_FLAGS=-DQT_SHARED -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB
80 $(QT_MOC_EXEC) $(QT_MOC_FLAGS) -p $(srcdir) $< -o $@
83 $(QT_UIC_EXEC) $< -o $@
86 libgnuradio_qtgui_la_LDFLAGS = $(NO_UNDEFINED) $(LTVERSIONFLAGS)
88 libgnuradio_qtgui_la_LIBADD = \
94 ##############################
95 # SWIG interface and library
100 # Install so that they end up available as:
101 # import gnuradio.qtgui
103 # ${prefix}/lib/python${python_version}/site-packages/gnuradio
104 qtgui_pythondir_category = \
107 # additional libraries for linking with the SWIG-generated library
108 qtgui_la_swig_libadd = \
111 include $(top_srcdir)/Makefile.swig
113 # add some of the variables generated inside the Makefile.swig.gen
115 $(swig_built_sources)
118 # Do not distribute built sources, they may contain generated paths
119 # which are invalid on other systems
120 no_dist_files = $(BUILT_SOURCES)