diff --git a/Makefile.am b/Makefile.am index ff4936be3..eea2cce06 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,5 +16,5 @@ SUBDIRS = macros include lib libltdl src @BACKEND_LIST@ @ROT_BACKEND_LIST@ \ # tcl and perl subdir are no more distributed DIST_SUBDIRS = macros include lib libltdl src c++ kylix bindings tests doc \ icom kenwood aor yaesu dummy pcr alinco uniden tentec kachina jrc \ - rpcrig winradio easycomm fodtrack rpcrot gnuradio drake + rpcrig winradio easycomm fodtrack rpcrot gnuradio drake rotorez diff --git a/configure.ac b/configure.ac index dc96d5535..77a7ef151 100644 --- a/configure.ac +++ b/configure.ac @@ -178,7 +178,7 @@ AC_SUBST(RIGMATRIX) BACKEND_LIST="icom kenwood aor yaesu dummy pcr alinco uniden tentec kachina jrc drake" -ROT_BACKEND_LIST="dummy easycomm" +ROT_BACKEND_LIST="dummy easycomm rotorez" BINDING_LIST="" dnl Check if cxx-binding not wanted, default is to build it @@ -383,6 +383,7 @@ kylix/Makefile bindings/Makefile tests/Makefile doc/Makefile +rotorez/Makefile hamlib.pc hamlib.spec] ) diff --git a/include/hamlib/rotlist.h b/include/hamlib/rotlist.h index 3c8159081..7b116ec26 100644 --- a/include/hamlib/rotlist.h +++ b/include/hamlib/rotlist.h @@ -2,7 +2,7 @@ * Hamlib Interface - list of known rotators * Copyright (c) 2000-2002 by Stephane Fillod and Frank Singleton * - * $Id: rotlist.h,v 1.6 2002-11-28 22:24:10 fillods Exp $ + * $Id: rotlist.h,v 1.7 2003-01-11 00:48:43 n0nb 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 @@ -102,6 +102,29 @@ #define ROT_BACKEND_FODTRACK "fodtrack" #define ROT_MODEL_FODTRACK ROT_MAKE_MODEL(ROT_FODTRACK, 1) +/*! \def ROT_MODEL_ROTOREZ + * \brief A macro that returns the model number of the Rotor-EZ backend. + * + * The Rotor-EZ backend can be used with Hy-Gain rotators that support + * the extended DCU command set by Idiom Press Rotor-EZ board. + */ +/*! \def ROT_MODEL_ROTORCARD + * \brief A macro that returns the model number of the Rotor Card backend. + * + * The Rotor-EZ backend can be used with Yaesu rotators that support the + * extended DCU command set by Idiom Press Rotor Card board. + */ +/*! \def ROT_MODEL_DCU + * \brief A macro that returns the model number of the DCU backend. + * + * The Rotor-EZ backend can be used with rotators that support the + * DCU command set by Hy-Gain (currently the DCU-1). + */ +#define ROT_ROTOREZ 4 +#define ROT_BACKEND_ROTOREZ "rotorez" +#define ROT_MODEL_ROTOREZ ROT_MAKE_MODEL(ROT_ROTOREZ, 1) +#define ROT_MODEL_ROTORCARD ROT_MAKE_MODEL(ROT_ROTOREZ, 2) +#define ROT_MODEL_DCU ROT_MAKE_MODEL(ROT_ROTOREZ, 3) /*! \typedef typedef int rot_model_t \brief Convenience type definition for rotator model. @@ -120,7 +143,8 @@ typedef int rot_model_t; { ROT_DUMMY, ROT_BACKEND_DUMMY }, \ { ROT_RPC, ROT_BACKEND_RPC }, \ { ROT_EASYCOMM, ROT_BACKEND_EASYCOMM }, \ - { ROT_FODTRACK, ROT_BACKEND_FODTRACK }, \ + { ROT_FODTRACK, ROT_BACKEND_FODTRACK }, \ + { ROT_ROTOREZ, ROT_BACKEND_ROTOREZ }, \ { 0, NULL }, /* end */ \ }