-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathMakefile
49 lines (42 loc) · 2.5 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
GO_EASY_ON_ME=1
SDKVERSION=4.3
#FW_DEVICE_IP=test.local
FW_DEVICE_IP=appletv.local
first: clean package install
include $(THEOS)/makefiles/common.mk
FRAMEWORK_NAME = SMFramework
SMFramework_FILES = SMFMediaMenuController.m SMFMenuController.m SMFCenteredMenuController.m SMFFolderBrowser.m SMFMediaPreview.mm SMFBaseAsset.m SMFPasscodeController.m
SMFramework_FILES += BRMenuItem_SMF.m SMFInvocationCenteredMenuController.m SMFMenuItem.m SMFScreenCapture.m SMFThemeInfo.m SMFClockController.m
SMFramework_FILES += SMFEventManager.m SMFEvent.m SMFEventConfiguration.m SMFMovieAsset.m
SMFramework_FILES += SMFPhotoMethods.mm SMFQueryMenu.m SMFProgressBarControl.m SMFPopup.xm SMFCommonTools.m SMFColorSelectionMenu.m
SMFramework_FILES += SMFPreferences.m SMFProgressBarMenuItem.m SMFImageAsset.m SMFDebAsset.m
SMFramework_FILES += NSArray_SMF.m SMFViewMenuController.m SMFListDropShadowControl.m SMFControllerPasscodeController.m SMFTextDropShadowControl.mm
SMFramework_FILES += SMFMoviePreviewController.m SMFControlFactory.m SMFAssetPreviewController.m SMFPhotoMediaAsset.m
SMFramework_FILES += SMFBookcaseController.m SMFComplexDropShadowControl.mm SMFComplexProcessDropShadowControl.m SMFPrefsMenuItem.m
SMFramework_FILES += SMFDictionaryEditor.m SMFDictionaryObjectEditor.m SMFCustomQueryMenu.m SMFPrefsSelectionItem.m
SMFramework_FILES += BRMediaShelfView_SMF.m
SMFramework_FILES += SMFDropShadowControl.m SMFMockMenuItem.m SMFAnimation.m
SMFramework_FILES += Example/SMFExamples.m Example/SMFMoviePreviewDelegateAndDatasourceExample.m Example/SMFBookcaseDelegateAndDatasourceExample.m Example/SMFGridController.m
SMFramework_FILES += SMFCompatibility.m
SMFramework_INSTALL_PATH = /Library/Frameworks
#SMFramework_BUNDLE_EXTENSION = framework
SMFramework_LDFLAGS = -undefined dynamic_lookup -framework UIKit -framework ImageIO#-L$(FW_PROJECT_DIR) -lBackRow
SMFramework_CFLAGS = -I../ATV2Includes
SUBPROJECTS = eventcatcher
include $(FW_MAKEDIR)/framework.mk
include $(FW_MAKEDIR)/aggregate.mk
after-install::
ssh root@$(FW_DEVICE_IP) killall -9 AppleTV
after-SMFramework-stage::
rm -rf "Headers"
mkdir "Headers"
mkdir "Headers/Backrow"
cp *.h "Headers/"
cp Backrow/*.h "Headers/Backrow/"
mkdir "$(FW_SHARED_BUNDLE_RESOURCE_PATH)/Headers"
mkdir "$(FW_SHARED_BUNDLE_RESOURCE_PATH)/Headers/Backrow"
cp *.h "$(FW_SHARED_BUNDLE_RESOURCE_PATH)/Headers/"
cp Backrow/*.h "$(FW_SHARED_BUNDLE_RESOURCE_PATH)/Headers/Backrow/"
rm -rf ../ATV2Includes/SMFramework
mkdir ../ATV2Includes/SMFramework
cp -rf Headers/ ../ATV2Includes/SMFramework/