Commit Graph

70 Commits

Author SHA1 Message Date
Jon Trulson 5852c4742f Fix erroneous uses of ${prefix} rather than $(CDE_INSTALLATION_TOP)
Some Makefiles use prefix when they should be using
CDE_INSTALLATION_TOP.

Patch by Peter G.
2020-03-23 13:10:07 -06:00
Jon Trulson 973ebf9ed0 library versioning: use proper format and specify for ALL libraries 2019-12-04 18:09:22 -07:00
Jon Trulson 1079ffa240 configure: create some convenience AC_SUBST's for the global includes
Modify the various makefiles that were doing $(top_builddir)/include/Dt
to use them like @DT_INCDIR@, @TT_INCDIR@, etc...
2019-10-26 14:30:36 -06:00
Jon Trulson 056144488a DtSearch: get it to build, fix up some confusion
There are/were two dproto.h files, one in DtSearch, one in raima.  The
one in raima is the one we want, so replace the global Dt/dproto.h
with it.  Also correct a prototype declaration error in that file.

Delete the dproto.h file in DtSearch, it's garbage and unused.

Next, redo the way yacc is used.  Autotools does "the right thing" by
simply including the .y file in *_SOURCES and using
BUILT_SOURCES/CLEANFILES to manage it.  No need for special rules to
handle yacc and lex.
2019-10-26 14:13:19 -06:00
Jon Trulson 369308b737 The great includes migration of 2019 (autotools)
Ok - so one of the steps in building CDE is an early phase called the
includes phase (make includes).  At this point, all of the public
header files are exported to exports/include/Dt, DtI, ...

Then, the software is built using that include dir.

This of course does not work in autotools.  Much of the software does
things like #include <Dt/something.h>, so in order for the build to
succeed, this behavior must be represented/replicated in some way.

It seems the usual way of dealing with this is to place all public
headers (and in some projects, ALL headers) into a toplevel include
directory.

We now do this for all public headers - they have been moved from
wherever they were and placed in the appropriate spot in includes/

This will break the Imake 'make includes' phase unless the Imakefiles
are fixed (remove the HEADERS = stuff, and the incdir defines).  This
has not been done at this point since in reality, once autotools works
properly, there will be no need for the Imake stuff anymore, and I
intend to get rid of it.

This is just a warning for now - Imake builds in this tree will now
fail at the 'includes' stage.

This commit is only the migration.  In upcoming commits, libtt will be
fixed so that the hack being used before to get around this problem is
removed as there will no longer be any need.

And then the autotools work continues...
2019-10-25 17:01:34 -06:00
Jon Trulson 1d7ed3a17e autotools: many fixups, SUN->SOLARIS, typos, etc
This should allow an autoregen and ./confiure to work.  We only
generate Makefiles for lib/* and ./Makefile for now.  We'll ad more as
we go along.

Make still fails as we need to figure out TT - tirpc lib, rpcgen,
etc.  But it's a start!
2019-10-23 17:34:55 -06:00
Chase 8dfc0f62eb lib/DtSearch: add automake files 2019-10-23 15:34:19 -06:00
Jose Rubio f9790767f3 Fix to different compile warnings.
Fix to multiple int-conversion
Removal of duplicated function definition in dtudcfonted/util.h
Added XtEventHandler prototypes to mtfgui
2019-10-10 19:59:40 +02:00
Jon Trulson 050fd75e80 lib/DtSearch/raima/proto.h: fix OBSD build - don't redef system functions
Remove redeclaration of system functions (strlen, free, open, etc).
Use the system header files.  That's what they are for.
2018-07-09 13:11:33 -06:00
Peter Howkins 2a988f5ad3 libDtSearch: Coverity 86459 2018-07-02 23:28:31 +01:00
Peter Howkins 5b1c87fb43 libDtSearch: Coverity 86119 2018-07-02 23:26:51 +01:00
Peter Howkins 7ecbdc866c libDtSearch: Coverity 86602 2018-07-02 23:23:44 +01:00
Peter Howkins 96c6c5068a libDtSearch: Coverity 86426 2018-07-02 23:21:07 +01:00
Peter Howkins 013f452864 libDtSearch: Coverity 86816 2018-07-02 23:18:00 +01:00
Peter Howkins c96a2cfa51 libDtSearch: Coverity 87018 2018-07-02 23:15:57 +01:00
Peter Howkins 95d6b64800 libDtSearch: Coverity 176038 2018-07-02 23:13:43 +01:00
Peter Howkins aa1bfc0ab3 libDtSearch: Coverity 86579 2018-07-02 23:11:36 +01:00
Peter Howkins f0917ee2b5 libDtSearch: Coverity 87032 2018-07-02 23:09:29 +01:00
Peter Howkins 889650ea45 libDtSearch: Coverity 86944 2018-07-02 23:07:39 +01:00
Peter Howkins 0876476cae libDtSearch: Coverity 86856 2018-07-02 23:01:54 +01:00
Peter Howkins c8233c9200 libDtSearch: Coverity 86804 2018-07-02 22:59:03 +01:00
Peter Howkins d7225fde79 libDtSearch: Coverity 86780 2018-07-02 22:55:42 +01:00
Peter Howkins 5854fdca38 libDtSearch: Coverity 86768 2018-07-02 22:53:49 +01:00
Peter Howkins 85166ef293 libDtSearch: Coverity 86762 2018-07-02 22:51:16 +01:00
Peter Howkins 68986baef8 libDtSearch: Coverity 86698 2018-07-02 22:48:20 +01:00
Peter Howkins 1294f15d16 libDtSearch: Remove unused C files that have now disapeared with removal of #defines 2018-06-29 19:07:09 +01:00
Peter Howkins 32eb933929 libDtSearch: Convert to ANSI function definitions and use proper prototypes (which causes more warnings 2018-06-29 18:43:11 +01:00
Peter Howkins bcdb2dd909 libDtSearch: Tidy up the LOCK and DBN macro madness 2018-06-29 16:16:21 +01:00
Peter Howkins 60edbd3491 libDtSearch: Untangle large numbers of TASK_ macros that were all unused code 2018-06-29 01:45:29 +01:00
Peter Howkins 86b9a0fee4 libDtSearch: remove NO_COUNTRY code which is always off for CDE 2018-06-29 01:04:55 +01:00
Peter Howkins 9d921ba219 libDtSearch: NO_TIMESTAMP is always on for CDE 2018-06-29 00:47:03 +01:00
Peter Howkins a1ad4ae25b libDtSearch: SINGLE_USER is always defined for CDE 2018-06-29 00:45:23 +01:00
Peter Howkins 550f278889 libDtSearch: NO_TRANS is always on for CDE 2018-06-29 00:43:46 +01:00
Peter Howkins 162fd49971 libDtSearch: Remove define ONE_DB which is always off for CDE 2018-06-29 00:34:56 +01:00
Peter Howkins e5b3c011c6 libDtSearch: Remove optional code for NO_DBN which is not used on CDE 2018-06-29 00:15:06 +01:00
Peter Howkins 605a21046a libDtSearch: remove optional code MULTI_TASK that is not used on CDE 2018-06-29 00:07:36 +01:00
Peter Howkins af9f0e9033 libDtSearch: Enable compiling with const support, remove ability to build without const support. 2018-06-28 19:17:42 +01:00
Peter Howkins 144bca4af7 libDtSearch: Remove optional support for ancient DOS far pointer 2018-06-28 18:59:15 +01:00
Jon Trulson 57ce407976 lib/DtSearch: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson 8e48100c12 DtSearch/raima: remove register keyword 2018-06-27 21:58:04 -06:00
chase 809c3d8bb6 Spelling fixes 2018-05-31 22:23:19 -06:00
Ulrich Wilkens 297b6bd845 Fix warnings on FreeBSD 2018-05-31 22:04:08 -06:00
chase 4f5e7fe5e3 Use POSIX macros for linux 2018-05-24 18:22:55 -06:00
chase 0fa51f280f Use /var/spool instead of /usr/spool and /var/mail instead of /usr/mail 2018-05-20 12:30:32 -06:00
chase 07900bd93b Remove Unixware and openserver support 2018-05-20 12:13:07 -06:00
chase 8a4f389634 Remove UXPDS support 2018-05-15 20:27:22 -06:00
chase 33d2749ea3 Last of the spelling fixed 2018-04-28 12:36:44 -06:00
chase 1fe5a550b2 Fix typo in license headers 2018-04-28 12:30:20 -06:00
chase 1817f335c6 Fix various spelling errors 2018-04-22 12:14:43 -06:00
Jon Trulson 4e61c62742 libDtSearch/dtsrapi.c: Coverity CID 86857; dest buf too small 2018-04-02 17:02:16 -06:00