Removing Waterfall3DPlot. The qwt_plot3d is too much of a hassle to deal with and...
[debian/gnuradio] / gr-qtgui / src / lib / Makefile.am
1 #
2 # Copyright 2008,2009,2010 Free Software Foundation, Inc.
3
4 # This file is part of GNU Radio
5
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)
9 # any later version.
10
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.
15
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.
20
21
22 include $(top_srcdir)/Makefile.common
23
24 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) \
25               $(QT_INCLUDES) -I. $(WITH_INCLUDES)
26
27 # Only include these files in the build if qtgui passes configure checks
28 # This is mostly to help make distcheck pass
29 QMAKE_SOURCES =                                 \
30         spectrumdisplayform_moc.cc              \
31         FrequencyDisplayPlot_moc.cc             \
32         TimeDomainDisplayPlot_moc.cc            \
33         WaterfallDisplayPlot_moc.cc             \
34         ConstellationDisplayPlot_moc.cc         \
35         spectrumdisplayform_ui.h
36
37 EXTRA_DIST = spectrumdisplayform.ui
38
39 BUILT_SOURCES = $(QMAKE_SOURCES)
40
41 # Build the normal library for C++ apps to link against
42 lib_LTLIBRARIES = libgnuradio-qtgui.la
43
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                  \
52         SpectrumGUIClass.cc                     \
53         spectrumUpdateEvents.cc                 \
54         plot_waterfall.cc                       \
55         qtgui_sink_c.cc                         \
56         qtgui_sink_f.cc
57
58 # These headers get installed in ${prefix}/include/gnuradio
59 grinclude_HEADERS =                     \
60         FrequencyDisplayPlot.h          \
61         TimeDomainDisplayPlot.h         \
62         WaterfallDisplayPlot.h          \
63         waterfallGlobalData.h           \
64         ConstellationDisplayPlot.h      \
65         highResTimeFunctions.h          \
66         plot_waterfall.h                \
67         spectrumdisplayform.h           \
68         SpectrumGUIClass.h              \
69         spectrumUpdateEvents.h          \
70         qtgui.h                         \
71         qtgui_sink_c.h                  \
72         qtgui_sink_f.h
73
74 %_moc.cc : %.h
75         $(QT_MOC_EXEC) -DQT_SHARED -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -p $(srcdir) $< -o $@
76
77 %_ui.h : %.ui
78         $(QT_UIC_EXEC) $< -o $@
79
80 # magic flags
81 libgnuradio_qtgui_la_LDFLAGS = $(NO_UNDEFINED) $(LTVERSIONFLAGS)
82
83 libgnuradio_qtgui_la_LIBADD =           \
84         $(GNURADIO_CORE_LA)     \
85         -lstdc++                \
86         $(QT_LIBS)
87
88 if PYTHON
89 ##############################
90 # SWIG interface and library
91
92 TOP_SWIG_IFILES =               \
93         qtgui.i
94
95 # Install so that they end up available as:
96 #   import gnuradio.qtgui
97 # This ends up at:
98 #   ${prefix}/lib/python${python_version}/site-packages/gnuradio
99 qtgui_pythondir_category =      \
100         gnuradio/qtgui
101
102 # additional libraries for linking with the SWIG-generated library
103 qtgui_la_swig_libadd =          \
104         libgnuradio-qtgui.la
105
106 include $(top_srcdir)/Makefile.swig
107
108 # add some of the variables generated inside the Makefile.swig.gen
109 BUILT_SOURCES +=                \
110         $(swig_built_sources)
111 endif
112
113 # Do not distribute built sources, they may contain generated paths
114 # which are invalid on other systems
115 no_dist_files = $(BUILT_SOURCES)