Move to REF_DEBUG, for consistency.
[openssl.git] / util / pl / ultrix.pl
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_DEBUG"; }
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;