summaryrefslogtreecommitdiff
path: root/gr-fcd/lib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gr-fcd/lib/Makefile.am')
-rw-r--r--gr-fcd/lib/Makefile.am37
1 files changed, 11 insertions, 26 deletions
diff --git a/gr-fcd/lib/Makefile.am b/gr-fcd/lib/Makefile.am
index 23da5ba49..89f3446f8 100644
--- a/gr-fcd/lib/Makefile.am
+++ b/gr-fcd/lib/Makefile.am
@@ -1,5 +1,5 @@
#
-# Copyright 2004,2005,2006,2008,2009,2010,2012 Free Software Foundation, Inc.
+# Copyright 2012 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -21,39 +21,24 @@
include $(top_srcdir)/Makefile.common
+SUBDIRS = hid fcd
+
AM_CPPFLAGS = \
$(STD_DEFINES_AND_INCLUDES) \
$(WITH_INCLUDES) \
- $(USB_CPPFLAGS) \
- -I$(top_srcdir)/gr-audio/include
-
-lib_LTLIBRARIES = \
- libgnuradio-fcd.la
+ -I$(top_srcdir)/gr-audio/include \
+ -I$(top_srcdir)/gr-fcd/lib/fcd
-libgnuradio_fcd_la_SOURCES = \
- fcd_source_c.cc \
- fcd.c
+lib_LTLIBRARIES = libgnuradio-fcd.la
-if FCD_MACOSX
- libgnuradio_fcd_la_SOURCES += hidmac.c
-else if FCD_WINDOWS
- libgnuradio_fcd_la_SOURCES += hidwin.c
-else
- libgnuradio_fcd_la_SOURCES += hid-libusb.c
-endif
-
-noinst_HEADERS = \
- fcd.h \
- fcdhidcmd.h \
- hidapi.h
+libgnuradio_fcd_la_SOURCES = fcd_source_c.cc
libgnuradio_fcd_la_LIBADD = \
$(GNURADIO_CORE_LA) \
- $(top_builddir)/gr-audio/lib/libgnuradio-audio.la \
- $(GNURADIO_AUDIO_LA) \
- $(USB_LIBS)
+ $(top_builddir)/gr-fcd/lib/fcd/libfcd.la \
+ $(top_builddir)/gr-audio/lib/libgnuradio-audio.la
+
libgnuradio_fcd_la_LDFLAGS = $(NO_UNDEFINED) $(LTVERSIONFLAGS)
-grinclude_HEADERS = \
- fcd_source_c.h
+grinclude_HEADERS = fcd_source_c.h