~brian-sidebotham/openssl-cmake/1.0.1e

« back to all changes in this revision

Viewing changes to util/pl/ultrix.pl

  • Committer: Brian Sidebotham
  • Date: 2013-10-19 21:50:27 UTC
  • Revision ID: brian.sidebotham@gmail.com-20131019215027-yzoyh4svqj87uepu
ImportĀ OpenSSLĀ 1.0.1e

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/local/bin/perl
 
2
#
 
3
# linux.pl - the standard unix makefile stuff.
 
4
#
 
5
 
 
6
$o='/';
 
7
$cp='/bin/cp';
 
8
$rm='/bin/rm -f';
 
9
 
 
10
# C compiler stuff
 
11
 
 
12
$cc='cc';
 
13
if ($debug)
 
14
        { $cflags="-g -DREF_CHECK -DCRYPTO_MDEBUG"; }
 
15
else
 
16
        { $cflags="-O2"; }
 
17
 
 
18
$cflags.=" -std1 -DL_ENDIAN";
 
19
 
 
20
if (!$no_asm)
 
21
        {
 
22
        $bn_asm_obj='$(OBJ_D)/mips1.o';
 
23
        $bn_asm_src='crypto/bn/asm/mips1.s';
 
24
        }
 
25
 
 
26
sub do_link_rule
 
27
        {
 
28
        local($target,$files,$dep_libs,$libs)=@_;
 
29
        local($ret,$_);
 
30
        
 
31
        $file =~ s/\//$o/g if $o ne '/';
 
32
        $n=&bname($target);
 
33
        $ret.="$target: $files $dep_libs\n";
 
34
        $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n\n";
 
35
        return($ret);
 
36
        }
 
37
 
 
38
1;