1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/cde/programs/dtksh
2021-10-23 15:47:09 -06:00
..
examples programs/: remove Imakefiles for completed modules 2021-07-03 19:12:43 -06:00
ksh93 Merge commit 'c9b8687604' as 'cde/programs/dtksh/ksh93' 2021-06-26 14:53:01 -06:00
DtFuncs.compat.sh Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
DtFuncs.sh Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
DtFuncs.sh.src Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
dtkcmds.c dtkcmds.c: fix some pointer<->int conversions 2021-10-23 15:47:09 -06:00
dtkcmds.h dtksh: use sh_addbuiltin instead of manually editing builtins.c 2020-12-06 18:24:33 -07:00
dtkcvt.c dtksh: make it build under openindiana 2021-01-18 18:00:41 -07:00
dtkcvt.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
Dtksh Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
dtksh.exp Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
dtksh.h dtksh: update ksh to commit 47468f (fix musl compiler errors) 2021-01-23 17:13:46 -07:00
dtksh.msg Remove apollo support 2018-06-24 16:22:37 -06:00
extra.c dtksh: Use ksh93 translate over augmented version 2020-10-19 18:36:29 -06:00
extra.h extra.h: remove unused prototypes 2019-12-15 14:07:52 -07:00
init.patch dtksh: make it build under openindiana 2021-01-18 18:00:41 -07:00
ksh93.man Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
ksh93.memo Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
Makefile.am dtksh: move fsym() into widget.c where it belongs 2021-10-23 15:05:56 -06:00
msgs.c dtksh: Use ksh93 translate over augmented version 2020-10-19 18:36:29 -06:00
msgs.h dtksh: Use ksh93 translate over augmented version 2020-10-19 18:36:29 -06:00
README-DEVELOPER dtksh: use bin/package flat make instead of shell 2021-01-01 18:41:26 -07:00
README.building Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
setup.sh dtksh: use bin/package flat make instead of shell 2021-01-01 18:41:26 -07:00
widget.c dtksh: move fsym() into widget.c where it belongs 2021-10-23 15:05:56 -06:00
widget.h dtksh: make it build under openindiana 2021-01-18 18:00:41 -07:00
xmcmds.c dtksh: update ksh to commit 47468f (fix musl compiler errors) 2021-01-23 17:13:46 -07:00
xmcmds.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
xmcvt.c dtksh: make it build under openindiana 2021-01-18 18:00:41 -07:00
xmcvt.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
xmksh.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
xmwidgets.c dtksh: make it build under openindiana 2021-01-18 18:00:41 -07:00
xmwidgets.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
XtCvtrs.c dtksh: Use ksh93 translate over augmented version 2020-10-19 18:36:29 -06:00
XtCvtrs.h Fix typo in license headers 2018-04-28 12:30:20 -06:00

/* $XConsortium: README.building /main/2 1996/07/15 14:12:43 drk $ */
Since dtksh does not use anything like a normal build environment,
here are some hints.

- Make a Makefile in cdesrc/cde1/dtksh as if it were a normal
  component

- make includes; make all

  dtksh will build initially fine.

Now, if you change anything, you'll find that just typing "make"
doesn't do anything.  What you have to do is go to
cdesrc/cde1/dtksh/ksh93/ship.  Under there you'll find a distorted
version of the directory structure under ksh93.  Find the directory
that corresponds to the directory that contains your change and
remove the file "BUILT".  Now cd back up to dtksh and make, and
dtksh should remake itself.  Of course, it will recompile many
more files than you actually built, since dtksh does not use
make in any recognizable way.

In fact, it appears the best thing to do is go to cde1/dtksh
and run "ksh MakeClean" which will blow away many files and force
a clean make.

Be extremely careful: Just because you get a dtksh built at
the end does *not* mean the build was successful.  There
are several auxiliary binaries in ksh93/bin that must be built.
Make sure that ksh93/bin looks like this at the end:

urth 1331$ pwd
/scde/SunOS_sparc/opt/stable/build/cde1/dtksh/ksh93/bin
urth 1332$ ls
feature*    ksh*        proto*      silent*
ignore*     pax*        shcomp*     suid_exec*

If any of these are missing, search carefully back through
the make log looking for errors.