File: windows.txt

package info (click to toggle)
yaz 2.1.18-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 11,988 kB
  • ctags: 11,045
  • sloc: xml: 109,719; ansic: 41,566; sh: 10,625; makefile: 1,115; tcl: 380; yacc: 288
file content (49 lines) | stat: -rw-r--r-- 2,149 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
YAZ Compilation guidelines for winNT/95.
  $Id: windows.txt,v 1.5 2000/12/05 19:14:12 adam Exp $

This distribution of YAZ includes makefiles that works with Visual
C++ version 5 and 6. The makefile is located in sub directory 'win'.

If you wish to make modifications to the make process you should
edit makefile before proceeding. For example, a DEBUG version of YAZ
can be build by modifying the line 'DEBUG=0' to 'DEBUG=1' in the
makefile.

Run nmake in that directory (in a Command prompt for example). Eg:
    >CD \YAZ\WIN
    >NMAKE

Make sure that the environment variables PATH, LIB and INCLUDE are
set properly. They *should* be set by the Visual C++ installation.
Programs cl.exe, link.exe and others must be found in the PATH. The
standard includes files, standard libraries must be found in INCLUDE
and LIB respectively.

The following components are build by the nmake process:

yaz.dll - This DLL is made of the source in all sub directories except
         for 'client' and 'ztest'. To export public functions
         the header files contain the modifier YAZ_EXPORT which is
         defined in yconfig.h. The value of this modifier,
         __declspec(dllexport), is probably specific to Visual C++. 

yaz-client.exe - A Z39.50 client console application. It is linked with
         the import library yaz.lib. This application searches for yaz.dll
         during runtime.

yaz-ztest.exe - The Z39.50 test server as a console application. It is
         linked with the import library yaz.lib. When running yaz-ztest
         make sure it is able to find the record test files dummy-records,
         dummy-grs, and dummy-words in the current directory. 

         As an option ztest may be installed as an NT service
         (not Windows 95). Use 'ztest -install <otherargs>' to install
         it and 'ztest -remove <otherargs>' to remove it again. Example:

            yaz-ztest -install -l ztest.out tcp:@:210

         which specifies a log file to be written. The server listens
         on port 210.

After successful compilation all executables and DLL's are located
in sub YAZ\BIN. Libraries are located in YAZ\LIB.