2007-09-16 01:02:06 +00:00
|
|
|
EXTRA_DIST = \
|
2007-10-25 17:07:02 +00:00
|
|
|
version.sh \
|
2007-09-16 01:02:06 +00:00
|
|
|
Sparkle.framework \
|
|
|
|
CTGradient \
|
|
|
|
UKKQueue \
|
|
|
|
TransmissionHelp \
|
|
|
|
Applescript \
|
|
|
|
Images \
|
|
|
|
Growl.framework \
|
|
|
|
English.lproj \
|
2007-10-24 15:25:43 +00:00
|
|
|
es.lproj \
|
|
|
|
fr.lproj \
|
|
|
|
it.lproj \
|
2008-01-03 05:40:22 +00:00
|
|
|
nl.lproj \
|
|
|
|
ru.lproj \
|
2007-10-24 17:20:50 +00:00
|
|
|
AboutWindowController.h \
|
|
|
|
AboutWindowController.m \
|
|
|
|
ActionPopUpButton.h \
|
|
|
|
ActionPopUpButton.m \
|
|
|
|
Badger.h \
|
|
|
|
Badger.m \
|
2007-12-30 18:53:54 +00:00
|
|
|
BadgeView.h \
|
|
|
|
BadgeView.m \
|
|
|
|
ButtonToolbarItem.h \
|
|
|
|
ButtonToolbarItem.m \
|
2007-10-24 17:20:50 +00:00
|
|
|
Controller.h \
|
|
|
|
Controller.m \
|
|
|
|
CreatorWindowController.h \
|
|
|
|
CreatorWindowController.m \
|
|
|
|
DragOverlayView.h \
|
|
|
|
DragOverlayView.m \
|
|
|
|
DragOverlayWindow.h \
|
|
|
|
DragOverlayWindow.m \
|
|
|
|
ExpandedPathToIconTransformer.h \
|
|
|
|
ExpandedPathToIconTransformer.m \
|
|
|
|
ExpandedPathToPathTransformer.h \
|
|
|
|
ExpandedPathToPathTransformer.m \
|
|
|
|
FileNameCell.h \
|
|
|
|
FileNameCell.m \
|
|
|
|
FileOutlineView.h \
|
|
|
|
FileOutlineView.m \
|
|
|
|
FilePriorityCell.h \
|
|
|
|
FilePriorityCell.m \
|
2007-12-30 18:53:54 +00:00
|
|
|
FilterButton.h \
|
|
|
|
FilterButton.m \
|
|
|
|
GradientCell.h \
|
|
|
|
GradientCell.m \
|
|
|
|
GroupsWindowController.h \
|
|
|
|
GroupsWindowController.m \
|
|
|
|
GroupToolbarItem.h \
|
|
|
|
GroupToolbarItem.m \
|
2007-10-24 17:20:50 +00:00
|
|
|
InfoTabButtonCell.h \
|
|
|
|
InfoTabButtonCell.m \
|
|
|
|
InfoWindowController.h \
|
|
|
|
InfoWindowController.m \
|
|
|
|
IPCController.h \
|
|
|
|
IPCController.m \
|
|
|
|
main.m \
|
2007-12-30 18:53:54 +00:00
|
|
|
MenuLabel.h \
|
|
|
|
MenuLabel.m \
|
2007-10-24 17:20:50 +00:00
|
|
|
MessageWindowController.h \
|
|
|
|
MessageWindowController.m \
|
2007-12-30 18:53:54 +00:00
|
|
|
NSApplicationAdditions.h \
|
|
|
|
NSApplicationAdditions.m \
|
2007-10-24 17:20:50 +00:00
|
|
|
NSBezierPathAdditions.h \
|
|
|
|
NSBezierPathAdditions.m \
|
|
|
|
NSMenuAdditions.h \
|
|
|
|
NSMenuAdditions.m \
|
|
|
|
NSStringAdditions.h \
|
|
|
|
NSStringAdditions.m \
|
|
|
|
PeerProgressIndicatorCell.h \
|
|
|
|
PeerProgressIndicatorCell.m \
|
|
|
|
PeerTableView.h \
|
|
|
|
PeerTableView.m \
|
|
|
|
PiecesView.h \
|
|
|
|
PiecesView.m \
|
|
|
|
PortChecker.h \
|
|
|
|
PortChecker.m \
|
|
|
|
PrefsController.h \
|
|
|
|
PrefsController.m \
|
|
|
|
PrefsWindow.h \
|
|
|
|
PrefsWindow.m \
|
|
|
|
SpeedLimitToTurtleIconTransformer.h \
|
|
|
|
SpeedLimitToTurtleIconTransformer.m \
|
2007-12-30 18:53:54 +00:00
|
|
|
StatsWindowController.h \
|
|
|
|
StatsWindowController.m \
|
2007-10-24 17:20:50 +00:00
|
|
|
StatusBarView.h \
|
|
|
|
StatusBarView.m \
|
2007-12-30 18:53:54 +00:00
|
|
|
ToolbarSegmentedCell.h \
|
|
|
|
ToolbarSegmentedCell.m \
|
2007-10-24 17:20:50 +00:00
|
|
|
TorrentCell.h \
|
|
|
|
TorrentCell.m \
|
|
|
|
Torrent.h \
|
|
|
|
Torrent.m \
|
|
|
|
TorrentTableView.h \
|
|
|
|
TorrentTableView.m
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2007-10-24 19:57:47 +00:00
|
|
|
dist-hook:
|
2007-10-24 21:47:13 +00:00
|
|
|
rm -rf `find $(distdir)/ -type d -name .svn`
|
|
|
|
rm -rf `find $(distdir)/ -type d -name .deps`
|
2007-10-24 19:57:47 +00:00
|
|
|
|
2007-09-16 01:02:06 +00:00
|
|
|
# Use Xcode do make the actual build
|
|
|
|
all:
|
|
|
|
@(cd .. && xcodebuild -alltargets -activeconfiguration | grep -v "^$$")
|
|
|
|
clean:
|
|
|
|
@(cd .. && xcodebuild -alltargets -activeconfiguration clean | grep -v "^$$")
|
|
|
|
|
|
|
|
define PACKAGE_RULE1
|
|
|
|
$(RM) tmp "Transmission $(VERSION_PACKAGE)" \
|
|
|
|
Transmission-$(VERSION_PACKAGE).dmg
|
|
|
|
mkdir -p tmp
|
|
|
|
cp -R macosx/Transmission.app tmp/
|
|
|
|
endef
|
|
|
|
define PACKAGE_RULE2
|
|
|
|
mv tmp "Transmission $(VERSION_PACKAGE)"
|
|
|
|
hdiutil create -format UDZO -imagekey zlib-level=9 -srcfolder \
|
|
|
|
"Transmission $(VERSION_PACKAGE)" Transmission-$(VERSION_PACKAGE).dmg
|
|
|
|
rm -rf "Transmission $(VERSION_PACKAGE)"
|
|
|
|
endef
|
|
|
|
|
|
|
|
package:
|
|
|
|
$(PACKAGE_RULE1)
|
|
|
|
$(PACKAGE_RULE2)
|
|
|
|
|
|
|
|
package-release:
|
|
|
|
$(PACKAGE_RULE1)
|
|
|
|
strip -S tmp/Transmission.app/Contents/MacOS/Transmission
|
|
|
|
$(PACKAGE_RULE2)
|