transmission 2.83
[tomato.git] / release / src / router / transmission / macosx / Makefile.am
blobd69b9abc732b84f3147707264c050cb3fb40bf2b
1 EXTRA_DIST = \
2     Credits.rtf \
3     AboutWindow.xib \
4     BlocklistStatusWindow.xib \
5     FileRenameSheetController.xib \
6     FilterBar.xib \
7     InfoFileView.xib \
8     InfoPeersView.xib \
9     InfoTrackersView.xib \
10     InfoWindow.xib \
11     MessageWindow.xib \
12     StatsWindow.xib \
13     StatusBar.xib \
14     URLSheetWindow.xib \
15     Defaults.plist \
16     Info.plist \
17     Transmission_Prefix.pch \
18     Growl.framework \
19     Sparkle.framework \
20     sparkle_dsa_pub.pem \
21     TransmissionHelp \
22     QuickLookPlugin \
23     VDKQueue \
24     Images \
25     da.lproj \
26     de.lproj \
27     en.lproj \
28     es.lproj \
29     fr.lproj \
30     it.lproj \
31     nl.lproj \
32     pt_PT.lproj \
33     ru.lproj \
34     tr.lproj \
35     AboutWindowController.h \
36     AboutWindowController.m \
37     AddMagnetWindowController.h \
38     AddMagnetWindowController.m \
39     AddWindowController.h \
40     AddWindowController.m \
41     Badger.h \
42     Badger.m \
43     BadgeView.h \
44     BadgeView.m \
45     BlocklistDownloader.h \
46     BlocklistDownloader.m \
47     BlocklistDownloaderViewController.h \
48     BlocklistDownloaderViewController.m \
49     BlocklistScheduler.h \
50     BlocklistScheduler.m \
51     BonjourController.h \
52     BonjourController.m \
53     ButtonToolbarItem.h \
54     ButtonToolbarItem.m \
55     ColorTextField.h \
56     ColorTextField.m \
57     Controller.h \
58     Controller.m \
59     CreatorWindowController.h \
60     CreatorWindowController.m \
61     DragOverlayView.h \
62     DragOverlayView.m \
63     DragOverlayWindow.h \
64     DragOverlayWindow.m \
65     ExpandedPathToIconTransformer.h \
66     ExpandedPathToIconTransformer.m \
67     ExpandedPathToPathTransformer.h \
68     ExpandedPathToPathTransformer.m \
69     FileRenameSheetController.h \
70     FileRenameSheetController.m \
71     FileListNode.h \
72     FileListNode.m \
73     FileNameCell.h \
74     FileNameCell.m \
75     FileOutlineController.h \
76     FileOutlineController.m \
77     FileOutlineView.h \
78     FileOutlineView.m \
79     FilePriorityCell.h \
80     FilePriorityCell.m \
81     FilterBarController.h \
82     FilterBarController.m \
83     FilterBarView.h \
84     FilterBarView.m \
85     FilterButton.h \
86     FilterButton.m \
87     GlobalOptionsPopoverViewController.h \
88     GlobalOptionsPopoverViewController.m \
89     GroupsController.h \
90     GroupsController.m \
91     GroupsPrefsController.h \
92     GroupsPrefsController.m \
93     GroupToolbarItem.h \
94     GroupToolbarItem.m \
95     InfoTabButtonBack.h \
96     InfoTabButtonBack.m \
97     InfoTabButtonCell.h \
98     InfoTabButtonCell.m \
99     InfoTextField.h \
100     InfoTextField.m \
101     InfoActivityViewController.h \
102     InfoActivityViewController.m \
103     InfoFileViewController.h \
104     InfoFileViewController.m \
105     InfoGeneralViewController.h \
106     InfoGeneralViewController.m \
107     InfoOptionsViewController.h \
108     InfoOptionsViewController.m \
109     InfoPeersViewController.h \
110     InfoPeersViewController.m \
111     InfoTrackersViewController.h \
112     InfoTrackersViewController.m \
113     InfoViewController.h \
114     InfoWindowController.h \
115     InfoWindowController.m \
116     main.m \
117     MessageWindowController.h \
118     MessageWindowController.m \
119     NSApplicationAdditions.h \
120     NSApplicationAdditions.m \
121     NSImageAdditions.h \
122     NSImageAdditions.m \
123     NSMutableArrayAdditions.h \
124     NSMutableArrayAdditions.m \
125     NSStringAdditions.h \
126     NSStringAdditions.m \
127     PeerProgressIndicatorCell.h \
128     PeerProgressIndicatorCell.m \
129     PeerTableView.h \
130     PeerTableView.m \
131     PiecesView.h \
132     PiecesView.m \
133     PortChecker.h \
134     PortChecker.m \
135     PredicateEditorRowTemplateAny.h \
136     PredicateEditorRowTemplateAny.m \
137     PrefsController.h \
138     PrefsController.m \
139     PrefsWindow.h \
140     PrefsWindow.m \
141     ProgressGradients.h \
142     ProgressGradients.m \
143     StatsWindowController.h \
144     StatsWindowController.m \
145     StatusBarController.h \
146     StatusBarController.m \
147     StatusBarView.h \
148     StatusBarView.m \
149     ToolbarSegmentedCell.h \
150     ToolbarSegmentedCell.m \
151     TorrentCell.h \
152     TorrentCell.m \
153     TorrentGroup.h \
154     TorrentGroup.m \
155     Torrent.h \
156     Torrent.m \
157     TorrentTableView.h \
158     TorrentTableView.m \
159     TrackerCell.h \
160     TrackerCell.m \
161     TrackerNode.h \
162     TrackerNode.m \
163     TrackerTableView.h \
164     TrackerTableView.m \
165     URLSheetWindowController.h \
166     URLSheetWindowController.m \
167     WebSeedTableView.h \
168     WebSeedTableView.m
170 dist-hook:
171         rm -rf `find $(distdir)/ -type d -name .svn`
172         rm -rf `find $(distdir)/ -type d -name .deps`
174 if BUILD_MAC
175 # Use Xcode do make the actual build
176 all:
177         @(cd .. && xcodebuild -alltargets -activeconfiguration | grep -v "^$$")
178 clean-local:
179         @(cd .. && xcodebuild -alltargets -activeconfiguration clean | grep -v "^$$")
180 endif
182 define PACKAGE_RULE1
183         $(RM) tmp "Transmission $(VERSION_PACKAGE)" \
184           Transmission-$(VERSION_PACKAGE).dmg
185         mkdir -p tmp
186         cp -R macosx/Transmission.app tmp/
187 endef
188 define PACKAGE_RULE2
189         mv tmp "Transmission $(VERSION_PACKAGE)"
190         hdiutil create -format UDZO -imagekey zlib-level=9 -srcfolder \
191           "Transmission $(VERSION_PACKAGE)" Transmission-$(VERSION_PACKAGE).dmg
192         rm -rf "Transmission $(VERSION_PACKAGE)"
193 endef
195 package:
196         $(PACKAGE_RULE1)
197         $(PACKAGE_RULE2)
199 package-release:
200         $(PACKAGE_RULE1)
201         strip -S tmp/Transmission.app/Contents/MacOS/Transmission
202         $(PACKAGE_RULE2)