From bed9b58c6599b6757314df66e29d808b7156fae8 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 2 Nov 2005 12:50:58 +0000 Subject: Final commit before 0.3-pre3 git-svn-id: http://svn.pjsip.org/repos/pjproject/main@6 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/doxygen.h | 73 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 59 insertions(+), 14 deletions(-) (limited to 'pjlib/include/pj/doxygen.h') diff --git a/pjlib/include/pj/doxygen.h b/pjlib/include/pj/doxygen.h index 6a8920f9..3f54f25f 100644 --- a/pjlib/include/pj/doxygen.h +++ b/pjlib/include/pj/doxygen.h @@ -9,7 +9,7 @@ * @brief Doxygen's mainpage. */ -/*//////////////////////////////////////////////////////////////////////////*/ +/*////////////////////////////////////////////////////////////////////////// */ /* INTRODUCTION PAGE */ @@ -441,14 +441,50 @@ * - i386/Win32/mingw * - i386/Linux * - i386/Linux (kernel) + * - alpha/linux + * - sparc/SunOS + * - etc.. + * + * + * @subsubsection build_req_sec Requirements + * + * In order to use the \c make based build system, you MUST have: + * + * - GNU make + *\n + * The Makefiles heavily utilize GNU make commands which most likely + * are not available in other \c make system. + * - bash shell is recommended. + *\n + * Specificly, there is a command "echo -n" which may not work + * in other shells. This command is used when generating dependencies + * (make dep) and it's located in + * $PJPROJECT/build/rules.mak. + * - ar, ranlib from GNU binutils + *\n + * In your system has different ar or ranlib (e.g. they + * may have been installed as gar and granlib), then + * either you create the relevant symbolic links, or modify + * $PJPROJECT/build/cc-gcc.mak and rename ar and + * ranlib to the appropriate names. + * - gcc to generate dependency. + *\n + * Currently the build system uses "gcc -MM" to generate build + * dependencies. If gcc is not desired to generate dependency, + * then either you don't run make dep, or edit + * $PJPROJECT/build/rules.mak to calculate dependency using + * your prefered method. (And let me know when you do so so that I can + * update the file. :) ) + * + * @subsubsection build_overview_sec Building the Project * - * Generally, steps required to build the projects are: + * Generally, steps required to build the PJLIB are: * \verbatim - $ cd /home/user/pjproject-0.3 # <-- go to $PJPROJECT\n - $ vi build.mak # <-- set build target etc\n - $ cd pjlib/build # <-- go to projet's build dir\n - $ make # <-- build the project\n + $ cd /home/user/pjproject # <-- go to $PJPROJECT + $ vi build.mak # <-- set build target etc + $ cd pjlib/build # <-- go to projet's build dir + $ make # <-- build the project \endverbatim * * For other project, \a cd to build directory in the project @@ -463,21 +499,27 @@ * specify the build configuration. This file is expected to export * the following \a make variables: * - * - \c MACHINE_NAME + * - MACHINE_NAME *\n - * Target machine/processor, one of: { i386 }. + * Target machine/processor, one of: { i386 | alpha | sparc }. * - * - \c OS_NAME + * - OS_NAME *\n - * Target operating system, one of: { win32 | linux | linux-kernel }. + * Target operating system, one of: { win32 | linux | + * linux-kernel | sunos }. * - * - \c CC_NAME + * - CC_NAME *\n - * Compiler name: { gcc | vc } + * Compiler name: { gcc | vc }\n + * (Note that support for Visual C (vc) compiler with the \c make system is + * experimental, and it will only work when run inside a DOS shell + * (i.e. "HOST_NAME=win32")). * - * - \c HOST_NAME + * - HOST_NAME *\n - * Build host: { unix | mingw } + * Build host: { unix | mingw | win32 }\n + * (Note: win32 host means a DOS command prompt. Support for this type + * of development host is experimental). * * These variables will cause the correct configuration file in * \c $PJPROJECT/build directory to be executed by \a make. For @@ -533,6 +575,9 @@ $ make \endverbatim * + * Alternatively you may invoke make in $PJPROJECT + * directory, to build all projects under that directory (e.g. + * PJLIB, PJSIP, etc.). * * * @subsubsection linux_kern_target_subsec Linux Kernel Target -- cgit v1.2.3