./configure make depend make(The make depend step is optional, but is helpful to ensure that things will be rebuild if you change a header file.)
To install Unix binaries in the default install directory (/usr/local), use:
make installTo install Unix manual pages, use:
make install.manTo remove intermediate files, use:
make cleanTo remove all derived files, use:
make clobber
make unixTo cross-compile just the Windows programs, use:
make windowsTo build an individual program, such as s3270, just make it:
make s3270Each of the top-level symbolic targets can be limited to a group (unix or windows) or to a program, by adding the desired prefix:
make group-depend make program-depend make unix-install make unix-install.man make program-install make program-install.man make group-clean make program-clean make group-clobber make program-clobber
--enable-unix | Include all of the Unix programs |
--enable-windows | Include all of the Windows programs |
--enable-x3270 | Include x3270 |
--enable-c3270 | Include c3270 |
--enable-s3270 | Include s3270 |
--enable-tcl3270 | Include tcl3270 |
--enable-pr3287 | Include pr3287 |
--enable-ws3270 | Include ws3270 |
--enable-wc3270 | Include wc3270 |
--enable-wpr3287 | Include wpr3287 |
nmake /fMsc\MakefileMore-specific targets can be used. (program is wc3270, ws3270 or wpr3287.)
nmake /fMsc\Makefile programAdditional targets are available:
nmake /fMsc\Makefile clean nmake /fMsc\Makefile program-clean nmake /fMsc\Makefile clobber nmake /fMsc\Makefile program-clobberNote that the 'configure' step is not necessary with Visual Studio builds, and there are no configurable options.
--help | Print a help message. |
--prefix=prefix | Install architecture-independent files under prefix (defaults to /usr/local) |
--exec-prefix=eprefix | Install architecture-dependent files (executables) under eprefix (defaults to same as prefix) |
--bindir=dir | Install user executables dir (defaults to eprefix/bin) |
--sysconfdir=dir | Install configuration files (ibm_hosts, character sets) in dir (defaults to prefix/etc). |
--disable-apl | Leave out APL character support. |
--disable-dbcs | Leave out DBCS (Double Byte Character Set) support. |
--disable-local-process | Leave out local process (connecting to "-e shell_command") support. This will be automatically disabled if the local system does not support the forkpty() library call. |
--disable-ssl | Leave out SSL (Secure Sockets Layer) support. SSL support requires the OpenSSL library. |
--with-ssl=dir | Specify the directory where the OpenSSL library is installed. |
Note that there is currently a bug in one of Cygwin's MinGW libraries that prevents the wc3270 or ws3270 from running -- it is looking for the non-existent DLL winspool.dll. There is no known workaround for this problem; it has long since been fixed in MinGW and Cygwin simply needs to update their package version. Users are encouraged to report this issue to Cygwin or to amend existing problem reports to get it fixed.
./configure LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include