-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
4,166 additions
and
1,133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,117 +1,6 @@ | ||
This is archive file. Subject for future delete. | ||
================================================= | ||
|
||
This is the standalone distribution of Willows Twin Libraries. | ||
|
||
If you find bugs in Willows Software Twin Libraries, send reports to | ||
[email protected]. To have source extensions and additions added | ||
to the software libraries, send your modifications and updates to | ||
[email protected]. For additional information about the Willows Twin | ||
libraries, and download the latest versions of the software, contact | ||
http://www.willows.com. | ||
|
||
The Willows Twin Libraries are distributed under the GNU Library General | ||
Public License. See the file COPYING.LIB for copying conditions. | ||
|
||
The makefile builds libtwin.so. You may optionally build libtwin32.so, | ||
or static libraries libtwin.a or libtwin32.a. The makefile will also | ||
build a library tester, xwin which can execute existing windows 16 | ||
executables. | ||
|
||
These are the instructions for doing a source build. | ||
For additional information see the README file in | ||
the makeinclude subdirectory. | ||
|
||
|
||
Basic Installations to build Willows TWIN libraries | ||
=================================================== | ||
|
||
1. [REQUIRED] | ||
|
||
Configuring the source makefiles for your platform. | ||
--------------------------------------------------- | ||
|
||
The sources are rooted in a tree based on the version of the | ||
release, eg. ./twin/3.v.r/..., multiple releases can be kept | ||
under the ./twin hierarchy. The environment variable TWINDIR | ||
can be set to this path, eg. /home/robf/src/twin/3.v.r in for | ||
example. | ||
|
||
Change to the $TWINDIR directory, and run the ./configure script. | ||
|
||
This script will create three files that will be included by the | ||
various makefiles. | ||
|
||
./Makefile.config | ||
./makeinclude/Makefile.rules | ||
./makeinclude/Makeinclude.config | ||
|
||
This script is generated by the autoconf, and the input file, | ||
configure.in. | ||
|
||
The script understands the following options: | ||
|
||
--with-win32 to build as a win32 library | ||
--with-optimization to build without debug information | ||
|
||
(not yet implemented) | ||
|
||
--with-debugger to use built-in debugger (if possible) | ||
--with-notrace to build without tracing | ||
|
||
==================================================================== | ||
NOTE: The library is compiled as an implementation of either | ||
the win16 or win32 interfaces. Support for win16 binary applications | ||
is provided in a binary interface library that should correctly call | ||
the twin library you've built, allowing win16 binary applications to | ||
be executed with the win32 library. If any differences are noted in | ||
the behavior of the win32 vs. the win16 library when executing a 16bit | ||
binary application, it is a bug in th win16 binary interface, and | ||
should be reported to me to fix. | ||
====================================================================== | ||
|
||
2. [OPTIONAL (should be done after changing configurations)] | ||
|
||
Verify a clean build environment. | ||
--------------------------------- | ||
|
||
make clean | ||
|
||
3. [REQUIRED] | ||
|
||
Building the libraries. | ||
----------------------- | ||
|
||
The Willows TWIN libraries are a collection of shared libraries that | ||
have the equivalent functionality of windows. The library has been | ||
broken out into multiple dll's, (shared libraries), rather than having | ||
a monolithic library. The build process will build each of the | ||
components libraries, in addition to the main library, libtwin.so. | ||
|
||
The component libraries that are built are: | ||
libcommdlg.so all functions from COMMDLG.DLL | ||
libcommctrl.so all functions from COMMCTRL.DLL | ||
libshell.so all functions from SHELL.DLL | ||
libwinsock.so all functions from WINSOCK.DLL | ||
libmmsystem.so all functions from MMSYSTEM.DLL | ||
libkeyboard.so all functions from KEYBOARD.DLL | ||
libsound.so all functions from SOUND.DLL | ||
libddeml.so all functions from DDEML.DLL | ||
liblzexpand.so all functions from LZEXPAND.DLL | ||
|
||
Having these libraries separate will allow them to be developed and | ||
extended separate from the twin library, and reduce the sizes of the | ||
libraries that need to be downloaded in the future. | ||
|
||
To build libtwin.so, and the component libraries, and the Willows | ||
Windows resource compiler, type: | ||
|
||
make | ||
|
||
To build the source samples, you can type | ||
|
||
make world | ||
|
||
4. [REQUIRED] | ||
|
||
Run Time Configuration. | ||
|
@@ -160,55 +49,6 @@ Basic Installations to build Willows TWIN libraries | |
./template/readme.twinrc for more information, and file | ||
./template/sample.twinrc for an example file. | ||
|
||
5. [OPTIONAL] | ||
|
||
Verifying the library. | ||
---------------------- | ||
|
||
The library has a win16 binary emulator, that will load and execute | ||
win16 applications. We provide an interpreter for risc CPU's, and | ||
can run the win16 applications on risc or intel. The binary emulator | ||
is called xwin, and is located/built in the ./win directory. You | ||
can run the emulator with no arguments, and will be prompted for | ||
the application to run, or you can type the application as an argument | ||
to xwin. Since the libraries are built as shared libraries, you may | ||
need to configure your systems run-time dynamic linker to be able to | ||
load the twin shared libraries. On linux, you can set the environment | ||
variable LD_LIBRARY_PATH=$(TWINDIR)/win, and export it. You may | ||
need to run the system utility ldconfig, and modify your system's | ||
ld.so.conf file to include the path to the twin libraries. | ||
|
||
|
||
./win/xwin will bring up the common file dialog asking for | ||
what 16 bit windows executable to run. | ||
|
||
note: if you've built the shared library, libtwin.so, | ||
be sure to make it available to the run-time linker | ||
ld.so. | ||
|
||
./win/xwin sol.exe or | ||
./win/xwin sol | ||
will run sol.exe. The ~/.twinrc configuration | ||
file should have an entry for openpath that points | ||
to where the win 16 binaries are kept. | ||
|
||
|
||
|
||
6. [OPTIONAL (installation of libraries)] | ||
|
||
Installation of the libraries and executables. | ||
---------------------------------------------- | ||
|
||
We do not provide an installation script to install the libraries | ||
on your machine. You can run: | ||
|
||
make install INSTALLDIR=<TWINROOT> | ||
|
||
where <TWINROOT> is where you want to keep the Twin files. The | ||
TWINROOT will have subdirectories for bin, lib and include. You | ||
will need to modify the shared library loader setup configured | ||
in step 5 to account for the new library locations. | ||
|
||
|
||
7. [OPTIONAL (tracing binary applications) | ||
|
||
|
@@ -255,49 +95,4 @@ Basic Installations to build Willows TWIN libraries | |
progbar win32 demo of progress bar | ||
|
||
|
||
Source Directory Layout (see the file MANIFEST for specific file information) | ||
============================================================================= | ||
|
||
bin: directory containing source for resource compiler and | ||
help file viewer. | ||
bmp: directory containing binary resources, icons, bitmaps, etc. | ||
commctrl: directory with win32 common controls dll. | ||
commdlg: directory with common dialogs dll. | ||
configs: directory with platform configuration files. | ||
debugger: directory with built-in debugger, for x86 platforms. | ||
dll: directory with sources to give shared libraries the same | ||
interfaces as windows DLL's, ie. LibMain, DllEntry... | ||
doc: directory with supplemental documentation. | ||
include: directory of public header files. | ||
intp32: directory with source to x86 interpreter. | ||
makeinclude: directory with platform independent makefile components. | ||
multimedia: directory with sources to multimedia libraries. | ||
pal: directory of platform abstraction layer sources, ie. x11... | ||
readline: directory with readline for debugger. | ||
samples: directory of sample sources demonstrating twin libraries. | ||
shell: directory of windows shell dll. | ||
template: directory with sample win.ini and ~/.twinrc files. | ||
utilities: directory of support functions for common controls. | ||
xdos: directory with dos emulation library. | ||
win: directory of core Willows Twin Library files. | ||
|
||
Alternative Configuration | ||
========================= | ||
|
||
The configure script will allow you to build 1 of 4 different | ||
configurations. The alternatives are debug version vs not, and | ||
win32 vs win16. The default configuration will be set in the | ||
file .config, and in the variable TWIN. It will be of the form: | ||
|
||
TWIN=$(TARGET)$(TWIN_APISIZE)-$(TWINCPU)-$(TWINOPT) | ||
|
||
where TARGET will be one of Linux, hppa, SunOS, Solaris, etc. | ||
TWIN_APISIZE will be empty, or the value 32 | ||
TWINCPU will be X386, sparc, hppa, etc. | ||
TWINOPT will be DBG, OPT | ||
|
||
|
||
A make clean MUST be done afterwards. The build script shows | ||
how to build all combinations, automatically, using the setup script. | ||
|
||
Copyright (c) 1997, Willows Software Inc. All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// $Header: P:/PVCS/MAX/MAXEDIT/CVERSION.H_V 1.9 10 Jul 1996 10:59:16 BOB $ | ||
// | ||
// CVERSION.H - component version info file for MaxEdit | ||
// | ||
// --------------------------------------------------------- | ||
// Copyright (C) 1995 Qualitas, Inc. GNU General Public License version 3 | ||
// --------------------------------------------------------- | ||
|
||
#include <ver.h> // Version resource definitions from DDK | ||
#include <maxnames.h> | ||
|
||
#define VER_MODULE 11 | ||
#define VER_MODULE_STR "011" | ||
|
||
#define VER_FILETYPE VFT_APP | ||
#define VER_FILESUBTYPE VFT2_UNKNOWN | ||
#define VER_FILEDESCRIPTION_STR "Qualitas MaxEdit" | ||
#define VER_INTERNALNAME_STR "MAXEDIT" | ||
#define VER_ORIGINALFILENAME_STR "MAXEDIT.EXE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
!include <maxedit.mak> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
|
||
# Dependencies generated by DepScan v1.10 | ||
|
||
MAXEDIT_DEP =\ | ||
maxedit.h\ | ||
messages.h | ||
|
||
MAXEDIT_RCDEP =\ | ||
resource.h\ | ||
cversion.h\ | ||
$(H)mversion.h\ | ||
$(H)common.ver\ | ||
maxedit.h\ | ||
maxedit.ico\ | ||
meicon.ico\ | ||
tnew.ico\ | ||
topen.ico\ | ||
tsave.ico\ | ||
tprint.ico\ | ||
tundo.ico\ | ||
tcut.ico\ | ||
tcopy.ico\ | ||
tpaste.ico\ | ||
tcascade.ico\ | ||
ttile.ico\ | ||
tini.ico\ | ||
texit.ico\ | ||
thelp.ico | ||
|
||
TOOLBAR_DEP =\ | ||
maxedit.h | ||
|
||
|
||
# Header dependencies | ||
|
||
cversion.h:\ | ||
$(H)maxnames.h | ||
|
||
maxedit.h:\ | ||
resource.h | ||
|
Oops, something went wrong.