Jon Trulson [Sat, 26 Oct 2019 22:05:48 +0000 (16:05 -0600)]
DtHelp: make it build
Use configure's endian checks to determine whether to set LSB in il/.
Add locale.h check, include to Helpos.c
Both via including autotools_config.h.
Jon Trulson [Sat, 26 Oct 2019 22:04:27 +0000 (16:04 -0600)]
configure: add compiler checks, determine endianess, look for locale.h
Jon Trulson [Sat, 26 Oct 2019 20:41:09 +0000 (14:41 -0600)]
DtWidget: make it build, change include/cppfile.inc a bit
cppfile.inc - don't set BUIT_SOURCES or CLEANFILES here as they
overwrite (or in case of the CLEANFILES +=...) ignore the settings.
Do those in the Makefile.am always.
We still need a better way to preprocess generic files. cppfile.inc
will only work for one file per Makefile...
Jon Trulson [Sat, 26 Oct 2019 20:30:36 +0000 (14:30 -0600)]
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...
Jon Trulson [Sat, 26 Oct 2019 20:13:19 +0000 (14:13 -0600)]
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.
Jon Trulson [Sat, 26 Oct 2019 00:32:53 +0000 (18:32 -0600)]
gitignore: update for autotools_config.h/.h.in
Jon Trulson [Sat, 26 Oct 2019 00:29:27 +0000 (18:29 -0600)]
libDtSvc: get it to build
Jon Trulson [Sat, 26 Oct 2019 00:25:06 +0000 (18:25 -0600)]
Add fake OSMAJORVERSION/OSMINORVERSION CPP flags
These really need to go away and are primarily used by older
unsupported platforms.
Here we fake these for Linux (4.15), freebsd (10.0), openbsd (6.2),
netbsd (8.0), and solaris (5.10).
I'm not sure about the Solaris one as I don't have any of them.
Basically, anything after Solaris 5.10, which is pretty ancient.
These should be considered temporary - all uses of these macros in the
code should be removed in favor of functionality-specific checks in
configure.
Jon Trulson [Sat, 26 Oct 2019 00:06:54 +0000 (18:06 -0600)]
DtSvc,DtXinerama: More include fixes to deal with new order.
Jon Trulson [Fri, 25 Oct 2019 23:52:20 +0000 (17:52 -0600)]
DtXinerama.h header file - moved to main include/ dir
Jon Trulson [Fri, 25 Oct 2019 23:37:58 +0000 (17:37 -0600)]
tt: Fixup tt build for new includes locations
Some files were trying to access the global includes directy in the
build area with things like #include <api/c/tt_c.h>, which is now
wrong. Se we fix all of those up. tt_c.h and tttk.h are now global,
so we no longer need to root around various build dirs to find them.
TT builds again.
Jon Trulson [Fri, 25 Oct 2019 23:01:34 +0000 (17:01 -0600)]
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...
Jon Trulson [Fri, 25 Oct 2019 16:43:05 +0000 (10:43 -0600)]
Re-fix tt_type_comp -- it doesn't actually need yacc/lex
Jon Trulson [Fri, 25 Oct 2019 03:29:03 +0000 (21:29 -0600)]
tt: fixup remaining build issues
Jon Trulson [Fri, 25 Oct 2019 02:55:04 +0000 (20:55 -0600)]
tt: get tt_type_comp to build
Jon Trulson [Fri, 25 Oct 2019 02:01:32 +0000 (20:01 -0600)]
configure/Makefiles for TT: many fixups
Redo the way the main CDE libs are specified in configure.ac... The
current way could not work due to evaluation issues, and the fact that
variables like $srcdir and the like are only valid in Makefiles, not
configure.
Use @LIBNAME@ rather then $(LIBNAME) in Makefile.am files - this way
the location is always evaluated when it's run, not in configure -
which can't work for a variety of reasons.
Got some of the TT binaries to build.
Made a new include/cppfile.inc file that can be used to pre-process
files. The downside is that currently you can only pre-process one
file at a time per Makefile. Something more robust is needed, but at
least tt/bin/shell now builds. Will need to come up with a better way.
Jon Trulson [Thu, 24 Oct 2019 23:50:02 +0000 (17:50 -0600)]
tt/slib: include hack
Jon Trulson [Thu, 24 Oct 2019 23:30:50 +0000 (17:30 -0600)]
configure: fix up some cut/paste errors regarding languages
Jon Trulson [Thu, 24 Oct 2019 23:10:53 +0000 (17:10 -0600)]
configure: some changes to config.h, CSRG, and XTOOLLIB impl
We create autotools_config.h instead of config.h to make it clear and
avoid collisions.
We use a different method to define CSRG_BASED on BSD systems, and fix
a bug in definition of XTOOLLIB.
XTOOLLIB should probably be checked out - we should get some info from
AC_PATH_X and AC_PATH_XTRA instead of hardcoding it. To be looked at
later.
Jon Trulson [Thu, 24 Oct 2019 20:06:29 +0000 (14:06 -0600)]
tt/tttk: play symlink games so tttk can build
With this, we can now build the tooltalk library successfully.
Jon Trulson [Thu, 24 Oct 2019 20:04:25 +0000 (14:04 -0600)]
tt: create Makefile.am for tt/util
Jon Trulson [Thu, 24 Oct 2019 19:02:38 +0000 (13:02 -0600)]
configure: perhaps jumping the gun - set CSRG_BASED #define for the BSD's
Jon Trulson [Thu, 24 Oct 2019 18:43:02 +0000 (12:43 -0600)]
lib/tt: replace tooltalk.tmpl with tooltalk.inc in all Makefile.am files
This fixes the remaining warnings from autogen in lib/
Jon Trulson [Thu, 24 Oct 2019 18:41:33 +0000 (12:41 -0600)]
gitignore: add more build artifacts
Jon Trulson [Thu, 24 Oct 2019 18:40:57 +0000 (12:40 -0600)]
tt shell: fix up build - use LDADD rather than AM_LDADD
Jon Trulson [Thu, 24 Oct 2019 17:27:29 +0000 (11:27 -0600)]
tooltalk.tmpl: restore to previous version for use with Imake
For autotools we will include lib/tt/tooltalk.inc instead.
Jon Trulson [Thu, 24 Oct 2019 04:07:26 +0000 (22:07 -0600)]
tt: begin to get it building under autotools
Jon Trulson [Thu, 24 Oct 2019 03:49:34 +0000 (21:49 -0600)]
Fixup some more autogen wanrings. Only lib/tt/bin/shell remaining
Jon Trulson [Thu, 24 Oct 2019 03:35:19 +0000 (21:35 -0600)]
gitignore: add the generated utilities (config.guess, etc)
Jon Trulson [Thu, 24 Oct 2019 03:33:35 +0000 (21:33 -0600)]
Rename original Makefile to Makefile.imake
Jon Trulson [Thu, 24 Oct 2019 03:32:48 +0000 (21:32 -0600)]
configure: use a different method to detect tirpc
Jon Trulson [Wed, 23 Oct 2019 23:55:50 +0000 (17:55 -0600)]
Remove AUTOMAKE_OPTIONS and ACLOCAL_AMFLAGS from top level Makefile.am
Jon Trulson [Wed, 23 Oct 2019 23:44:11 +0000 (17:44 -0600)]
autotools: use m4/ rather than existing admin/ for m4/autotools utils
Jon Trulson [Wed, 23 Oct 2019 23:43:13 +0000 (17:43 -0600)]
gitignore: add the various autotools generated stuff
Jon Trulson [Wed, 23 Oct 2019 23:34:55 +0000 (17:34 -0600)]
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!
Chase [Wed, 23 Oct 2019 20:40:45 +0000 (15:40 -0500)]
programs/types: add automake file
Chase [Wed, 23 Oct 2019 20:40:22 +0000 (15:40 -0500)]
programs/tttypes: add automake file
Chase [Wed, 23 Oct 2019 20:39:08 +0000 (15:39 -0500)]
programs/nsgmls/Makefile.am
Chase [Wed, 23 Oct 2019 20:38:18 +0000 (15:38 -0500)]
programs/icons: add automake file
Chase [Wed, 23 Oct 2019 20:35:16 +0000 (15:35 -0500)]
programs/localized: add automake files
Chase [Wed, 23 Oct 2019 20:33:40 +0000 (15:33 -0500)]
programs/fontaliases: add automake files
Chase [Wed, 23 Oct 2019 20:31:56 +0000 (15:31 -0500)]
programs/dtwm: add automake file
Chase [Wed, 23 Oct 2019 20:31:15 +0000 (15:31 -0500)]
programs/dtudcexch: add automake file
Chase [Wed, 23 Oct 2019 20:28:33 +0000 (15:28 -0500)]
programs/dtterm: add automake files
Chase [Wed, 23 Oct 2019 20:21:40 +0000 (15:21 -0500)]
programs/dtstyle: add automake file
Chase [Wed, 23 Oct 2019 20:19:48 +0000 (15:19 -0500)]
programs/dtsr: add automake file
Chase [Wed, 23 Oct 2019 20:13:43 +0000 (15:13 -0500)]
programs/dtspcd: add automake file
Chase [Wed, 23 Oct 2019 20:01:48 +0000 (15:01 -0500)]
programs/dtsearchpath: add automake files
Chase [Wed, 23 Oct 2019 20:00:00 +0000 (15:00 -0500)]
programs/dtscreen: add automake file
Chase [Wed, 23 Oct 2019 19:52:33 +0000 (14:52 -0500)]
programs/dtprintinfo: add automake files
Chase [Wed, 23 Oct 2019 19:50:47 +0000 (14:50 -0500)]
programs/dtprintegrate: add automake file
Chase [Wed, 23 Oct 2019 19:48:42 +0000 (14:48 -0500)]
programs/dtpdmd: add automake files
Chase [Wed, 23 Oct 2019 19:47:37 +0000 (14:47 -0500)]
programs/dtpdm: add automake files
Chase [Wed, 23 Oct 2019 19:47:03 +0000 (14:47 -0500)]
programs/dtpad: add automake file
Chase [Wed, 23 Oct 2019 19:45:20 +0000 (14:45 -0500)]
programs/dtopen: add automake files
Chase [Wed, 23 Oct 2019 19:44:03 +0000 (14:44 -0500)]
programs/dtmail: add automake files
Chase [Wed, 23 Oct 2019 19:43:28 +0000 (14:43 -0500)]
programs/dtlogin: add automake file
Chase [Wed, 23 Oct 2019 19:42:30 +0000 (14:42 -0500)]
programs/dtksh: add automake files
Chase [Wed, 23 Oct 2019 19:34:06 +0000 (14:34 -0500)]
programs/dtimsstart: add automake file
Chase [Wed, 23 Oct 2019 19:33:21 +0000 (14:33 -0500)]
programs/dticon: add automake file
Chase [Wed, 23 Oct 2019 19:31:08 +0000 (14:31 -0500)]
programs/dthelp: add automake files
Chase [Wed, 23 Oct 2019 19:26:33 +0000 (14:26 -0500)]
programs/dtinfo: add automake files
Chase [Wed, 23 Oct 2019 19:25:12 +0000 (14:25 -0500)]
programs/dthello: add automake file
Chase [Wed, 23 Oct 2019 19:21:06 +0000 (14:21 -0500)]
programs/dtfile: add automake files
Chase [Wed, 23 Oct 2019 19:20:22 +0000 (14:20 -0500)]
programs/dtexec: add automake files
Chase [Wed, 23 Oct 2019 18:53:39 +0000 (13:53 -0500)]
programs/dtdspmsg: add automake file
Chase [Wed, 23 Oct 2019 03:10:10 +0000 (22:10 -0500)]
programs/dtdocbook: add automake files
Chase [Wed, 23 Oct 2019 03:09:11 +0000 (22:09 -0500)]
programs/dtdbcache: add automake files
Chase [Wed, 23 Oct 2019 03:01:50 +0000 (22:01 -0500)]
programs/dtcreate: add automake files
Chase [Wed, 23 Oct 2019 03:00:59 +0000 (22:00 -0500)]
programs/dtconfig: add automake files
Chase [Wed, 23 Oct 2019 02:55:04 +0000 (21:55 -0500)]
programs/dtcm: add automake files
Chase [Wed, 23 Oct 2019 02:53:03 +0000 (21:53 -0500)]
programs/dtcalc: add automake files
Chase [Wed, 23 Oct 2019 02:41:59 +0000 (21:41 -0500)]
programs/dtappintegrate: add automake file
Chase [Wed, 23 Oct 2019 02:40:40 +0000 (21:40 -0500)]
programs/dtappbuilder: add automake files
Chase [Wed, 23 Oct 2019 02:34:58 +0000 (21:34 -0500)]
programs/dtaction: add automake file
Chase [Wed, 23 Oct 2019 02:17:34 +0000 (21:17 -0500)]
programs/dsdm: add automake files
Chase [Wed, 23 Oct 2019 02:16:33 +0000 (21:16 -0500)]
programs/backdrops: add automake files
Chase [Wed, 23 Oct 2019 01:16:09 +0000 (20:16 -0500)]
programs: add automake file
Chase [Wed, 23 Oct 2019 01:13:03 +0000 (20:13 -0500)]
logs: add automake files
Chase [Wed, 23 Oct 2019 01:03:28 +0000 (20:03 -0500)]
lib/tt: add automake files
Chase [Wed, 23 Oct 2019 01:02:44 +0000 (20:02 -0500)]
lib/pam: add automake files:
Chase [Wed, 23 Oct 2019 01:00:07 +0000 (20:00 -0500)]
lib/csa: add automake file
Chase [Tue, 22 Oct 2019 23:34:59 +0000 (18:34 -0500)]
lib: add automake file
Chase [Tue, 22 Oct 2019 23:34:20 +0000 (18:34 -0500)]
lib/DtXinerama: add automake file
Chase [Tue, 22 Oct 2019 23:31:00 +0000 (18:31 -0500)]
lib/DtWidget: add automake file
Chase [Tue, 22 Oct 2019 23:22:51 +0000 (18:22 -0500)]
lib/DtTerm: add automake files
Chase [Tue, 22 Oct 2019 23:20:04 +0000 (18:20 -0500)]
lib/DtSvc: add automake files
Chase [Tue, 22 Oct 2019 23:19:18 +0000 (18:19 -0500)]
lib/DtSearch: add automake files
Chase [Tue, 22 Oct 2019 23:16:45 +0000 (18:16 -0500)]
lib/DtPrint: add automake file
Chase [Tue, 22 Oct 2019 23:15:49 +0000 (18:15 -0500)]
lib/DtMrm: add automake file
Chase [Tue, 22 Oct 2019 17:05:06 +0000 (12:05 -0500)]
lib/DtHelp: add automakefiles
Chase [Sun, 20 Oct 2019 02:45:16 +0000 (21:45 -0500)]
include: add makefile
Chase [Sun, 20 Oct 2019 02:26:51 +0000 (21:26 -0500)]
doc/LANG: add makefiles
Chase [Sun, 20 Oct 2019 02:16:50 +0000 (21:16 -0500)]
doc/util: add automake files
Chase [Sun, 20 Oct 2019 02:08:04 +0000 (21:08 -0500)]
doc/common: add makefiles
Chase [Sun, 20 Oct 2019 01:35:03 +0000 (20:35 -0500)]
doc/C: Add makefiles
Chase [Sun, 20 Oct 2019 01:31:18 +0000 (20:31 -0500)]
Add top level automake files
Jon Trulson [Sun, 20 Oct 2019 00:36:54 +0000 (18:36 -0600)]
ttserver: fixup forward (vexing) fucntion decl's in main, get rid of **environ
wmoxam [Mon, 14 Oct 2019 04:31:57 +0000 (00:31 -0400)]
Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used
Jon Trulson [Wed, 16 Oct 2019 03:22:11 +0000 (21:22 -0600)]
dtmail: fix extra format args warnings