| 1 |
Quick start. |
| 2 |
|
| 3 |
GNU Make (Linux, OpenBSD, FreeBSD, CygWin, etc.), with gcc: |
| 4 |
|
| 5 |
make -f gcc.mak depend |
| 6 |
make -f gcc.mak install |
| 7 |
|
| 8 |
GNU Make (SunOS), with SunPro CC: |
| 9 |
|
| 10 |
make -f CC.mak depend |
| 11 |
make -f CC.mak install |
| 12 |
|
| 13 |
Microsoft NMAKE (MS Windows), with VC6: |
| 14 |
|
| 15 |
nmake /fmsvc.mak install |
| 16 |
|
| 17 |
|
| 18 |
Make system goals. |
| 19 |
|
| 20 |
- all source files declared in one place (for all platforms and |
| 21 |
compilers); the same is for base library (application) name and |
| 22 |
version. |
| 23 |
- derive object filenames from source filenames in make system |
| 24 |
- source files may be situated in few catalogs |
| 25 |
- avoid information duplication, if possible |
| 26 |
- support cross-compilation |
| 27 |
|
| 28 |
|
| 29 |
Make targets. |
| 30 |
|
| 31 |
release-static |
| 32 |
|
| 33 |
build STLport as static library |
| 34 |
|
| 35 |
dbg-static |
| 36 |
|
| 37 |
build STLport as static library (with debug information) |
| 38 |
|
| 39 |
stldbg-static |
| 40 |
|
| 41 |
build STLport as static library (STLP_DEBUG mode, with debug information) |
| 42 |
|
| 43 |
release-shared |
| 44 |
|
| 45 |
build STLport as dynamic (shared) library |
| 46 |
|
| 47 |
dbg-shared |
| 48 |
|
| 49 |
STLport as dynamic (shared) library (with debug information) |
| 50 |
|
| 51 |
stldbg-shared |
| 52 |
|
| 53 |
build STLport as dynamic (shared) library (STLP_DEBUG mode, with |
| 54 |
debug information) |
| 55 |
|
| 56 |
all (default) |
| 57 |
|
| 58 |
cumulative target for release,dbg,stldbg -shared on Unix-lile platforms |
| 59 |
and plus release,dbg,stldbg -static on Windows. |
| 60 |
|
| 61 |
depend |
| 62 |
|
| 63 |
create dependency files (for performance reasons dependency not created |
| 64 |
during compilation process); this target absent for MS NMAKE (due to pure |
| 65 |
scripting opportunities) |
| 66 |
|
| 67 |
install-release-shared |
| 68 |
install-dbg-shared |
| 69 |
install-stldbg-shared |
| 70 |
install-release-static |
| 71 |
install-dbg-static |
| 72 |
install-stldbg-static |
| 73 |
|
| 74 |
build and install appropriate libraries and related files, into |
| 75 |
'STLport/lib' and 'STLport/bin' (../../lib, relative position of this file) |
| 76 |
|
| 77 |
install |
| 78 |
|
| 79 |
cumulative target for install-*-shared on Unix-like platforms and |
| 80 |
install-*-* on Windows. |
| 81 |
|
| 82 |
clean |
| 83 |
|
| 84 |
remove all intermediate files |