perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@locus.apache.org
Subject cvs commit: modperl-2.0/lib/ModPerl Code.pm
Date Tue, 25 Apr 2000 04:38:54 GMT
dougm       00/04/24 21:38:54

  Modified:    lib/Apache Build.pm
               lib/ModPerl Code.pm
  Log:
  .h dependencies
  
  Revision  Changes    Path
  1.12      +3 -2      modperl-2.0/lib/Apache/Build.pm
  
  Index: Build.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Build.pm	2000/04/25 04:25:40	1.11
  +++ Build.pm	2000/04/25 04:38:53	1.12
  @@ -616,7 +616,7 @@
           print $fh $self->canon_make_attr($method, $self->$method());
       }
   
  -    for my $method (qw(c_files o_files o_pic_files)) {
  +    for my $method (qw(c_files o_files o_pic_files h_files)) {
           print $fh $self->canon_make_attr($method, @{ $code->$method() });
       }
   
  @@ -670,7 +670,8 @@
   	$(MODPERL_RM_F) $(MODPERL_O_PIC_FILES)
   	$(MODPERL_RM_F) $(MODPERL_CLEAN_FILES)
   
  -$(MODPERL_O_FILES): Makefile
  +$(MODPERL_O_FILES): $(MODPERL_H_FILES) Makefile
  +$(MODPERL_O_PIC_FILES): $(MODPERL_H_FILES) Makefile
   EOF
   
       close $fh;
  
  
  
  1.16      +6 -4      modperl-2.0/lib/ModPerl/Code.pm
  
  Index: Code.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/ModPerl/Code.pm,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- Code.pm	2000/04/25 03:48:26	1.15
  +++ Code.pm	2000/04/25 04:38:54	1.16
  @@ -380,12 +380,14 @@
   
   my @c_src_names = qw(interp log config callback gtop);
   my @g_c_names = map { "modperl_$_" } qw(hooks directives xsinit);
  -my @c_names   = ('mod_perl', (map "modperl_$_", @c_src_names), @g_c_names);
  -sub c_files { [map { "$_.c" } @c_names] }
  -sub o_files { [map { "$_.o" } @c_names] }
  -sub o_pic_files { [map { "$_.lo" } @c_names] }
  +my @c_names   = ('mod_perl', (map "modperl_$_", @c_src_names));
  +sub c_files { [map { "$_.c" } @c_names, @g_c_names] }
  +sub o_files { [map { "$_.o" } @c_names, @g_c_names] }
  +sub o_pic_files { [map { "$_.lo" } @c_names, @g_c_names] }
   
   my @g_h_names = map { "modperl_$_" } qw(hooks directives flags trace);
  +my @h_names = @c_names;
  +sub h_files { [map { "$_.h" } @h_names, @g_h_names] }
   
   sub clean_files {
       [(map { "$_.c" } @g_c_names), (map { "$_.h" } @g_h_names)];
  
  
  

Mime
View raw message