Hamlib/gnuradio/Makefile.am

22 wiersze
609 B
Makefile

AM_CPPFLAGS = @GNURADIO_CFLAGS@ -D_REENTRANT
lib_LTLIBRARIES = hamlib-gnuradio.la
hamlib_gnuradio_la_SOURCES = mc4020.c graudio.c gr.c gnuradio.cc
hamlib_gnuradio_la_LDFLAGS = -no-undefined -module -avoid-version
# requires libgnuradio, libfftw and c++
hamlib_gnuradio_la_LIBADD = $(top_builddir)/src/libhamlib.la @GNURADIO_LIBS@ -lstdc++ -lpthread
noinst_HEADERS = gnuradio.h gr_priv.h
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