Dialogic 6.2 Manuale Utente

Pagina di 441
Compiling Sample Applications Using Makefiles
November 2009
174
Compiling Sample Applications Using Makefiles 
The sample applications are distributed in source form and are 
compiled using the supplied makefile(s). The makefile(s) come set up 
to link the application programs with the Brooktrout Bfv API 
library.
¾ To compile the sample applications:
1. Change to the /boston/bfv.api/<platform>/app.src directory. 
For the operating system you are using, substitute its name for 
<platform> in the following instructions and use the appropriate 
location where the installed files are located (that is, /usr/sys for 
Unixware, Solaris, and Linux; and C: for Windows®.
2. Compile the sample programs in the app.src directory using 
make
The program name make is used to refer to the standard make 
program used with the compiler. The name of this program is 
make on all platforms except Windows®; on that platform the 
name is nmake.
3. Change to the /boston/bfv.api/<platform>/bapp.src directory. 
4. Compile the sample programs in the bapp.src directory using 
make.
The sample programs are compiled and executable.
Note: 
If you compile in the x64 environment, the makefile stores the 
executables in a subdirectory called x64.