From 3b76b398e0d688636487ef7697ef245d16d26f79 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Tue, 23 Feb 2010 20:58:18 -0500 Subject: [PATCH] trying to get the test class(es) to compile correctly --- .../me/tests/TestDebugging.as | 2 +- mktargets.py | 68 ++- targets.mk | 460 +++++++++++++----- 3 files changed, 389 insertions(+), 141 deletions(-) diff --git a/custom-03g1-debugging/me/tests/TestDebugging.as b/custom-03g1-debugging/me/tests/TestDebugging.as index d9ccf94..40a265c 100644 --- a/custom-03g1-debugging/me/tests/TestDebugging.as +++ b/custom-03g1-debugging/me/tests/TestDebugging.as @@ -1,6 +1,6 @@ package me.tests { - import me.Debugging; + import me.DebuggingApp; import mx.core.Application; import org.flexunit.listeners.UIListener; diff --git a/mktargets.py b/mktargets.py index 5eb94e8..d9846f4 100755 --- a/mktargets.py +++ b/mktargets.py @@ -6,15 +6,22 @@ import re import sys import glob from fnmatch import fnmatch +from itertools import ifilter from os.path import join as pathjoin, relpath, dirname, \ - abspath, basename, splitext + abspath, basename, splitext, sep as pathsep HERE = dirname(abspath(__file__)) AUTOGEN_WARNING = ('# ******** AUTOGENERATED by {0} ' + ('*' * 20)).format(basename(sys.argv[0])) -PATTERN_RULE_MXMLC = \ - '$(MXMLC) {primary_dep} $(MXMLC_FLAGS) -l+={parent_dir} -o {target}' +DEP_SEP = ' \\\n ' +RULE_SEP = '\n\n' +TARGET_FMT = '{target}:' + DEP_SEP + '{deps}' +RULE_FMT = '\\\n\t'.join([ + '\t$(MXMLC) {primary_dep} ', + '$(MXMLC_FLAGS) -l+={parent_dir} ', + '-l+={package_base} -o {target}', +]) def main(sysargs=sys.argv[:]): @@ -38,24 +45,39 @@ class TargetMaker(object): self.targets = {} def make(self): + self._glob_for_top_level_mxml_targets() + self._find_test_class_targets() + self._write_out_targets() + + def _glob_for_top_level_mxml_targets(self): for pattern in self._to_glob: for mxml in glob.glob(pattern): self._add_target_from_mxml(mxml) - self._write_out_targets() + + def _find_test_class_targets(self): + for dirpath, dirnames, filenames in os.walk(HERE): + filter_generated_dirs(dirnames) + for filename in filenames: + if is_test_class(filename): + test_class = pathjoin(dirpath, filename) + self._add_target_from_test_class(test_class) + + def _add_target_from_test_class(self, test_class): + rel_class = relpath(test_class, HERE) + as_swf = re.sub('(.*)\.as$', '\\1.swf', rel_class) + self.targets[as_swf] = set([rel_class]) def _add_target_from_mxml(self, mxml): rel_mxml = relpath(mxml, HERE) as_swf = re.sub('(.*)\.mxml$', '\\1.swf', rel_mxml) self.targets[as_swf] = set([rel_mxml]) - self._add_deps_from_alt_source_file_extensions(as_swf, rel_mxml) def _add_deps_from_alt_source_file_extensions(self, as_swf, rel_mxml): basedir = dirname(rel_mxml) for dirpath, dirnames, filenames in os.walk(basedir): - for i, directory in enumerate(dirnames): - if directory == 'generated': - dirnames.pop(i) + filter_generated_dirs(dirnames) + filter_test_classes(filenames) for filename in filenames: if ext(filename) in self._source_fileexts: rel_source = relpath(pathjoin(dirpath, filename), HERE) @@ -69,10 +91,10 @@ class TargetMaker(object): pattern_rule_kwargs = \ self._get_pattern_rule_kwargs(primary_dep, target) - print('{target}: {deps}'.format(target=target, - deps=' '.join(deps)), file=self.outstream) - print('\t' + PATTERN_RULE_MXMLC.format(**pattern_rule_kwargs) + - '\n\n', file=self.outstream) + print(TARGET_FMT.format(target=target, + deps=DEP_SEP.join(deps)), file=self.outstream) + print(RULE_FMT.format(**pattern_rule_kwargs) + + RULE_SEP, file=self.outstream) def _get_deps_for_target(self, target): deps = [] @@ -93,10 +115,12 @@ class TargetMaker(object): ret = dict( primary_dep=primary_dep, parent_dir=dirname(primary_dep), + package_base=primary_dep.strip('./').split(pathsep)[0], target=target ) return ret + def ext(filename): return splitext(filename)[-1] @@ -105,6 +129,26 @@ def namebase(filename): return splitext(filename)[0] +def filter_generated_dirs(dirnames): + for i, directory in enumerate(dirnames[:]): + if directory == 'generated': + dirnames[i] = None + dirnames[:] = list(ifilter(None, dirnames)) + + +def filter_test_classes(filenames): + for i, filename in enumerate(filenames[:]): + if is_test_class(filename): + filenames[i] = None + filenames[:] = list(ifilter(None, filenames)) + + +def is_test_class(filename): + base_filename = basename(filename) + return base_filename.startswith('Test') and \ + ext(filename) == '.as' + + if __name__ == '__main__': sys.exit(main()) diff --git a/targets.mk b/targets.mk index a685d2d..cb4d22f 100644 --- a/targets.mk +++ b/targets.mk @@ -1,205 +1,409 @@ # ******** AUTOGENERATED by mktargets.py ******************** -01-flickr/FlickrRIA.swf: 01-flickr/FlickrThumbnail.mxml 01-flickr/FlickrRIA.mxml - $(MXMLC) 01-flickr/FlickrRIA.mxml $(MXMLC_FLAGS) -l+=01-flickr -o 01-flickr/FlickrRIA.swf +01-flickr/FlickrRIA.swf: \ + 01-flickr/FlickrThumbnail.mxml \ + 01-flickr/FlickrRIA.mxml + $(MXMLC) 01-flickr/FlickrRIA.mxml \ + $(MXMLC_FLAGS) -l+=01-flickr \ + -l+=01-flickr -o 01-flickr/FlickrRIA.swf -01-flickr/FlickrThumbnail.swf: 01-flickr/FlickrThumbnail.mxml 01-flickr/FlickrRIA.mxml - $(MXMLC) 01-flickr/FlickrThumbnail.mxml $(MXMLC_FLAGS) -l+=01-flickr -o 01-flickr/FlickrThumbnail.swf +01-flickr/FlickrThumbnail.swf: \ + 01-flickr/FlickrThumbnail.mxml \ + 01-flickr/FlickrRIA.mxml + $(MXMLC) 01-flickr/FlickrThumbnail.mxml \ + $(MXMLC_FLAGS) -l+=01-flickr \ + -l+=01-flickr -o 01-flickr/FlickrThumbnail.swf -02-shipping/PlainText.swf: 02-shipping/PlainText.mxml - $(MXMLC) 02-shipping/PlainText.mxml $(MXMLC_FLAGS) -l+=02-shipping -o 02-shipping/PlainText.swf +02-shipping/PlainText.swf: \ + 02-shipping/PlainText.mxml + $(MXMLC) 02-shipping/PlainText.mxml \ + $(MXMLC_FLAGS) -l+=02-shipping \ + -l+=02-shipping -o 02-shipping/PlainText.swf -03a1-binding-and-modeling/YahooWeather.swf: 03a1-binding-and-modeling/YahooWeather.mxml - $(MXMLC) 03a1-binding-and-modeling/YahooWeather.mxml $(MXMLC_FLAGS) -l+=03a1-binding-and-modeling -o 03a1-binding-and-modeling/YahooWeather.swf +03a1-binding-and-modeling/YahooWeather.swf: \ + 03a1-binding-and-modeling/YahooWeather.mxml + $(MXMLC) 03a1-binding-and-modeling/YahooWeather.mxml \ + $(MXMLC_FLAGS) -l+=03a1-binding-and-modeling \ + -l+=03a1-binding-and-modeling -o 03a1-binding-and-modeling/YahooWeather.swf -03a2-crud-dynamic/CRUDDynamic.swf: 03a2-crud-dynamic/CRUDDynamic.mxml 03a2-crud-dynamic/dyn-employees.as - $(MXMLC) 03a2-crud-dynamic/CRUDDynamic.mxml $(MXMLC_FLAGS) -l+=03a2-crud-dynamic -o 03a2-crud-dynamic/CRUDDynamic.swf +03a2-crud-dynamic/CRUDDynamic.swf: \ + 03a2-crud-dynamic/CRUDDynamic.mxml \ + 03a2-crud-dynamic/dyn-employees.as + $(MXMLC) 03a2-crud-dynamic/CRUDDynamic.mxml \ + $(MXMLC_FLAGS) -l+=03a2-crud-dynamic \ + -l+=03a2-crud-dynamic -o 03a2-crud-dynamic/CRUDDynamic.swf -03a3-crud-static/CRUDStatic.swf: 03a3-crud-static/CRUDStatic.mxml 03a3-crud-static/static-employees.as - $(MXMLC) 03a3-crud-static/CRUDStatic.mxml $(MXMLC_FLAGS) -l+=03a3-crud-static -o 03a3-crud-static/CRUDStatic.swf +03a3-crud-static/CRUDStatic.swf: \ + 03a3-crud-static/CRUDStatic.mxml \ + 03a3-crud-static/static-employees.as + $(MXMLC) 03a3-crud-static/CRUDStatic.mxml \ + $(MXMLC_FLAGS) -l+=03a3-crud-static \ + -l+=03a3-crud-static -o 03a3-crud-static/CRUDStatic.swf -03a4-external-interface/Main.swf: 03a4-external-interface/Main.mxml - $(MXMLC) 03a4-external-interface/Main.mxml $(MXMLC_FLAGS) -l+=03a4-external-interface -o 03a4-external-interface/Main.swf +03a4-external-interface/Main.swf: \ + 03a4-external-interface/Main.mxml + $(MXMLC) 03a4-external-interface/Main.mxml \ + $(MXMLC_FLAGS) -l+=03a4-external-interface \ + -l+=03a4-external-interface -o 03a4-external-interface/Main.swf -03a5-local-connections/BasicTaskReceiver.swf: 03a5-local-connections/BasicTaskReceiver.mxml 03a5-local-connections/TaskSender.mxml - $(MXMLC) 03a5-local-connections/BasicTaskReceiver.mxml $(MXMLC_FLAGS) -l+=03a5-local-connections -o 03a5-local-connections/BasicTaskReceiver.swf +03a5-local-connections/BasicTaskReceiver.swf: \ + 03a5-local-connections/BasicTaskReceiver.mxml \ + 03a5-local-connections/TaskSender.mxml + $(MXMLC) 03a5-local-connections/BasicTaskReceiver.mxml \ + $(MXMLC_FLAGS) -l+=03a5-local-connections \ + -l+=03a5-local-connections -o 03a5-local-connections/BasicTaskReceiver.swf -03a5-local-connections/TaskSender.swf: 03a5-local-connections/BasicTaskReceiver.mxml 03a5-local-connections/TaskSender.mxml - $(MXMLC) 03a5-local-connections/TaskSender.mxml $(MXMLC_FLAGS) -l+=03a5-local-connections -o 03a5-local-connections/TaskSender.swf +03a5-local-connections/TaskSender.swf: \ + 03a5-local-connections/BasicTaskReceiver.mxml \ + 03a5-local-connections/TaskSender.mxml + $(MXMLC) 03a5-local-connections/TaskSender.mxml \ + $(MXMLC_FLAGS) -l+=03a5-local-connections \ + -l+=03a5-local-connections -o 03a5-local-connections/TaskSender.swf -03a6-shared-objects/SharedObjectExample.swf: 03a6-shared-objects/SharedObjectExample.mxml - $(MXMLC) 03a6-shared-objects/SharedObjectExample.mxml $(MXMLC_FLAGS) -l+=03a6-shared-objects -o 03a6-shared-objects/SharedObjectExample.swf +03a6-shared-objects/SharedObjectExample.swf: \ + 03a6-shared-objects/SharedObjectExample.mxml + $(MXMLC) 03a6-shared-objects/SharedObjectExample.mxml \ + $(MXMLC_FLAGS) -l+=03a6-shared-objects \ + -l+=03a6-shared-objects -o 03a6-shared-objects/SharedObjectExample.swf -03a7-validation-and-formatting/ValidatorsandFormattersExampleWithAreaCodeLookup.swf: 03a7-validation-and-formatting/ValidatorsandFormattersExampleWithAreaCodeLookup.mxml - $(MXMLC) 03a7-validation-and-formatting/ValidatorsandFormattersExampleWithAreaCodeLookup.mxml $(MXMLC_FLAGS) -l+=03a7-validation-and-formatting -o 03a7-validation-and-formatting/ValidatorsandFormattersExampleWithAreaCodeLookup.swf +03a7-validation-and-formatting/ValidatorsandFormattersExampleWithAreaCodeLookup.swf: \ + 03a7-validation-and-formatting/ValidatorsandFormattersExampleWithAreaCodeLookup.mxml + $(MXMLC) 03a7-validation-and-formatting/ValidatorsandFormattersExampleWithAreaCodeLookup.mxml \ + $(MXMLC_FLAGS) -l+=03a7-validation-and-formatting \ + -l+=03a7-validation-and-formatting -o 03a7-validation-and-formatting/ValidatorsandFormattersExampleWithAreaCodeLookup.swf -03b-handling-events/TwitterTimeline.swf: 03b-handling-events/TwitterTimeline.mxml - $(MXMLC) 03b-handling-events/TwitterTimeline.mxml $(MXMLC_FLAGS) -l+=03b-handling-events -o 03b-handling-events/TwitterTimeline.swf +03b-handling-events/TwitterTimeline.swf: \ + 03b-handling-events/TwitterTimeline.mxml + $(MXMLC) 03b-handling-events/TwitterTimeline.mxml \ + $(MXMLC_FLAGS) -l+=03b-handling-events \ + -l+=03b-handling-events -o 03b-handling-events/TwitterTimeline.swf -03b1-event-listeners/VBoxDemo.swf: 03b1-event-listeners/VBoxDemo.mxml - $(MXMLC) 03b1-event-listeners/VBoxDemo.mxml $(MXMLC_FLAGS) -l+=03b1-event-listeners -o 03b1-event-listeners/VBoxDemo.swf +03b1-event-listeners/VBoxDemo.swf: \ + 03b1-event-listeners/VBoxDemo.mxml + $(MXMLC) 03b1-event-listeners/VBoxDemo.mxml \ + $(MXMLC_FLAGS) -l+=03b1-event-listeners \ + -l+=03b1-event-listeners -o 03b1-event-listeners/VBoxDemo.swf -03b2-event-propagation/DemoApplication.swf: 03b2-event-propagation/DemoApplication.mxml - $(MXMLC) 03b2-event-propagation/DemoApplication.mxml $(MXMLC_FLAGS) -l+=03b2-event-propagation -o 03b2-event-propagation/DemoApplication.swf +03b2-event-propagation/DemoApplication.swf: \ + 03b2-event-propagation/DemoApplication.mxml + $(MXMLC) 03b2-event-propagation/DemoApplication.mxml \ + $(MXMLC_FLAGS) -l+=03b2-event-propagation \ + -l+=03b2-event-propagation -o 03b2-event-propagation/DemoApplication.swf -03b3-simple-ui-event/Example1.swf: 03b3-simple-ui-event/Example1.mxml 03b3-simple-ui-event/Example2.mxml - $(MXMLC) 03b3-simple-ui-event/Example1.mxml $(MXMLC_FLAGS) -l+=03b3-simple-ui-event -o 03b3-simple-ui-event/Example1.swf +03b3-simple-ui-event/Example1.swf: \ + 03b3-simple-ui-event/Example1.mxml \ + 03b3-simple-ui-event/Example2.mxml + $(MXMLC) 03b3-simple-ui-event/Example1.mxml \ + $(MXMLC_FLAGS) -l+=03b3-simple-ui-event \ + -l+=03b3-simple-ui-event -o 03b3-simple-ui-event/Example1.swf -03b3-simple-ui-event/Example2.swf: 03b3-simple-ui-event/Example1.mxml 03b3-simple-ui-event/Example2.mxml - $(MXMLC) 03b3-simple-ui-event/Example2.mxml $(MXMLC_FLAGS) -l+=03b3-simple-ui-event -o 03b3-simple-ui-event/Example2.swf +03b3-simple-ui-event/Example2.swf: \ + 03b3-simple-ui-event/Example1.mxml \ + 03b3-simple-ui-event/Example2.mxml + $(MXMLC) 03b3-simple-ui-event/Example2.mxml \ + $(MXMLC_FLAGS) -l+=03b3-simple-ui-event \ + -l+=03b3-simple-ui-event -o 03b3-simple-ui-event/Example2.swf -03c1-application-container/Demo.swf: 03c1-application-container/Demo.mxml - $(MXMLC) 03c1-application-container/Demo.mxml $(MXMLC_FLAGS) -l+=03c1-application-container -o 03c1-application-container/Demo.swf +03c1-application-container/Demo.swf: \ + 03c1-application-container/Demo.mxml + $(MXMLC) 03c1-application-container/Demo.mxml \ + $(MXMLC_FLAGS) -l+=03c1-application-container \ + -l+=03c1-application-container -o 03c1-application-container/Demo.swf -03c2-box-model/HBoxExample.swf: 03c2-box-model/VBoxExample.mxml 03c2-box-model/VBoxHBoxCombo.mxml 03c2-box-model/HBoxExample.mxml - $(MXMLC) 03c2-box-model/HBoxExample.mxml $(MXMLC_FLAGS) -l+=03c2-box-model -o 03c2-box-model/HBoxExample.swf +03c2-box-model/HBoxExample.swf: \ + 03c2-box-model/VBoxExample.mxml \ + 03c2-box-model/VBoxHBoxCombo.mxml \ + 03c2-box-model/HBoxExample.mxml + $(MXMLC) 03c2-box-model/HBoxExample.mxml \ + $(MXMLC_FLAGS) -l+=03c2-box-model \ + -l+=03c2-box-model -o 03c2-box-model/HBoxExample.swf -03c2-box-model/VBoxExample.swf: 03c2-box-model/VBoxExample.mxml 03c2-box-model/VBoxHBoxCombo.mxml 03c2-box-model/HBoxExample.mxml - $(MXMLC) 03c2-box-model/VBoxExample.mxml $(MXMLC_FLAGS) -l+=03c2-box-model -o 03c2-box-model/VBoxExample.swf +03c2-box-model/VBoxExample.swf: \ + 03c2-box-model/VBoxExample.mxml \ + 03c2-box-model/VBoxHBoxCombo.mxml \ + 03c2-box-model/HBoxExample.mxml + $(MXMLC) 03c2-box-model/VBoxExample.mxml \ + $(MXMLC_FLAGS) -l+=03c2-box-model \ + -l+=03c2-box-model -o 03c2-box-model/VBoxExample.swf -03c2-box-model/VBoxHBoxCombo.swf: 03c2-box-model/VBoxExample.mxml 03c2-box-model/VBoxHBoxCombo.mxml 03c2-box-model/HBoxExample.mxml - $(MXMLC) 03c2-box-model/VBoxHBoxCombo.mxml $(MXMLC_FLAGS) -l+=03c2-box-model -o 03c2-box-model/VBoxHBoxCombo.swf +03c2-box-model/VBoxHBoxCombo.swf: \ + 03c2-box-model/VBoxExample.mxml \ + 03c2-box-model/VBoxHBoxCombo.mxml \ + 03c2-box-model/HBoxExample.mxml + $(MXMLC) 03c2-box-model/VBoxHBoxCombo.mxml \ + $(MXMLC_FLAGS) -l+=03c2-box-model \ + -l+=03c2-box-model -o 03c2-box-model/VBoxHBoxCombo.swf -03c3-canvas-absolute/Example.swf: 03c3-canvas-absolute/Example.mxml - $(MXMLC) 03c3-canvas-absolute/Example.mxml $(MXMLC_FLAGS) -l+=03c3-canvas-absolute -o 03c3-canvas-absolute/Example.swf +03c3-canvas-absolute/Example.swf: \ + 03c3-canvas-absolute/Example.mxml + $(MXMLC) 03c3-canvas-absolute/Example.mxml \ + $(MXMLC_FLAGS) -l+=03c3-canvas-absolute \ + -l+=03c3-canvas-absolute -o 03c3-canvas-absolute/Example.swf -03c4-canvas-relative/Photo.swf: 03c4-canvas-relative/Photo.mxml - $(MXMLC) 03c4-canvas-relative/Photo.mxml $(MXMLC_FLAGS) -l+=03c4-canvas-relative -o 03c4-canvas-relative/Photo.swf +03c4-canvas-relative/Photo.swf: \ + 03c4-canvas-relative/Photo.mxml + $(MXMLC) 03c4-canvas-relative/Photo.mxml \ + $(MXMLC_FLAGS) -l+=03c4-canvas-relative \ + -l+=03c4-canvas-relative -o 03c4-canvas-relative/Photo.swf -03c5-combined-layout/Combined.swf: 03c5-combined-layout/Combined.mxml - $(MXMLC) 03c5-combined-layout/Combined.mxml $(MXMLC_FLAGS) -l+=03c5-combined-layout -o 03c5-combined-layout/Combined.swf +03c5-combined-layout/Combined.swf: \ + 03c5-combined-layout/Combined.mxml + $(MXMLC) 03c5-combined-layout/Combined.mxml \ + $(MXMLC_FLAGS) -l+=03c5-combined-layout \ + -l+=03c5-combined-layout -o 03c5-combined-layout/Combined.swf -03c6-form/CommentForm.swf: 03c6-form/CommentForm.mxml - $(MXMLC) 03c6-form/CommentForm.mxml $(MXMLC_FLAGS) -l+=03c6-form -o 03c6-form/CommentForm.swf +03c6-form/CommentForm.swf: \ + 03c6-form/CommentForm.mxml + $(MXMLC) 03c6-form/CommentForm.mxml \ + $(MXMLC_FLAGS) -l+=03c6-form \ + -l+=03c6-form -o 03c6-form/CommentForm.swf -03c7-mxml-vs-as3/WithAs3.swf: 03c7-mxml-vs-as3/WithAs3.mxml 03c7-mxml-vs-as3/WithMxml.mxml - $(MXMLC) 03c7-mxml-vs-as3/WithAs3.mxml $(MXMLC_FLAGS) -l+=03c7-mxml-vs-as3 -o 03c7-mxml-vs-as3/WithAs3.swf +03c7-mxml-vs-as3/WithAs3.swf: \ + 03c7-mxml-vs-as3/WithAs3.mxml \ + 03c7-mxml-vs-as3/WithMxml.mxml + $(MXMLC) 03c7-mxml-vs-as3/WithAs3.mxml \ + $(MXMLC_FLAGS) -l+=03c7-mxml-vs-as3 \ + -l+=03c7-mxml-vs-as3 -o 03c7-mxml-vs-as3/WithAs3.swf -03c7-mxml-vs-as3/WithMxml.swf: 03c7-mxml-vs-as3/WithMxml.mxml 03c7-mxml-vs-as3/WithAs3.mxml - $(MXMLC) 03c7-mxml-vs-as3/WithMxml.mxml $(MXMLC_FLAGS) -l+=03c7-mxml-vs-as3 -o 03c7-mxml-vs-as3/WithMxml.swf +03c7-mxml-vs-as3/WithMxml.swf: \ + 03c7-mxml-vs-as3/WithMxml.mxml \ + 03c7-mxml-vs-as3/WithAs3.mxml + $(MXMLC) 03c7-mxml-vs-as3/WithMxml.mxml \ + $(MXMLC_FLAGS) -l+=03c7-mxml-vs-as3 \ + -l+=03c7-mxml-vs-as3 -o 03c7-mxml-vs-as3/WithMxml.swf -03c8-panel/Photo.swf: 03c8-panel/Photo.mxml - $(MXMLC) 03c8-panel/Photo.mxml $(MXMLC_FLAGS) -l+=03c8-panel -o 03c8-panel/Photo.swf +03c8-panel/Photo.swf: \ + 03c8-panel/Photo.mxml + $(MXMLC) 03c8-panel/Photo.mxml \ + $(MXMLC_FLAGS) -l+=03c8-panel \ + -l+=03c8-panel -o 03c8-panel/Photo.swf -03d1-datagrid/DataGridExample.swf: 03d1-datagrid/DataGridExample.mxml 03d1-datagrid/RequestParams.as 03d1-datagrid/DataGridApp.as - $(MXMLC) 03d1-datagrid/DataGridExample.mxml $(MXMLC_FLAGS) -l+=03d1-datagrid -o 03d1-datagrid/DataGridExample.swf +03d1-datagrid/DataGridExample.swf: \ + 03d1-datagrid/DataGridExample.mxml \ + 03d1-datagrid/RequestParams.as \ + 03d1-datagrid/DataGridApp.as + $(MXMLC) 03d1-datagrid/DataGridExample.mxml \ + $(MXMLC_FLAGS) -l+=03d1-datagrid \ + -l+=03d1-datagrid -o 03d1-datagrid/DataGridExample.swf -03d2-item-renderers/HBoxWeatherDisplay.swf: 03d2-item-renderers/HBoxWeatherDisplay.mxml 03d2-item-renderers/WeatherDisplay.mxml - $(MXMLC) 03d2-item-renderers/HBoxWeatherDisplay.mxml $(MXMLC_FLAGS) -l+=03d2-item-renderers -o 03d2-item-renderers/HBoxWeatherDisplay.swf +03d2-item-renderers/HBoxWeatherDisplay.swf: \ + 03d2-item-renderers/HBoxWeatherDisplay.mxml \ + 03d2-item-renderers/WeatherDisplay.mxml + $(MXMLC) 03d2-item-renderers/HBoxWeatherDisplay.mxml \ + $(MXMLC_FLAGS) -l+=03d2-item-renderers \ + -l+=03d2-item-renderers -o 03d2-item-renderers/HBoxWeatherDisplay.swf -03d2-item-renderers/WeatherDisplay.swf: 03d2-item-renderers/HBoxWeatherDisplay.mxml 03d2-item-renderers/WeatherDisplay.mxml - $(MXMLC) 03d2-item-renderers/WeatherDisplay.mxml $(MXMLC_FLAGS) -l+=03d2-item-renderers -o 03d2-item-renderers/WeatherDisplay.swf +03d2-item-renderers/WeatherDisplay.swf: \ + 03d2-item-renderers/HBoxWeatherDisplay.mxml \ + 03d2-item-renderers/WeatherDisplay.mxml + $(MXMLC) 03d2-item-renderers/WeatherDisplay.mxml \ + $(MXMLC_FLAGS) -l+=03d2-item-renderers \ + -l+=03d2-item-renderers -o 03d2-item-renderers/WeatherDisplay.swf -03d3-lists/HorizontalListControl.swf: 03d3-lists/ListControl.mxml 03d3-lists/HorizontalListControl.mxml - $(MXMLC) 03d3-lists/HorizontalListControl.mxml $(MXMLC_FLAGS) -l+=03d3-lists -o 03d3-lists/HorizontalListControl.swf +03d3-lists/HorizontalListControl.swf: \ + 03d3-lists/ListControl.mxml \ + 03d3-lists/HorizontalListControl.mxml + $(MXMLC) 03d3-lists/HorizontalListControl.mxml \ + $(MXMLC_FLAGS) -l+=03d3-lists \ + -l+=03d3-lists -o 03d3-lists/HorizontalListControl.swf -03d3-lists/ListControl.swf: 03d3-lists/ListControl.mxml 03d3-lists/HorizontalListControl.mxml - $(MXMLC) 03d3-lists/ListControl.mxml $(MXMLC_FLAGS) -l+=03d3-lists -o 03d3-lists/ListControl.swf +03d3-lists/ListControl.swf: \ + 03d3-lists/ListControl.mxml \ + 03d3-lists/HorizontalListControl.mxml + $(MXMLC) 03d3-lists/ListControl.mxml \ + $(MXMLC_FLAGS) -l+=03d3-lists \ + -l+=03d3-lists -o 03d3-lists/ListControl.swf -03d4-tilelist/TileListExample.swf: 03d4-tilelist/TileListExample.mxml - $(MXMLC) 03d4-tilelist/TileListExample.mxml $(MXMLC_FLAGS) -l+=03d4-tilelist -o 03d4-tilelist/TileListExample.swf +03d4-tilelist/TileListExample.swf: \ + 03d4-tilelist/TileListExample.mxml + $(MXMLC) 03d4-tilelist/TileListExample.mxml \ + $(MXMLC_FLAGS) -l+=03d4-tilelist \ + -l+=03d4-tilelist -o 03d4-tilelist/TileListExample.swf -03e1-accordion/Recipe.swf: 03e1-accordion/Recipe.mxml - $(MXMLC) 03e1-accordion/Recipe.mxml $(MXMLC_FLAGS) -l+=03e1-accordion -o 03e1-accordion/Recipe.swf +03e1-accordion/Recipe.swf: \ + 03e1-accordion/Recipe.mxml + $(MXMLC) 03e1-accordion/Recipe.mxml \ + $(MXMLC_FLAGS) -l+=03e1-accordion \ + -l+=03e1-accordion -o 03e1-accordion/Recipe.swf -03e2-tabbar-linkbar/LinkBar.swf: 03e2-tabbar-linkbar/LinkBar.mxml 03e2-tabbar-linkbar/TabBarDemo.mxml - $(MXMLC) 03e2-tabbar-linkbar/LinkBar.mxml $(MXMLC_FLAGS) -l+=03e2-tabbar-linkbar -o 03e2-tabbar-linkbar/LinkBar.swf +03e2-tabbar-linkbar/LinkBar.swf: \ + 03e2-tabbar-linkbar/LinkBar.mxml \ + 03e2-tabbar-linkbar/TabBarDemo.mxml + $(MXMLC) 03e2-tabbar-linkbar/LinkBar.mxml \ + $(MXMLC_FLAGS) -l+=03e2-tabbar-linkbar \ + -l+=03e2-tabbar-linkbar -o 03e2-tabbar-linkbar/LinkBar.swf -03e2-tabbar-linkbar/TabBarDemo.swf: 03e2-tabbar-linkbar/LinkBar.mxml 03e2-tabbar-linkbar/TabBarDemo.mxml - $(MXMLC) 03e2-tabbar-linkbar/TabBarDemo.mxml $(MXMLC_FLAGS) -l+=03e2-tabbar-linkbar -o 03e2-tabbar-linkbar/TabBarDemo.swf +03e2-tabbar-linkbar/TabBarDemo.swf: \ + 03e2-tabbar-linkbar/LinkBar.mxml \ + 03e2-tabbar-linkbar/TabBarDemo.mxml + $(MXMLC) 03e2-tabbar-linkbar/TabBarDemo.mxml \ + $(MXMLC_FLAGS) -l+=03e2-tabbar-linkbar \ + -l+=03e2-tabbar-linkbar -o 03e2-tabbar-linkbar/TabBarDemo.swf -03e3-tabnavigator/Shopping.swf: 03e3-tabnavigator/Shopping.mxml - $(MXMLC) 03e3-tabnavigator/Shopping.mxml $(MXMLC_FLAGS) -l+=03e3-tabnavigator -o 03e3-tabnavigator/Shopping.swf +03e3-tabnavigator/Shopping.swf: \ + 03e3-tabnavigator/Shopping.mxml + $(MXMLC) 03e3-tabnavigator/Shopping.mxml \ + $(MXMLC_FLAGS) -l+=03e3-tabnavigator \ + -l+=03e3-tabnavigator -o 03e3-tabnavigator/Shopping.swf + + +03e4-viewstack/ViewStackDemo.swf: \ + 03e4-viewstack/ViewStackDemo.mxml + $(MXMLC) 03e4-viewstack/ViewStackDemo.mxml \ + $(MXMLC_FLAGS) -l+=03e4-viewstack \ + -l+=03e4-viewstack -o 03e4-viewstack/ViewStackDemo.swf -03e4-viewstack/ViewStackDemo.swf: 03e4-viewstack/ViewStackDemo.mxml - $(MXMLC) 03e4-viewstack/ViewStackDemo.mxml $(MXMLC_FLAGS) -l+=03e4-viewstack -o 03e4-viewstack/ViewStackDemo.swf - - -03f1-custom-components/MainForm.swf: 03f1-custom-components/MainForm.mxml 03f1-custom-components/com/mycustom/components/TextInputEmail.as - $(MXMLC) 03f1-custom-components/MainForm.mxml $(MXMLC_FLAGS) -l+=03f1-custom-components -o 03f1-custom-components/MainForm.swf - - -03f2-code-behind/CodeBehindDisplay.swf: 03f2-code-behind/CodeBehindDisplay.mxml 03f2-code-behind/CodeExample.mxml 03f2-code-behind/as_components/ComboBoxCodeBehind.as - $(MXMLC) 03f2-code-behind/CodeBehindDisplay.mxml $(MXMLC_FLAGS) -l+=03f2-code-behind -o 03f2-code-behind/CodeBehindDisplay.swf - - -03f2-code-behind/CodeExample.swf: 03f2-code-behind/CodeBehindDisplay.mxml 03f2-code-behind/CodeExample.mxml 03f2-code-behind/as_components/ComboBoxCodeBehind.as - $(MXMLC) 03f2-code-behind/CodeExample.mxml $(MXMLC_FLAGS) -l+=03f2-code-behind -o 03f2-code-behind/CodeExample.swf - - -03f3-composite-component/ComponentForm.swf: 03f3-composite-component/components/ComboBoxDateEntry.mxml 03f3-composite-component/ComponentForm.mxml 03f3-composite-component/components/ComboBoxMonths.mxml - $(MXMLC) 03f3-composite-component/ComponentForm.mxml $(MXMLC_FLAGS) -l+=03f3-composite-component -o 03f3-composite-component/ComponentForm.swf - - -03f4-multiple-composite-components/Main.swf: 03f4-multiple-composite-components/Main.mxml 03f4-multiple-composite-components/components/ComboBoxDateEntry.mxml 03f4-multiple-composite-components/components/ComboBoxMonths.as - $(MXMLC) 03f4-multiple-composite-components/Main.mxml $(MXMLC_FLAGS) -l+=03f4-multiple-composite-components -o 03f4-multiple-composite-components/Main.swf - - -03f5-mxml/MainForm.swf: 03f5-mxml/MainForm.mxml 03f5-mxml/components/ComboBoxMonths.mxml - $(MXMLC) 03f5-mxml/MainForm.mxml $(MXMLC_FLAGS) -l+=03f5-mxml -o 03f5-mxml/MainForm.swf - - -03g1-debugging/Debugging.swf: 03g1-debugging/Debugging.mxml - $(MXMLC) 03g1-debugging/Debugging.mxml $(MXMLC_FLAGS) -l+=03g1-debugging -o 03g1-debugging/Debugging.swf - - -custom-03d1-datagrid/Snarf.swf: custom-03d1-datagrid/Snarf.mxml custom-03d1-datagrid/CustomApp.as - $(MXMLC) custom-03d1-datagrid/Snarf.mxml $(MXMLC_FLAGS) -l+=custom-03d1-datagrid -o custom-03d1-datagrid/Snarf.swf - - -custom-03d2-item-renderers/HBoxWeatherDisplay.swf: custom-03d2-item-renderers/HBoxWeatherDisplay.mxml custom-03d2-item-renderers/WeatherDisplay.mxml custom-03d2-item-renderers/WeatherApp.as - $(MXMLC) custom-03d2-item-renderers/HBoxWeatherDisplay.mxml $(MXMLC_FLAGS) -l+=custom-03d2-item-renderers -o custom-03d2-item-renderers/HBoxWeatherDisplay.swf - - -custom-03d2-item-renderers/WeatherDisplay.swf: custom-03d2-item-renderers/HBoxWeatherDisplay.mxml custom-03d2-item-renderers/WeatherDisplay.mxml custom-03d2-item-renderers/WeatherApp.as - $(MXMLC) custom-03d2-item-renderers/WeatherDisplay.mxml $(MXMLC_FLAGS) -l+=custom-03d2-item-renderers -o custom-03d2-item-renderers/WeatherDisplay.swf - - -custom-03d3-lists/ListControl.swf: custom-03d3-lists/ListControl.mxml custom-03d3-lists/listapp.css custom-03d3-lists/ListApp.as - $(MXMLC) custom-03d3-lists/ListControl.mxml $(MXMLC_FLAGS) -l+=custom-03d3-lists -o custom-03d3-lists/ListControl.swf - - -custom-03d4-tilelist/TileListExample.swf: custom-03d4-tilelist/TileListExample.mxml custom-03d4-tilelist/tilelist.css custom-03d4-tilelist/TileListApp.as - $(MXMLC) custom-03d4-tilelist/TileListExample.mxml $(MXMLC_FLAGS) -l+=custom-03d4-tilelist -o custom-03d4-tilelist/TileListExample.swf - - -custom-03g1-debugging/Debugging.swf: custom-03g1-debugging/Debugging.mxml custom-03g1-debugging/me/DebuggingApp.as custom-03g1-debugging/me/tests/TestDebugging.as - $(MXMLC) custom-03g1-debugging/Debugging.mxml $(MXMLC_FLAGS) -l+=custom-03g1-debugging -o custom-03g1-debugging/Debugging.swf +03f1-custom-components/MainForm.swf: \ + 03f1-custom-components/MainForm.mxml \ + 03f1-custom-components/com/mycustom/components/TextInputEmail.as + $(MXMLC) 03f1-custom-components/MainForm.mxml \ + $(MXMLC_FLAGS) -l+=03f1-custom-components \ + -l+=03f1-custom-components -o 03f1-custom-components/MainForm.swf + + +03f2-code-behind/CodeBehindDisplay.swf: \ + 03f2-code-behind/CodeBehindDisplay.mxml \ + 03f2-code-behind/CodeExample.mxml \ + 03f2-code-behind/as_components/ComboBoxCodeBehind.as + $(MXMLC) 03f2-code-behind/CodeBehindDisplay.mxml \ + $(MXMLC_FLAGS) -l+=03f2-code-behind \ + -l+=03f2-code-behind -o 03f2-code-behind/CodeBehindDisplay.swf + + +03f2-code-behind/CodeExample.swf: \ + 03f2-code-behind/CodeBehindDisplay.mxml \ + 03f2-code-behind/CodeExample.mxml \ + 03f2-code-behind/as_components/ComboBoxCodeBehind.as + $(MXMLC) 03f2-code-behind/CodeExample.mxml \ + $(MXMLC_FLAGS) -l+=03f2-code-behind \ + -l+=03f2-code-behind -o 03f2-code-behind/CodeExample.swf + + +03f3-composite-component/ComponentForm.swf: \ + 03f3-composite-component/components/ComboBoxDateEntry.mxml \ + 03f3-composite-component/ComponentForm.mxml \ + 03f3-composite-component/components/ComboBoxMonths.mxml + $(MXMLC) 03f3-composite-component/ComponentForm.mxml \ + $(MXMLC_FLAGS) -l+=03f3-composite-component \ + -l+=03f3-composite-component -o 03f3-composite-component/ComponentForm.swf + + +03f4-multiple-composite-components/Main.swf: \ + 03f4-multiple-composite-components/Main.mxml \ + 03f4-multiple-composite-components/components/ComboBoxDateEntry.mxml \ + 03f4-multiple-composite-components/components/ComboBoxMonths.as + $(MXMLC) 03f4-multiple-composite-components/Main.mxml \ + $(MXMLC_FLAGS) -l+=03f4-multiple-composite-components \ + -l+=03f4-multiple-composite-components -o 03f4-multiple-composite-components/Main.swf + + +03f5-mxml/MainForm.swf: \ + 03f5-mxml/MainForm.mxml \ + 03f5-mxml/components/ComboBoxMonths.mxml + $(MXMLC) 03f5-mxml/MainForm.mxml \ + $(MXMLC_FLAGS) -l+=03f5-mxml \ + -l+=03f5-mxml -o 03f5-mxml/MainForm.swf + + +03g1-debugging/Debugging.swf: \ + 03g1-debugging/Debugging.mxml + $(MXMLC) 03g1-debugging/Debugging.mxml \ + $(MXMLC_FLAGS) -l+=03g1-debugging \ + -l+=03g1-debugging -o 03g1-debugging/Debugging.swf + + +custom-03d1-datagrid/Snarf.swf: \ + custom-03d1-datagrid/Snarf.mxml \ + custom-03d1-datagrid/CustomApp.as + $(MXMLC) custom-03d1-datagrid/Snarf.mxml \ + $(MXMLC_FLAGS) -l+=custom-03d1-datagrid \ + -l+=custom-03d1-datagrid -o custom-03d1-datagrid/Snarf.swf + + +custom-03d2-item-renderers/HBoxWeatherDisplay.swf: \ + custom-03d2-item-renderers/HBoxWeatherDisplay.mxml \ + custom-03d2-item-renderers/WeatherDisplay.mxml \ + custom-03d2-item-renderers/WeatherApp.as + $(MXMLC) custom-03d2-item-renderers/HBoxWeatherDisplay.mxml \ + $(MXMLC_FLAGS) -l+=custom-03d2-item-renderers \ + -l+=custom-03d2-item-renderers -o custom-03d2-item-renderers/HBoxWeatherDisplay.swf + + +custom-03d2-item-renderers/WeatherDisplay.swf: \ + custom-03d2-item-renderers/HBoxWeatherDisplay.mxml \ + custom-03d2-item-renderers/WeatherDisplay.mxml \ + custom-03d2-item-renderers/WeatherApp.as + $(MXMLC) custom-03d2-item-renderers/WeatherDisplay.mxml \ + $(MXMLC_FLAGS) -l+=custom-03d2-item-renderers \ + -l+=custom-03d2-item-renderers -o custom-03d2-item-renderers/WeatherDisplay.swf + + +custom-03d3-lists/ListControl.swf: \ + custom-03d3-lists/ListControl.mxml \ + custom-03d3-lists/listapp.css \ + custom-03d3-lists/ListApp.as + $(MXMLC) custom-03d3-lists/ListControl.mxml \ + $(MXMLC_FLAGS) -l+=custom-03d3-lists \ + -l+=custom-03d3-lists -o custom-03d3-lists/ListControl.swf + + +custom-03d4-tilelist/TileListExample.swf: \ + custom-03d4-tilelist/TileListExample.mxml \ + custom-03d4-tilelist/tilelist.css \ + custom-03d4-tilelist/TileListApp.as + $(MXMLC) custom-03d4-tilelist/TileListExample.mxml \ + $(MXMLC_FLAGS) -l+=custom-03d4-tilelist \ + -l+=custom-03d4-tilelist -o custom-03d4-tilelist/TileListExample.swf + + +custom-03g1-debugging/Debugging.swf: \ + custom-03g1-debugging/Debugging.mxml \ + custom-03g1-debugging/me/DebuggingApp.as + $(MXMLC) custom-03g1-debugging/Debugging.mxml \ + $(MXMLC_FLAGS) -l+=custom-03g1-debugging \ + -l+=custom-03g1-debugging -o custom-03g1-debugging/Debugging.swf + + +custom-03g1-debugging/me/tests/TestDebugging.swf: \ + custom-03g1-debugging/me/tests/TestDebugging.as + $(MXMLC) custom-03g1-debugging/me/tests/TestDebugging.as \ + $(MXMLC_FLAGS) -l+=custom-03g1-debugging/me/tests \ + -l+=custom-03g1-debugging -o custom-03g1-debugging/me/tests/TestDebugging.swf