added DWT and USRP models

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2049 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.5
Stéphane Fillod, F8CFE 2005-11-01 23:14:41 +00:00
rodzic acf60d55a9
commit 312bc6b191
3 zmienionych plików z 26 dodań i 6 usunięć

Wyświetl plik

@ -1,10 +1,17 @@
KITSRCLIST = elektor304.c drt1.c
AM_CFLAGS = @LIBUSB_CFLAGS@
AM_CXXFLAGS = @USRP_CFLAGS@
# FIXME: compile usrp only if CXX available
KITSRCLIST = elektor304.c drt1.c dwt.c usrp.c usrp_impl.cc
lib_LTLIBRARIES = hamlib-kit.la
hamlib_kit_la_SOURCES = $(KITSRCLIST) kit.c
hamlib_kit_la_LDFLAGS = -no-undefined -module -avoid-version
hamlib_kit_la_LIBADD = $(top_builddir)/lib/libmisc.la \
$(USRP_LIBS) \
$(LIBUSB_LIBS) \
@MATH_LIBS@ \
$(top_builddir)/src/libhamlib.la
noinst_HEADERS = kit.h
noinst_HEADERS = kit.h usrp_impl.h

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib KIT backend - main file
* Copyright (c) 2004 by Stephane Fillod
* Copyright (c) 2004-2005 by Stephane Fillod
*
* $Id: kit.c,v 1.2 2004-08-19 21:02:47 fillods Exp $
* $Id: kit.c,v 1.3 2005-11-01 23:14:41 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -32,6 +32,7 @@
#include "register.h"
#include "kit.h"
#include "usrp_impl.h"
/*
* initrigs_kit is called by rig_backend_load
@ -43,6 +44,15 @@ DECLARE_INITRIG_BACKEND(kit)
rig_register(&elektor304_caps);
rig_register(&drt1_caps);
#if defined(HAVE_LIBUSB) || defined(_WIN32)
rig_register(&dwt_caps);
#endif
#ifdef HAVE_USRP
//rig_register(&usrp0_caps);
rig_register(&usrp_caps);
#endif
return RIG_OK;
}

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib KIT backend - main header
* Copyright (c) 2004 by Stephane Fillod
* Copyright (c) 2004-2005 by Stephane Fillod
*
* $Id: kit.h,v 1.2 2004-08-19 21:02:47 fillods Exp $
* $Id: kit.h,v 1.3 2005-11-01 23:14:41 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -27,5 +27,8 @@
extern const struct rig_caps elektor304_caps;
extern const struct rig_caps drt1_caps;
extern const struct rig_caps dwt_caps;
extern const struct rig_caps usrp0_caps;
extern const struct rig_caps usrp_caps;
#endif /* _KIT_H */