From aa2d6059971e191317dd12ab05541f7932ed7205 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Fri, 21 Mar 2003 16:19:22 +0000 Subject: [PATCH] Added tmake template for wxCocoa, heavily derived from wxMac's mac.t git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- distrib/msw/tmake/cocoa.t | 119 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 distrib/msw/tmake/cocoa.t diff --git a/distrib/msw/tmake/cocoa.t b/distrib/msw/tmake/cocoa.t new file mode 100644 index 0000000000..84111bee89 --- /dev/null +++ b/distrib/msw/tmake/cocoa.t @@ -0,0 +1,119 @@ +#!################################################################################ +#! File: cocoa.t +#! Purpose: tmake template file from which src/cocoa/files.lst containing the +#! list of files for wxCocoa library is generated by tmake +#! Author: Gilles Depeyrot (mac.t) +#! Created: 04.10.01 +#! Modified: David Elliott +#! Version: $Id: +#!################################################################################ +#${ + #! include the code which parses filelist.txt file and initializes + #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMAC, %wxMOTIF and + #! %wxOS2PM hashes. + IncludeTemplate("filelist.t"); + + #! find all our sources + $project{"COMMONOBJS"} .= "parser.o "; + + foreach $file (sort keys %wxGeneric) { + next if $wxGeneric{$file} =~ /\bNotCocoa\b/; + + ($fileobj = $file) =~ s/cp?p?$/\o/; + $fileobj =~ s/mm?$/\o/; + + $project{"COCOA_SOURCES"} .= "generic/" . $file . " "; + $project{"GENERICOBJS"} .= $fileobj . " "; + } + + foreach $file (sort keys %wxCommon) { + next if $wxCommon{$file} =~ /\bNotCocoa\b/; + + ($fileobj = $file) =~ s/cp?p?$/\o/; + $fileobj =~ s/mm?$/\o/; + + $project{"COCOA_SOURCES"} .= "common/" . $file . " "; + $project{"COMMONOBJS"} .= $fileobj . " "; + } + + foreach $file (sort keys %wxCOCOA) { + ($fileobj = $file) =~ s/cp?p?$/\o/; + $fileobj =~ s/mm?$/\o/; + + $project{"COCOA_SOURCES"} .= "cocoa/" . $file . " "; + $project{"GUIOBJS"} .= $fileobj . " "; + } + + foreach $file (sort keys %wxUNIX) { + next if $wxUNIX{$file} =~ /\bNotCocoa\b/; + + ($fileobj = $file) =~ s/cp?p?$/\o/; + $fileobj =~ s/mm?$/\o/; + + $project{"COCOA_SOURCES"} .= "unix/" . $file . " "; + $project{"UNIXOBJS"} .= $fileobj . " "; + } + + foreach $file (sort keys %wxHTML) { + ($fileobj = $file) =~ s/cp?p?$/\o/; + $fileobj =~ s/mm?$/\o/; + + $project{"COCOA_SOURCES"} .= "html/" . $file . " "; + $project{"HTMLOBJS"} .= $fileobj . " "; + } + #! find all our headers + foreach $file (sort keys %wxWXINCLUDE) { + next if $wxWXINCLUDE{$file} =~ /\bX\b/; + + $project{"COCOA_HEADERS"} .= $file . " " + } + + foreach $file (sort keys %wxCOCOAINCLUDE) { + $project{"COCOA_HEADERS"} .= "cocoa/" . $file . " " + } + + foreach $file (sort keys %wxGENERICINCLUDE) { + $project{"COCOA_HEADERS"} .= "generic/" . $file . " " + } + + foreach $file (sort keys %wxUNIXINCLUDE) { + $project{"COCOA_HEADERS"} .= "unix/" . $file . " " + } + + foreach $file (sort keys %wxHTMLINCLUDE) { + $project{"COCOA_HEADERS"} .= "html/" . $file . " " + } + + foreach $file (sort keys %wxPROTOCOLINCLUDE) { + $project{"COCOA_HEADERS"} .= "protocol/" . $file . " " + } + + foreach $file (sort keys %wxCOCOARESOURCE) { + $project{"COCOARESOURCES"} .= $file . " " + } +#$} +# This file was automatically generated by tmake +# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE COCOA.T! +ALL_SOURCES = \ + #$ ExpandList("COCOA_SOURCES"); + +ALL_HEADERS = \ + #$ ExpandList("COCOA_HEADERS"); + +COMMONOBJS = \ + #$ ExpandList("COMMONOBJS"); + +GENERICOBJS = \ + #$ ExpandList("GENERICOBJS"); + +GUIOBJS = \ + #$ ExpandList("GUIOBJS"); + +UNIXOBJS = \ + #$ ExpandList("UNIXOBJS"); + +HTMLOBJS = \ + #$ ExpandList("HTMLOBJS"); + +COCOARESOURCES = \ + #$ ExpandList("COCOARESOURCES"); -- 2.45.2