You should first run 'configure' which will create a default Makefile, 
by looking at your current system configuration. 

% configure

To try the software, do a 'make depend' after the initial configuration, 
and then type make. Do not worry if make depend fails.

% make depend
% make 

After a successful compilation, start the netcp server, by typing 

% netcp -e 0 -S &

Now you can transfer a small file, such as this README file using 

% netcp -e 0 README localhost:/tmp/README &

Now compare to see if the two files are the same.

% cmp README /tmp/README

To use the package, first undefine DEMO from the Makefile. Then define
the value PROJECT in your Makefile and then enter dl_process in the
file datalink_$(PROJECT).c. Don't forget to include netcp.h from your
project file. You can use the file datalink_sample.c as a guide.
You can use the generated Makefile as is.
 
NOTE:
 If you are compiling under hpux using hpux C compiler, you will have
 to manually change the CC  line in Makefile.in to
  CC = @CC@ -Aa -D_HPUX_SOURCE
 You should do this before the configuration step.

Please report problems/bugs to dfinkel@cs.wpi.edu or surendar@cs.duke.edu.
