2 # USRP - Universal Software Radio Peripheral
4 # Copyright (C) 2003,2004,2006 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 2 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 INCLUDES = -I$(top_srcdir)/usrp/firmware/include
22 lib_LTLIBRARIES = libusrp.la
36 # ----------------------------------------------------------------
37 # FUSB_TECH is set at configure time by way of
38 # usrp/config/usrp_fusb_tech.m4.
39 # It indicates which fast usb strategy we should be building.
40 # We currently implement "generic", "darwin", "win32" and "linux"
45 fusb_sysconfig_generic.cc
49 fusb_sysconfig_darwin.cc \
52 circular_linked_list.h \
58 fusb_sysconfig_win32.cc
62 fusb_sysconfig_linux.cc
66 # include each <foo>_CODE entry here...
68 EXTRA_libusrp_la_SOURCES = \
75 # work around automake deficiency
76 libusrp_la_common_SOURCES = \
82 usrp_local_sighandler.cc \
88 libusrp_la_SOURCES = $(libusrp_la_common_SOURCES) $(generic_CODE)
92 libusrp_la_SOURCES = $(libusrp_la_common_SOURCES) $(darwin_CODE)
96 libusrp_la_SOURCES = $(libusrp_la_common_SOURCES) $(win32_CODE)
100 libusrp_la_SOURCES = $(libusrp_la_common_SOURCES) $(linux_CODE)
104 libusrp_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0
105 libusrp_la_LIBADD = $(USB_LIBS) ../misc/libmisc.la
125 usrp_local_sighandler.h
133 usrp_dbid.py usrp_dbid.h usrp_dbid.cc: gen_usrp_dbid.py usrp_dbid.dat
134 PYTHONPATH=$(top_srcdir)/usrp/src srcdir=$(srcdir) $(srcdir)/gen_usrp_dbid.py $(srcdir)/usrp_dbid.dat
137 $(BUILT_SOURCES) *~ *.pyc