DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
DMI 2.0 code samples

Rebuilding samples

Each sample application is supplied ready-built. However, each directory also has its own makefile, which uses both local files and those from the main DMI 2.0 SP installation. To modify, extend or rebuild a sample:

  1. Copy the sample source directory to a private directory and work from there. For example:

    mkdir /u/mydmisamples
    cp -r /usr/src/dmi/samples/CI_support/hellodmi /u/mydmisamples
    cd /u/mydmisamples/hellodmi

  2. Run the makefile:

    make -f Makefile

  3. Check that the program runs:

    ./hellodmi &


Previous topic: Subscription Timeouts

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004