ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/ProcessSiteFile
(Generate patch)

Comparing COMP/SCRAM/src/ProcessSiteFile (file contents):
Revision 1.1 by williamc, Mon Mar 1 10:37:53 1999 UTC vs.
Revision 1.2 by williamc, Wed Mar 3 17:04:13 1999 UTC

# Line 5 | Line 5
5   # version defaults by argument 3
6  
7   open (OUT, ">$ARGV[1]" );
8 + open (requires, "<$ARGV[0]_reqs" );
9 + while( <requires> ) {
10 + print OUT $_;
11 + }
12 + close requirements;
13   # group stuff - prototypeonly - hardcoded in for now
14   #
15   print OUT<<ENDTEXT;
# Line 51 | Line 56 | close file;
56  
57   # Prototype only
58   print OUT 'INCLUDEPATH+=$(addprefix -I,$(INCLUDE))'."\n";
59 < print OUT 'LIBDIR+=$(addprefix -L,$(LIBDIR))'."\n";
59 > print OUT 'LDFLAGS+=$(addprefix -L,$(LIBDIR))'."\n";
60   print OUT 'CPPFLAGS+=$(addprefix -D,$(CPPDEFINES))'."\n";
61 < print OUT 'lib+=$(addprefix -l,$(lib))'."\n";
62 < print OUT 'lib+=$(addprefix -l,$(REQUIRES))'."\n";
61 > print OUT 'LDLIBS+=$(addprefix -l,$(lib))'."\n";
62 > print OUT 'LDLIBS+=$(addprefix -l,$(REQUIRES))'."\n";
63  
64   close OUT;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines