home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / distrib / msw / tmake / base.t < prev    next >
Text File  |  2002-02-02  |  3KB  |  93 lines

  1. #!################################################################################
  2. #! File:    base.t
  3. #! Purpose: tmake template file from which src/files.lst containing the
  4. #!          list of files for wxBase library is generated by tmake
  5. #! Author:  Vadim Zeitlin
  6. #! Created: 27.01.00
  7. #! Version: $Id: base.t,v 1.5 2002/02/02 23:15:23 VS Exp $
  8. #!################################################################################
  9. #${
  10.     #! include the code which parses filelist.txt file and initializes
  11.     #! %wxCommon, %wxGeneric, %wxHtml, %wxUnix, %wxGTK, %wxMOTIF and
  12.     #! %wxOS2PM hashes.
  13.     IncludeTemplate("filelist.t");
  14.  
  15.     #! find all our sources
  16.     foreach $file (sort keys %wxBase) {
  17.         ($fileobj = $file) =~ s/cp?p?$/\o/;
  18.  
  19.         $project{"BASE_SOURCES"} .= "common/" . $file . " ";
  20.         $project{"BASE_OBJS"} .= $fileobj . " ";
  21.     }
  22.  
  23.     foreach $file (sort keys %wxCommon) {
  24.         next unless $wxCommon{$file} =~ /\bB\b/;
  25.  
  26.         ($fileobj = $file) =~ s/cp?p?$/\o/;
  27.  
  28.         $project{"BASE_SOURCES"} .= "common/" . $file . " ";
  29.         $project{"BASE_OBJS"} .= $fileobj . " ";
  30.     }
  31.  
  32.     foreach $file (sort keys %wxUNIX) {
  33.         next unless $wxUNIX{$file} =~ /\bB\b/;
  34.  
  35.         ($fileobj = $file) =~ s/cp?p?$/\o/;
  36.  
  37.         $project{"BASE_SOURCES"} .= "unix/" . $file . " ";
  38.         $project{"BASE_UNIX_OBJS"} .= $fileobj . " ";
  39.     }
  40.  
  41.     foreach $file (sort keys %wxMSW) {
  42.         next unless $wxMSW{$file} =~ /\bB\b/;
  43.  
  44.         ($fileobj = $file) =~ s/cp?p?$/\o/;
  45.  
  46.         $project{"BASE_SOURCES"} .= "msw/" . $file . " ";
  47.         $project{"BASE_MSW_OBJS"} .= $fileobj . " ";
  48.     }
  49.  
  50.     #! find all our headers
  51.     foreach $file (sort keys %wxWXINCLUDE) {
  52.         next unless $wxWXINCLUDE{$file} =~ /\bB\b/;
  53.  
  54.         $project{"BASE_HEADERS"} .= $file . " "
  55.     }
  56.  
  57.     foreach $file (sort keys %wxUNIXINCLUDE) {
  58.         next unless $wxUNIXINCLUDE{$file} =~ /\bB\b/;
  59.  
  60.         $project{"BASE_HEADERS"} .= "unix/" . $file . " "
  61.     }
  62.  
  63.     foreach $file (sort keys %wxMSWINCLUDE) {
  64.         next unless $wxMSWINCLUDE{$file} =~ /\bB\b/;
  65.  
  66.         $project{"BASE_HEADERS"} .= "msw/" . $file . " "
  67.     }
  68.  
  69.     foreach $file (sort keys %wxPROTOCOLINCLUDE) {
  70.         next unless $wxPROTOCOLINCLUDE{$file} =~ /\bB\b/;
  71.  
  72.         $project{"BASE_HEADERS"} .= "protocol/" . $file . " "
  73.     }
  74. #$}
  75. # This file was automatically generated by tmake 
  76. # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BASE.T!
  77. ALL_SOURCES = \
  78.         #$ ExpandList("BASE_SOURCES");
  79.  
  80. ALL_HEADERS = \
  81.         #$ ExpandList("BASE_HEADERS");
  82.  
  83. BASE_OBJS = \
  84.         #$ ExpandList("BASE_OBJS");
  85.  
  86. BASE_UNIX_OBJS = \
  87.         #$ ExpandList("BASE_UNIX_OBJS");
  88.  
  89. BASE_MSW_OBJS = \
  90.         #$ ExpandList("BASE_MSW_OBJS");
  91.  
  92.  
  93.