diff options
-rw-r--r-- | config/grc_gr_uhd.m4 | 1 | ||||
-rw-r--r-- | gr-uhd/Makefile.am | 2 | ||||
-rw-r--r-- | gr-uhd/gnuradio-uhd.pc.in | 11 |
3 files changed, 14 insertions, 0 deletions
diff --git a/config/grc_gr_uhd.m4 b/config/grc_gr_uhd.m4 index 3cc9691e5..2d571d970 100644 --- a/config/grc_gr_uhd.m4 +++ b/config/grc_gr_uhd.m4 @@ -40,6 +40,7 @@ AC_DEFUN([GRC_GR_UHD],[ AM_CONDITIONAL([GR_DEFINE_HAVE_UHD],[test $passed = yes]) AC_CONFIG_FILES([ \ + gr-uhd/gnuradio-uhd.pc \ gr-uhd/Makefile \ gr-uhd/grc/Makefile \ gr-uhd/include/Makefile \ diff --git a/gr-uhd/Makefile.am b/gr-uhd/Makefile.am index 2e2d0fbe9..f9473bea3 100644 --- a/gr-uhd/Makefile.am +++ b/gr-uhd/Makefile.am @@ -27,3 +27,5 @@ if PYTHON SUBDIRS += swig grc endif +pkgconfigdir = $(libdir)/pkgconfig +dist_pkgconfig_DATA = gnuradio-uhd.pc diff --git a/gr-uhd/gnuradio-uhd.pc.in b/gr-uhd/gnuradio-uhd.pc.in new file mode 100644 index 000000000..383ad6011 --- /dev/null +++ b/gr-uhd/gnuradio-uhd.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: gnuradio-qtgui +Description: GNU Radio blocks for UHD +Requires: gnuradio-core +Version: @LIBVER@ +Libs: -L${libdir} -lgnuradio-uhd +Cflags: -I${includedir} |