Imported Upstream version 3.2.2
[debian/gnuradio] / gcell / lib / runtime / Makefile.am
1 #
2 # Copyright 2007,2008 Free Software Foundation, Inc.
3
4 # This file is part of GNU Radio
5
6 # GNU Radio is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
10
11 # GNU Radio is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License along
17 # with this program; if not, write to the Free Software Foundation, Inc.,
18 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #
20
21 include $(top_srcdir)/Makefile.common
22
23 IBM_PPU_SYNC_INCLUDES = -I$(top_srcdir)/gcell/ibm/sync/ppu_source
24
25
26 AM_CPPFLAGS = $(DEFINES) $(OMNITHREAD_INCLUDES) $(MBLOCK_INCLUDES) $(CPPUNIT_INCLUDES) \
27         $(GCELL_INCLUDES) $(IBM_PPU_SYNC_INCLUDES) $(WITH_INCLUDES)
28
29
30 dist_bin_SCRIPTS = gcell-embedspu-libtool
31
32 noinst_LTLIBRARIES = libruntime.la libruntime-qa.la
33
34 libruntime_la_SOURCES = \
35         gc_aligned_alloc.cc \
36         gc_job_manager.cc \
37         gc_job_manager_impl.cc \
38         gc_jd_queue.c \
39         gc_jd_stack.c \
40         gc_proc_def_utils.cc
41
42 libruntime_qa_la_SOURCES = \
43         qa_gcell_runtime.cc \
44         qa_jd_queue.cc \
45         qa_jd_stack.cc \
46         qa_job_manager.cc
47
48
49 noinst_HEADERS = \
50         gc_client_thread_info.h \
51         gc_job_manager_impl.h \
52         gc_proc_def_utils.h \
53         qa_jd_queue.h \
54         qa_jd_stack.h \
55         qa_job_manager.h \
56         qa_gcell_runtime.h
57
58 # generate a libtool.lo that contains an embeded SPU executable
59 gcell_runtime_qa.lo: ../spu/gcell_runtime_qa
60         $(GCELL_EMBEDSPU_LIBTOOL) $< $@
61
62 libruntime_qa_la_LIBADD = \
63         gcell_runtime_qa.lo \
64         libruntime.la
65
66 CLEANFILES = gcell_runtime_qa.lo