Re: [Hamlib-developer] common reorganise and Makefile updates
Library to control radio transceivers and receivers
Brought to you by:
n0nb
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 |