transmission/macosx/Makefile.am

161 lines
3.9 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 \
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 \
version.sh \
Growl.framework \
2007-09-16 01:02:06 +00:00
Sparkle.framework \
sparkle_dsa_pub.pem \
2007-09-16 01:02:06 +00:00
CTGradient \
UKKQueue \
TransmissionHelp \
Images \
appcast \
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 \
tr.lproj \
2008-07-12 12:38:05 +00:00
zh_TW.lproj \
2007-10-24 17:20:50 +00:00
AboutWindowController.h \
AboutWindowController.m \
ActionPopUpButton.h \
ActionPopUpButton.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 \
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 \
InfoWindowController.h \
InfoWindowController.m \
main.m \
MenuLabel.h \
MenuLabel.m \
2007-10-24 17:20:50 +00:00
MessageWindowController.h \
MessageWindowController.m \
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 \
ProgressGradients.h \
ProgressGradients.m \
QuickLookController.h \
QuickLookController.m \
QuickLook.h \
2007-10-24 17:20:50 +00:00
SpeedLimitToTurtleIconTransformer.h \
SpeedLimitToTurtleIconTransformer.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 \
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)