summaryrefslogtreecommitdiff
path: root/docs/howto-write-a-block/src_lib_Makefile_1.am
diff options
context:
space:
mode:
authorJohnathan Corgan2009-11-13 11:28:58 -0800
committerJohnathan Corgan2009-11-13 11:28:58 -0800
commitbaac64c9f1ff5fd5eaf9c24159d56567fd4c6fca (patch)
tree33ed69583ffd3b1b0ec630d3383ca0935719857f /docs/howto-write-a-block/src_lib_Makefile_1.am
parent5787a2c4f9dbaca94f7b2e7d43f677a64209e5f7 (diff)
parentdf8b099a4b96ad41369a750d48a8576b95ecf454 (diff)
downloadgnuradio-baac64c9f1ff5fd5eaf9c24159d56567fd4c6fca.tar.gz
gnuradio-baac64c9f1ff5fd5eaf9c24159d56567fd4c6fca.tar.bz2
gnuradio-baac64c9f1ff5fd5eaf9c24159d56567fd4c6fca.zip
Merge branch 'wip/howto' of git@gnuradio.org:jcorgan
* 'wip/howto' of git@gnuradio.org:jcorgan: howto: cleanup for merge howto: add README.hacking howto: added howto application howto: add GRC wrappers to squaring blocks howto: move limbo'd docs into toplevel doc dir for preservation howto: create howto_swig.*, use constructed Python namespace howto: adds C++ QA code
Diffstat (limited to 'docs/howto-write-a-block/src_lib_Makefile_1.am')
-rw-r--r--docs/howto-write-a-block/src_lib_Makefile_1.am25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/howto-write-a-block/src_lib_Makefile_1.am b/docs/howto-write-a-block/src_lib_Makefile_1.am
new file mode 100644
index 000000000..e97d70d1c
--- /dev/null
+++ b/docs/howto-write-a-block/src_lib_Makefile_1.am
@@ -0,0 +1,25 @@
+include $(top_srcdir)/Makefile.common
+
+# Install this stuff so that it ends up as the gnuradio.howto module
+# This usually ends up at:
+# ${prefix}/lib/python${python_version}/site-packages/gnuradio
+
+ourpythondir = $(grpythondir)
+ourlibdir = $(grpyexecdir)
+
+INCLUDES = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) $(WITH_INCLUDES)
+
+ourlib_LTLIBRARIES = _howto.la
+
+# These are the source files that go into the shared library
+_howto_la_SOURCES = \
+ howto_square_ff.cc
+
+# magic flags
+_howto_la_LDFLAGS = -module -avoid-version
+
+# These headers get installed in ${prefix}/include/gnuradio
+grinclude_HEADERS = \
+ howto_square_ff.h
+
+MOSTLYCLEANFILES = $(BUILT_SOURCES) *.pyc