Hamlib/gnuradio/Makefile.am
Nate Bargmann 332a04b7cd Clean up backend Makefile.am files
Moved all backend *.h files into the SOURCES primary as Automake
documentation states all source file types should be listed.  This
causes Automake to include *.h files in rebuild rules for the targets.

Removed the '-DIN_HAMLIB' assignment from the CFLAGS primary in each
backend and assigned it to AM_CPPFLAGS in configure.ac.  The effect is
the same and it simplifies the backend Makefile.am files.

Removed all commented lines.
2013-09-16 21:51:39 -05:00

20 lines
690 B
Makefile

GNURADIOSRC = mc4020.c graudio.c gnuradio.h gr.c gnuradio.cc am.h demod.h
gr_priv.h HrAGC.h nfm.h ssb.h wfm.h \
AM_CFLAGS = @AM_CFLAGS@ @GNURADIO_CFLAGS@ $(PTHREAD_CFLAGS)
AM_CXXFLAGS = @AM_CXXFLAGS@ @GNURADIO_CFLAGS@ $(PTHREAD_CFLAGS)
noinst_LTLIBRARIES = hamlib-gnuradio.la
hamlib_gnuradio_la_SOURCES = $(GNURADIOSRC)
# requires libgnuradio, libfftw and c++
hamlib_gnuradio_la_LIBADD = $(top_builddir)/src/libhamlib.la @GNURADIO_LIBS@ -lstdc++ $(PTHREAD_LIBS)
check_PROGRAMS = testgr
testgr_SOURCES = testgr.cc
testgr_LDADD = $(top_builddir)/src/libhamlib.la @GNURADIO_LIBS@
testgr_LDFLAGS = @BACKENDLNK@
testgr_DEPENDENCIES = @BACKENDEPS@ $(top_builddir)/src/libhamlib.la