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 / motif.t < prev    next >
Text File  |  2002-11-09  |  3KB  |  106 lines

  1. #!################################################################################
  2. #! File:    motif.t
  3. #! Purpose: tmake template file from which src/motif/files.lst containing the
  4. #!          list of files for wxMotif library is generated by tmake
  5. #! Author:  Vadim Zeitlin
  6. #! Created: 28.01.00
  7. #! Version: $Id: motif.t,v 1.6.2.1 2002/11/05 10:02:44 RL Exp $
  8. #!################################################################################
  9. #${
  10.     #! include the code which parses filelist.txt file and initializes
  11.     #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMOTIF, %wxMOTIF and
  12.     #! %wxOS2PM hashes.
  13.     IncludeTemplate("filelist.t");
  14.  
  15.     #! find all our sources
  16.     $project{"GUIOBJS"} .= "xmcombo.o ";
  17.  
  18.     foreach $file (sort keys %wxGeneric) {
  19.         next if $wxGeneric{$file} =~ /\bNotX\b/;
  20.  
  21.         ($fileobj = $file) =~ s/cp?p?$/\o/;
  22.  
  23.         $project{"MOTIF_SOURCES"} .= "generic/" . $file . " ";
  24.         $project{"GENERICOBJS"} .= $fileobj . " ";
  25.     }
  26.  
  27.     foreach $file (sort keys %wxCommon) {
  28.         next if $wxCommon{$file} =~ /\bNotX\b/;
  29.  
  30.         ($fileobj = $file) =~ s/cp?p?$/\o/;
  31.  
  32.         $project{"MOTIF_SOURCES"} .= "common/" . $file . " ";
  33.         $project{"COMMONOBJS"} .= $fileobj . " ";
  34.     }
  35.  
  36.     foreach $file (sort keys %wxMOTIF) {
  37.         ($fileobj = $file) =~ s/cp?p?$/\o/;
  38.  
  39.         $project{"MOTIF_SOURCES"} .= "motif/" . $file . " ";
  40.         $project{"GUIOBJS"} .= $fileobj . " ";
  41.     }
  42.  
  43.     foreach $file (sort keys %wxUNIX) {
  44.         ($fileobj = $file) =~ s/cp?p?$/\o/;
  45.  
  46.         $project{"MOTIF_SOURCES"} .= "unix/" . $file . " ";
  47.         $project{"UNIXOBJS"} .= $fileobj . " ";
  48.     }
  49.  
  50.     foreach $file (sort keys %wxHTML) {
  51.         ($fileobj = $file) =~ s/cp?p?$/\o/;
  52.  
  53.         $project{"MOTIF_SOURCES"} .= "html/" . $file . " ";
  54.         $project{"HTMLOBJS"} .= $fileobj . " ";
  55.     }
  56.     #! find all our headers
  57.     foreach $file (sort keys %wxWXINCLUDE) {
  58.         next if $wxWXINCLUDE{$file} =~ /\bNotX\b/;
  59.  
  60.         $project{"MOTIF_HEADERS"} .= $file . " "
  61.     }
  62.  
  63.     foreach $file (sort keys %wxMOTIFINCLUDE) {
  64.         $project{"MOTIF_HEADERS"} .= "motif/" . $file . " "
  65.     }
  66.  
  67.     foreach $file (sort keys %wxGENERICINCLUDE) {
  68.         $project{"MOTIF_HEADERS"} .= "generic/" . $file . " "
  69.     }
  70.  
  71.     foreach $file (sort keys %wxUNIXINCLUDE) {
  72.         $project{"MOTIF_HEADERS"} .= "unix/" . $file . " "
  73.     }
  74.  
  75.     foreach $file (sort keys %wxHTMLINCLUDE) {
  76.         $project{"MOTIF_HEADERS"} .= "html/" . $file . " "
  77.     }
  78.  
  79.     foreach $file (sort keys %wxPROTOCOLINCLUDE) {
  80.         $project{"MOTIF_HEADERS"} .= "protocol/" . $file . " "
  81.     }
  82. #$}
  83. # This file was automatically generated by tmake 
  84. # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T!
  85. ALL_SOURCES = \
  86.         #$ ExpandList("MOTIF_SOURCES");
  87.  
  88. ALL_HEADERS = \
  89.         #$ ExpandList("MOTIF_HEADERS");
  90.  
  91. COMMONOBJS = \
  92.         #$ ExpandList("COMMONOBJS");
  93.  
  94. GENERICOBJS = \
  95.         #$ ExpandList("GENERICOBJS");
  96.  
  97. GUIOBJS = \
  98.         #$ ExpandList("GUIOBJS");
  99.  
  100. UNIXOBJS = \
  101.         #$ ExpandList("UNIXOBJS");
  102.  
  103. HTMLOBJS = \
  104.         #$ ExpandList("HTMLOBJS");
  105.  
  106.