-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
44 lines (35 loc) · 1.44 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
installsrc:
mkdir -p $(SRCROOT)
cp -R . $(SRCROOT)
installhdrs: install
INCLUDE=$(DSTROOT)/usr/include
CORESERVICES=$(DSTROOT)/System/Library/Frameworks/CoreServices.framework
CARBONCORE=$(DSTROOT)/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework
CARBONCORE_HEADERS=$(CARBONCORE)/Versions/A/Headers
install:
mkdir -p $(INCLUDE)
cp AssertMacros.h $(INCLUDE)
cp Availability.h $(INCLUDE)
cp AvailabilityMacros.h $(INCLUDE)
cp AvailabilityInternal.h $(INCLUDE)
cp TargetConditionals.h $(INCLUDE)
mkdir -p $(CARBONCORE_HEADERS)
ln -hfs /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers $(INCLUDE)/CarbonCore
ln -hfs A $(CORESERVICES)/Versions/Current
ln -hfs A $(CARBONCORE)/Versions/Current
mkdir -p $(CORESERVICES)/Versions/Current/Headers
ln -hfs Versions/Current/Frameworks $(CORESERVICES)/Frameworks
ln -hfs Versions/Current/Headers $(CORESERVICES)/Headers
ln -hfs Versions/Current/Headers $(CARBONCORE)/Headers
cp Aliases.h $(CARBONCORE_HEADERS)
cp ConditionalMacros.h $(CARBONCORE_HEADERS)
cp DateTimeUtils.h $(CARBONCORE_HEADERS)
cp Files.h $(CARBONCORE_HEADERS)
cp Finder.h $(CARBONCORE_HEADERS)
cp MacMemory.h $(CARBONCORE_HEADERS)
cp MacErrors.h $(CARBONCORE_HEADERS)
cp MacTypes.h $(CARBONCORE_HEADERS)
cp MixedMode.h $(CARBONCORE_HEADERS)
cp OSUtils.h $(CARBONCORE_HEADERS)
cp TextCommon.h $(CARBONCORE_HEADERS)
cp UTCUtils.h $(CARBONCORE_HEADERS)