transmission/macosx/Makefile.am

172 lines
4.3 KiB
Makefile
Raw Normal View History

2007-09-16 01:02:06 +00:00
EXTRA_DIST = \
2008-02-03 00:51:12 +00:00
Credits.rtf \
AboutWindow.xib \
BlocklistStatusWindow.xib \
InfoFileView.xib \
InfoPeersView.xib \
InfoTrackersView.xib \
InfoWindow.xib \
MessageWindow.xib \
StatsWindow.xib \
2008-02-03 00:51:12 +00:00
Defaults.plist \
Info.plist \
2008-02-03 00:51:12 +00:00
Transmission_Prefix.pch \
Growl.framework \
2007-09-16 01:02:06 +00:00
Sparkle.framework \
sparkle_dsa_pub.pem \
2007-09-16 01:02:06 +00:00
UKKQueue \
TransmissionHelp \
Images \
2008-07-12 12:38:05 +00:00
en.lproj \
es.lproj \
fr.lproj \
2008-07-12 12:38:05 +00:00
it.lproj \
2008-01-03 05:40:22 +00:00
nl.lproj \
ru.lproj \
2010-01-13 04:48:50 +00:00
zh_CN.lproj \
2008-07-12 12:38:05 +00:00
zh_TW.lproj \
2007-10-24 17:20:50 +00:00
AboutWindowController.h \
AboutWindowController.m \
AddWindowController.h \
AddWindowController.m \
2007-10-24 17:20:50 +00:00
Badger.h \
Badger.m \
BadgeView.h \
BadgeView.m \
BlocklistDownloader.h \
BlocklistDownloader.m \
BlocklistDownloaderViewController.h \
BlocklistDownloaderViewController.m \
BlocklistScheduler.h \
BlocklistScheduler.m \
BonjourController.h \
BonjourController.m \
ButtonToolbarItem.h \
ButtonToolbarItem.m \
ColorTextField.h \
ColorTextField.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 \
FileListNode.h \
FileListNode.m \
2007-10-24 17:20:50 +00:00
FileNameCell.h \
FileNameCell.m \
FileOutlineController.h \
FileOutlineController.m \
2007-10-24 17:20:50 +00:00
FileOutlineView.h \
FileOutlineView.m \
FilePriorityCell.h \
FilePriorityCell.m \
FilterButton.h \
FilterButton.m \
GroupsController.h \
GroupsController.m \
GroupsPrefsController.h \
GroupsPrefsController.m \
GroupToolbarItem.h \
GroupToolbarItem.m \
2007-10-24 17:20:50 +00:00
InfoTabButtonCell.h \
InfoTabButtonCell.m \
InfoTextField.h \
InfoTextField.m \
InfoActivityViewController.h \
InfoActivityViewController.m \
InfoFileViewController.h \
InfoFileViewController.m \
InfoGeneralViewController.h \
InfoGeneralViewController.m \
InfoOptionsViewController.h \
InfoOptionsViewController.m \
InfoPeersViewController.h \
InfoPeersViewController.m \
InfoTrackersViewController.h \
InfoTrackersViewController.m \
2010-03-15 00:16:07 +00:00
InfoViewController.h \
2007-10-24 17:20:50 +00:00
InfoWindowController.h \
InfoWindowController.m \
main.m \
MessageWindowController.h \
MessageWindowController.m \
NSApplicationAdditions.h \
NSApplicationAdditions.m \
2007-10-24 17:20:50 +00:00
NSStringAdditions.h \
NSStringAdditions.m \
PeerProgressIndicatorCell.h \
PeerProgressIndicatorCell.m \
PeerTableView.h \
PeerTableView.m \
PiecesView.h \
PiecesView.m \
PortChecker.h \
PortChecker.m \
PredicateEditorRowTemplateAny.h \
PredicateEditorRowTemplateAny.m \
2007-10-24 17:20:50 +00:00
PrefsController.h \
PrefsController.m \
PrefsWindow.h \
PrefsWindow.m \
ProgressGradients.h \
ProgressGradients.m \
StatsWindowController.h \
StatsWindowController.m \
2007-10-24 17:20:50 +00:00
StatusBarView.h \
StatusBarView.m \
ToolbarSegmentedCell.h \
ToolbarSegmentedCell.m \
TorrentCell.h \
TorrentCell.m \
TorrentGroup.h \
TorrentGroup.m \
Torrent.h \
Torrent.m \
2007-10-24 17:20:50 +00:00
TorrentTableView.h \
TorrentTableView.m \
2009-09-28 04:41:56 +00:00
TrackerCell.h \
TrackerCell.m \
TrackerNode.h \
TrackerNode.m \
TrackerTableView.h \
TrackerTableView.m
2007-09-16 01:02:06 +00:00
dist-hook:
rm -rf `find $(distdir)/ -type d -name .svn`
rm -rf `find $(distdir)/ -type d -name .deps`
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)