Thread: [Hamlib-developer] common reorganise and Makefile updates
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Frank S. <vk...@ix...> - 2000-09-25 00:12:52
|
Hi, Made some updates to common/Makefile so "make", "make install" and "make clean" work as expected. Still some things to sort out but at least it gives us some framework.. And , libhamlib.so.1.0.1 is born !! I feel like a proud dad ;-() Made common/include and common/lib where lib headers and hamlib.so can be stored. Here is the common/ tree after doing "make" and "make install" from common/ directory. This is the same structure as backend libs for consistency. [frank@kirk common]$ tree . |-- API_Candidates |-- CVS | |-- Entries | |-- Repository | `-- Root |-- Makefile |-- include | |-- CVS | | |-- Entries | | |-- Repository | | `-- Root | |-- rig.h | |-- riglist.h | `-- serial.h |-- lib | |-- CVS | | |-- Entries | | |-- Repository | | `-- Root | |-- libhamlib.so -> libhamlib.so.1 | |-- libhamlib.so.1 -> libhamlib.so.1.0.1 | `-- libhamlib.so.1.0.1 |-- rig.c |-- rig.h |-- rig.o |-- riglist.h |-- serial.c |-- serial.h |-- serial.o `-- testrig.c Cheers / Frank.. -- Frank Singleton VK3FCS Email: victor kilo three foxtrot charlie sierra at ix dot netcom dot com |
From: Stephane F. <ste...@in...> - 2000-09-28 00:34:22
|
Frank Singleton wrote: > > And , libhamlib.so.1.0.1 is born !! I feel like a proud dad ;-() > Hold on, I just broke it again. Nah, just kidding ;-) Good work on the Makefiles! > Made common/include and common/lib where lib headers and hamlib.so > can be stored. > Hmm, IMO, this is not the best approach. According to most GNU projects, the directory hierarchy should look like something as following(not exhaustive): hamlib |-- README |-- INSTALL |-- Makefile.in |-- configure |-- LICENSE |-- any other all-uppercase file |-- include # exported includes | |-- rig.h # API interface | `-- riglist.h |-- lib # compiled libs | |-- backend | | |-- libft747.so | | `-- libicom.so | |-- libhamlib.so -> libhamlib.so.1 | |-- libhamlib.so.1 -> libhamlib.so.1.0.1 | `-- libhamlib.so.1.0.1 |-- etc | `-- hamlib.conf # pref file locating backend.so list |-- src # used to be common/ | |-- rig.c | |-- register.c # backend registering | |-- misc.c # hex_dump, BCD stuff, etc. | |-- serial.c | |-- serial.h | `-- any other frontend sources |-- test | |-- testrig.c # sample test program | `-- any regression test suite? |-- docs | |-- html | |-- man | `-- well documented API in various formats |-- mybackendrig | |-- mybackendrig.h | `-- mybackendrig.c `-- myotherbackendrig `-- myotherbackendrig.c What do you think of it? If you agree with this organisation, I'll do that tomorrow, along with the autoconf setup. We should definitely clean up the source tree, make a compilable/linkable/ runnable release (hamlib-1.1.0), and then summon for help/advices/wishes from other linux-hams. Also it would be good to make it clear that hamlib is not CAT specific (as one might understand from sourceforge summary or radio.linux.org.au), nor linux specific (it should be developped to run on any UNIX flavors, and also on Win32/etc.) Have fun.. PS: have you checked out http://google.com page lately? I'm sure you'll like it ;-) -- Stephane Fillod F4CFE |
From: Frank S. <vk...@ix...> - 2000-09-30 01:18:21
|
Stephane Fillod wrote: > > Frank Singleton wrote: > > > > And , libhamlib.so.1.0.1 is born !! I feel like a proud dad ;-() > > > Hold on, I just broke it again. Nah, just kidding ;-) > Good work on the Makefiles! Thanks .. > > > Made common/include and common/lib where lib headers and hamlib.so > > can be stored. > > > Hmm, IMO, this is not the best approach. > According to most GNU projects, the directory hierarchy should > look like something as following(not exhaustive): This was just to start compiling the frontend lib for verification of what we had done so far ... <snip> Lets do it .. > If you agree with this organisation, I'll do that tomorrow, > along with the autoconf setup. Yep, sounds good to me :-) > > We should definitely clean up the source tree, make a compilable/linkable/ > runnable release (hamlib-1.1.0), and then summon for help/advices/wishes > from other linux-hams. Yes, lets get directory organized. A hamlib release done, and then we have something to show and attract others :-) > Also it would be good to make it clear that hamlib is not CAT specific > (as one might understand from sourceforge summary or radio.linux.org.au), > nor linux specific (it should be developped to run on any UNIX flavors, > and also on Win32/etc.) Check the updated summary.. (limited to 255 characters) I think it would be good to get the reorg done, and then I will post to various groups about our project, its goals, status, and request for help. > > Have fun.. > > PS: have you checked out http://google.com page lately? I'm sure > you'll like it ;-) Yeah, talented little kangaroo :-) Cheers / Frank -- Frank Singleton VK3FCS Email: victor kilo three foxtrot charlie sierra at ix dot netcom dot com |
From: Stephane F. <f4...@fr...> - 2000-09-28 19:23:37
|
Frank Singleton wrote: > > And , libhamlib.so.1.0.1 is born !! I feel like a proud dad ;-() > Hold on, I just broke it again. Nah, just kidding ;-) Good work on the Makefiles! > Made common/include and common/lib where lib headers and hamlib.so > can be stored. > Hmm, IMO, this is not the best approach. According to most GNU projects, the directory hierarchy should look like something as following(not exhaustive): hamlib |-- README |-- INSTALL |-- Makefile.in |-- configure |-- LICENSE |-- any other all-uppercase file |-- include # exported includes | |-- rig.h # API interface | `-- riglist.h |-- lib # compiled libs | |-- backend | | |-- libft747.so | | `-- libicom.so | |-- libhamlib.so -> libhamlib.so.1 | |-- libhamlib.so.1 -> libhamlib.so.1.0.1 | `-- libhamlib.so.1.0.1 |-- etc | `-- hamlib.conf # pref file locating backend.so list |-- src # used to be common/ | |-- rig.c | |-- register.c # backend registering | |-- misc.c # hex_dump, BCD stuff, etc. | |-- serial.c | |-- serial.h | `-- any other frontend sources |-- test | |-- testrig.c # sample test program | `-- any regression test suite? |-- docs | |-- html | |-- man | `-- well documented API in various formats |-- mybackendrig | |-- mybackendrig.h | `-- mybackendrig.c `-- myotherbackendrig `-- myotherbackendrig.c What do you think of it? If you agree with this organisation, I'll do that tomorrow (well today), along with the autoconf setup. We should definitely clean up the source tree, make a compilable/linkable/ runnable release (hamlib-1.1.0), and then summon for help/advices/wishes from other linux-hams. Also it would be good to make it clear that hamlib is not CAT specific (as one might understand from sourceforge summary or radio.linux.org.au), nor linux specific (it should be developped to run on any UNIX flavors, and also on Win32/etc.) Have fun.. PS: have you checked out http://google.com page lately? I'm sure you'll like it ;-) -- Stephane Fillod F4CFE |