summaryrefslogtreecommitdiff
path: root/omnithread
diff options
context:
space:
mode:
authorjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2007-09-02 21:20:24 +0000
committerjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2007-09-02 21:20:24 +0000
commit8af32097a1ebd90ca344e0e96616fd3be7a00af6 (patch)
treec7cd1559dd2819550bd204bed99609c98e1a757e /omnithread
parent415910cb8d48e33edf3289e2ba7b4a7b7f352cdd (diff)
Merged r6224:6268 from features/deb into trunk. Implements most of a Debian package generation system. EXPERIMENTAL.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6269 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'omnithread')
-rw-r--r--omnithread/Makefile.am4
-rw-r--r--omnithread/gnuradio-omnithread.pc.in11
2 files changed, 15 insertions, 0 deletions
diff --git a/omnithread/Makefile.am b/omnithread/Makefile.am
index a9434bd6ab..526cae0e9f 100644
--- a/omnithread/Makefile.am
+++ b/omnithread/Makefile.am
@@ -49,9 +49,13 @@ libgromnithread_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
libgromnithread_la_LIBADD = \
$(PTHREAD_LIBS)
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gnuradio-omnithread.pc
+
# ... but this code also came with the package
EXTRA_DIST = \
+ gnuradio-omnithread.pc.in \
mach.cc \
nt.cc \
posix.cc \
diff --git a/omnithread/gnuradio-omnithread.pc.in b/omnithread/gnuradio-omnithread.pc.in
new file mode 100644
index 0000000000..8ca68ef9df
--- /dev/null
+++ b/omnithread/gnuradio-omnithread.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/gnuradio
+
+Name: gnuradio-omnithread
+Description: The GNU Radio omniORB threading library
+Requires:
+Version: @VERSION@
+Libs: -L${libdir}
+Cflags: -I${includedir} @DEFINES@ @PTHREAD_CFLAGS@