2 # USRP - Universal Software Radio Peripheral
4 # Copyright (C) 2003,2004,2006,2007,2008 Free Software Foundation, Inc.
6 # This program 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 of the License, or
9 # (at your option) any later version.
11 # This program 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.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin Street, Boston, MA 02110-1301 USA
21 include $(top_srcdir)/Makefile.common
23 common_INCLUDES = $(USRP_INCLUDES)
25 lib_LTLIBRARIES = libusrp.la
27 libusrp_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0
29 libusrp_la_common_LIBADD = \
33 # darwin fusb requires omnithreads
35 INCLUDES = $(common_INCLUDES) $(OMNITHREAD_INCLUDES) $(WITH_INCLUDES)
36 libusrp_la_LIBADD = $(libusrp_la_common_LIBADD) $(OMNITHREAD_LA)
38 INCLUDES = $(common_INCLUDES) $(WITH_INCLUDES)
39 libusrp_la_LIBADD = $(libusrp_la_common_LIBADD)
52 # ----------------------------------------------------------------
53 # FUSB_TECH is set at configure time by way of
54 # usrp/config/usrp_fusb_tech.m4.
55 # It indicates which fast usb strategy we should be building.
56 # We currently implement "generic", "darwin", "win32" and "linux"
61 fusb_sysconfig_generic.cc
65 fusb_sysconfig_darwin.cc \
68 circular_linked_list.h \
74 fusb_sysconfig_win32.cc
78 fusb_sysconfig_linux.cc
82 fusb_sysconfig_ra_wb.cc
86 # include each <foo>_CODE entry here...
88 EXTRA_libusrp_la_SOURCES = \
96 # work around automake deficiency
97 libusrp_la_common_SOURCES = \
103 usrp_local_sighandler.cc \
109 libusrp_la_SOURCES = $(libusrp_la_common_SOURCES) $(generic_CODE)
113 libusrp_la_SOURCES = $(libusrp_la_common_SOURCES) $(darwin_CODE)
117 libusrp_la_SOURCES = $(libusrp_la_common_SOURCES) $(win32_CODE)
121 libusrp_la_SOURCES = $(libusrp_la_common_SOURCES) $(linux_CODE)
125 libusrp_la_SOURCES = $(libusrp_la_common_SOURCES) $(ra_wb_CODE)
147 usrp_local_sighandler.h
149 usrppython_PYTHON = \
157 usrp_dbid.py usrp_dbid.h usrp_dbid.cc: gen_usrp_dbid.py usrp_dbid.dat
158 PYTHONPATH=$(top_srcdir)/usrp/src srcdir=$(srcdir) $(PYTHON) $(srcdir)/gen_usrp_dbid.py $(srcdir)/usrp_dbid.dat
161 $(BUILT_SOURCES) *~ *.pyc