| 1 | ################################################################################
|
|---|
| 2 | # Wrapper Makefile for ncurses library under OS/2.
|
|---|
| 3 | ################################################################################
|
|---|
| 4 | # $Id: Makefile.os2,v 1.10 2000/10/09 23:53:57 Ilya.Zakharevich Exp $
|
|---|
| 5 | #
|
|---|
| 6 | # Author: Juan Jose Garcia Ripoll <[email protected]>.
|
|---|
| 7 | # Webpage: http://www.arrakis.es/~worm/
|
|---|
| 8 | ################################################################################
|
|---|
| 9 | #
|
|---|
| 10 | # Notes (from I Zakharevich)
|
|---|
| 11 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|---|
| 12 | # I could build the library with the following sequence of commands:
|
|---|
| 13 | #
|
|---|
| 14 | # touch Makefile
|
|---|
| 15 | # make -f Makefile.os2 config
|
|---|
| 16 | # make -f Makefile.os2 CC=gcc HOSTCC=gcc CXX=gcc
|
|---|
| 17 | #
|
|---|
| 18 | # Ignoring the following errors:
|
|---|
| 19 | # Invalid configuration `os2'...
|
|---|
| 20 | # ... ac_maketemp="make": not found
|
|---|
| 21 | # ... syntax error: `done' unexpected
|
|---|
| 22 | # No rule to make target `lib/ncurses4.dll'
|
|---|
| 23 | #
|
|---|
| 24 | # You may need to run
|
|---|
| 25 | #
|
|---|
| 26 | # rm make.defs
|
|---|
| 27 | # make -f Makefile.os2 make.defs
|
|---|
| 28 | #
|
|---|
| 29 | # if the build of misc/panel.def fails.
|
|---|
| 30 | #
|
|---|
| 31 | # If you do not have perl, the configuration will fail. Use autoconf to
|
|---|
| 32 | # generate the EMX-specific configure script (see README.emx), and run the
|
|---|
| 33 | # configure script to generate the makefiles. Then, run
|
|---|
| 34 | #
|
|---|
| 35 | # make -f Makefile.os2 make.dlls
|
|---|
| 36 | #
|
|---|
| 37 | # Notes (from J J G Ripoll)
|
|---|
| 38 | # ~~~~~~~~~~~~~~~~~~~~~~~~~
|
|---|
| 39 | # The `make.defs' rule creates the new '.def' files and outputs a diagnostic
|
|---|
| 40 | # about symbols that disappear from one release to the other, as well as
|
|---|
| 41 | # checks about the new '.def' consistency. If there were no problems, the
|
|---|
| 42 | # maintainer is free to replace the `.ref' files with the newer ones using the
|
|---|
| 43 | # `save.defs' rule. So, the only tough work is ensuring that the symbols that
|
|---|
| 44 | # disappear are not essential.
|
|---|
| 45 | #
|
|---|
| 46 | # I first thought about killing '_nc_*' symbols, but it seems that some of
|
|---|
| 47 | # them --_nc_panel_hook, _nc_ada*, etc-- are needed outside ncurses.dll.
|
|---|
| 48 | # However, the whole size of the export table will not be larger than 1k or
|
|---|
| 49 | # so.
|
|---|
| 50 | #
|
|---|
| 51 | # [installation]
|
|---|
| 52 | #
|
|---|
| 53 | # The way things are handled in misc/Makefile is not well suited for OS/2,
|
|---|
| 54 | # where only emx.src is needed. Thus, I've written a few wrapper rules in
|
|---|
| 55 | # Makefile.os2 that handle installation/deinstallation.
|
|---|
| 56 | #
|
|---|
| 57 | # [distribution]
|
|---|
| 58 | #
|
|---|
| 59 | # There's also a new rule that configures and builds a sort of binary
|
|---|
| 60 | # distribution, much like the one I prepared for 1.9.9e. It's `os2dist'.
|
|---|
| 61 | #
|
|---|
|
|---|