Add OSX platform libs (#948)

This commit is contained in:
Nikolay Igotti
2017-10-16 15:39:01 +03:00
committed by GitHub
parent 778ffed37d
commit 8ea91a771a
24 changed files with 199 additions and 9 deletions
+9
View File
@@ -0,0 +1,9 @@
depends = ApplicationServices CFNetwork CoreData CoreFoundation CoreGraphics CoreImage CoreServices CoreText CoreVideo DiskArbitration Foundation IOKit IOSurface ImageIO Metal OpenGL QuartzCore Security libkern osx posix
language = Objective-C
package = platform.AppKit
headers = AppKit/AppKit.h
headerFilter = AppKit/**
compilerOpts = -framework AppKit
linkerOpts = -framework AppKit
@@ -0,0 +1,10 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreServices CoreText DiskArbitration IOKit ImageIO Security libkern osx posix
language = Objective-C
package = platform.ApplicationServices
headers = ApplicationServices/ApplicationServices.h
headerFilter = ApplicationServices/** ATS/** ColorSync/** HIServices/** \
LangAnalysis/** PrintCore/** QD/** SpeechSynthesis/**
compilerOpts = -framework ApplicationServices
linkerOpts = -framework ApplicationServices
+9
View File
@@ -0,0 +1,9 @@
depends = CoreFoundation osx posix
language = Objective-C
package = platform.CFNetwork
headers = CFNetwork/CFNetwork.h
headerFilter = CFNetwork/**
compilerOpts = -framework CFNetwork
linkerOpts = -framework CFNetwork
+9
View File
@@ -0,0 +1,9 @@
depends = ApplicationServices CFNetwork CoreFoundation CoreGraphics CoreServices CoreText DiskArbitration Foundation IOKit ImageIO Security libkern osx posix
language = Objective-C
package = platform.CoreData
headers = CoreData/CoreData.h
headerFilter = CoreData/**
compilerOpts = -framework CoreData
linkerOpts = -framework CoreData
+9
View File
@@ -0,0 +1,9 @@
depends = osx posix
language = Objective-C
package = platform.CoreFoundation
headers = CoreFoundation/CoreFoundation.h CoreFoundation/CFPlugIn.h CoreFoundation/CFPlugInCOM.h
headerFilter = CoreFoundation/**
compilerOpts = -framework CoreFoundation
linkerOpts = -framework CoreFoundation
+9
View File
@@ -0,0 +1,9 @@
depends = CoreFoundation IOKit libkern osx posix
language = Objective-C
package = platform.CoreGraphics
headers = CoreGraphics/CoreGraphics.h
headerFilter = CoreGraphics/**
compilerOpts = -framework CoreGraphics
linkerOpts = -framework CoreGraphics
+9
View File
@@ -0,0 +1,9 @@
depends = ApplicationServices CFNetwork CoreFoundation CoreGraphics CoreServices CoreText CoreVideo DiskArbitration Foundation IOKit IOSurface ImageIO Metal OpenGL Security libkern osx posix
language = Objective-C
package = platform.CoreImage
headers = CoreImage/CoreImage.h
headerFilter = CoreImage/**
compilerOpts = -framework CoreImage
linkerOpts = -framework CoreImage
+10
View File
@@ -0,0 +1,10 @@
depends = CFNetwork CoreFoundation DiskArbitration IOKit Security libkern osx posix
language = Objective-C
package = platform.CoreServices
headers = CoreServices/CoreServices.h
headerFilter = CoreServices/** AE/** CarbonCore/** DictionaryServices/** FSEvents/** LaunchServices/** \
Metadata/** OSServices/** SearchKit/** SharedFileList/**
compilerOpts = -framework CoreServices
linkerOpts = -framework CoreServices
+9
View File
@@ -0,0 +1,9 @@
depends = CoreFoundation CoreGraphics osx posix
language = Objective-C
package = platform.CoreText
headers = CoreText/CoreText.h
headerFilter = CoreText/**
compilerOpts = -framework CoreText
linkerOpts = -framework CoreText
+9
View File
@@ -0,0 +1,9 @@
depends = ApplicationServices CFNetwork CoreFoundation CoreGraphics CoreServices CoreText DiskArbitration Foundation IOKit IOSurface ImageIO Metal OpenGL Security libkern osx posix
language = Objective-C
package = platform.CoreVideo
headers = CoreVideo/CoreVideo.h
headerFilter = CoreVideo/**
compilerOpts = -framework CoreVideo
linkerOpts = -framework CoreVideo
@@ -0,0 +1,9 @@
depends = CoreFoundation IOKit libkern osx posix
language = Objective-C
package = platform.DiskArbitration
headers = DiskArbitration/DiskArbitration.h
headerFilter = DiskArbitration/**
compilerOpts = -framework DiskArbitration
linkerOpts = -framework DiskArbitration
+9
View File
@@ -0,0 +1,9 @@
depends = ApplicationServices CFNetwork CoreFoundation CoreGraphics CoreServices CoreText DiskArbitration IOKit ImageIO Security libkern osx posix
language = Objective-C
package = platform.Foundation
headers = Foundation/Foundation.h
headerFilter = Foundation/**
compilerOpts = -framework Foundation
linkerOpts = -framework Foundation
+9
View File
@@ -0,0 +1,9 @@
depends = CoreFoundation libkern osx posix
language = Objective-C
package = platform.IOKit
headers = IOKit/IOKitLib.h IOKit/hidsystem/IOLLEvent.h
headerFilter = IOKit/**
compilerOpts = -framework IOKit
linkerOpts = -framework IOKit
+9
View File
@@ -0,0 +1,9 @@
depends = CoreFoundation IOKit libkern osx posix
language = Objective-C
package = platform.IOSurface
headers = IOSurface/IOSurface.h
headerFilter = IOSurface/**
compilerOpts = -framework IOSurface
linkerOpts = -framework IOSurface
+9
View File
@@ -0,0 +1,9 @@
depends = CoreFoundation CoreGraphics IOKit libkern osx posix
language = Objective-C
package = platform.ImageIO
headers = ImageIO/ImageIO.h
headerFilter = ImageIO/**
compilerOpts = -framework ImageIO
linkerOpts = -framework ImageIO
+9
View File
@@ -0,0 +1,9 @@
depends = ApplicationServices CFNetwork CoreFoundation CoreGraphics CoreServices CoreText DiskArbitration Foundation IOKit IOSurface ImageIO Security libkern osx posix
language = Objective-C
package = platform.Metal
headers = Metal/Metal.h
headerFilter = Metal/**
compilerOpts = -framework Metal
linkerOpts = -framework Metal
+9
View File
@@ -0,0 +1,9 @@
depends = osx posix
language = Objective-C
package = platform.OpenGL
headers = OpenGL/OpenGL.h
headerFilter = OpenGL/**
compilerOpts = -framework OpenGL
linkerOpts = -framework OpenGL
+9
View File
@@ -0,0 +1,9 @@
depends = ApplicationServices CFNetwork CoreFoundation CoreGraphics CoreImage CoreServices CoreText CoreVideo DiskArbitration Foundation IOKit IOSurface ImageIO Metal OpenGL Security libkern osx posix
language = Objective-C
package = platform.QuartzCore
headers = QuartzCore/QuartzCore.h QuartzCore/CIImage.h QuartzCore/CIColor.h
headerFilter = QuartzCore/**
compilerOpts = -framework QuartzCore
linkerOpts = -framework QuartzCore
+9
View File
@@ -0,0 +1,9 @@
depends = CoreFoundation osx posix
language = Objective-C
package = platform.Security
headers = Security/Security.h Security/SecurityFeatures.h Security/SecureTransport.h
headerFilter = Security/**
compilerOpts = -framework Security
linkerOpts = -framework Security
+9
View File
@@ -0,0 +1,9 @@
depends = osx posix
language = Objective-C
package = platform.libkern
headers = libkern/OSTypes.h libkern/OSAtomic.h device/device_types.h device/device_types.h
headerFilter = libkern/** device/**
compilerOpts = -DIOKIT
linkerOpts =
+3 -1
View File
@@ -1,3 +1,4 @@
depends = osx posix
language = Objective-C
package = platform.objc
headers = objc/List.h objc/NSObjCRuntime.h objc/NSObject.h objc/Object.h objc/Protocol.h \
@@ -5,8 +6,9 @@ headers = objc/List.h objc/NSObjCRuntime.h objc/NSObject.h objc/Object.h objc/Pr
objc/objc-class.h objc/objc-exception.h objc/objc-load.h objc/objc-runtime.h \
objc/objc-sync.h objc/objc.h objc/runtime.h
headerFilter = objc/**
compilerOpts = -D_XOPEN_SOURCE
linkerOpts = -lobjc
depends = posix osx
---
// objc-auto.h is excluded so far due to interop issues.
+11 -6
View File
@@ -1,3 +1,4 @@
depends = posix
language = Objective-C
package = platform.osx
headers = AppleTextureEncoder.h AssertMacros.h Availability.h AvailabilityInternal.h \
@@ -6,13 +7,14 @@ headers = AppleTextureEncoder.h AssertMacros.h Availability.h AvailabilityIntern
aio.h aliasdb.h asl.h bitstring.h bootparams.h bootstrap.h bzlib.h \
cache.h cache_callbacks.h checkint.h com_err.h compression.h copyfile.h \
cpio.h crt_externs.h ctype.h curses.h cxxabi.h db.h \
disktab.h dns.h dns_sd.h dns_util.h dtrace.h eti.h execinfo.h expat.h \
disktab.h dns.h dns_sd.h dns_util.h dtrace.h \
emmintrin.h eti.h execinfo.h expat.h \
expat_external.h fmtmsg.h form.h fsproperties.h fstab.h get_compat.h \
gethostuuid.h glob.h gssapi.h histedit.h ifaddrs.h inttypes.h iso646.h \
krb5.h langinfo.h launch.h lber.h lber_types.h ldap.h ldap_cdefs.h ldap_features.h \
ldap_schema.h ldap_utf8.h ldif.h libc.h libcharset.h \
libgen.h libproc.h libunwind.h localcharset.h \
membership.h monetary.h monitor.h mpool.h \
membership.h mmintrin.h monetary.h monitor.h mpool.h \
nameser.h nc_tparm.h ncurses.h ncurses_dll.h ndbm.h nl_types.h \
nlist.h notify.h notify_keys.h ntsid.h \
panel.h pcap-bpf.h pcap-namedb.h pcap.h printerdb.h printf.h \
@@ -21,14 +23,17 @@ headers = AppleTextureEncoder.h AssertMacros.h Availability.h AvailabilityIntern
stringlist.h struct.h sysdir.h sysexits.h tar.h term.h \
term_entry.h termcap.h tic.h timeconv.h ttyent.h tzfile.h \
unctrl.h unwind.h util.h utmpx.h vis.h vproc.h wordexp.h xattr_flags.h \
xmmintrin.h \
atm/atm_types.h bank/bank_types.h bsm/libbsm.h corpses/task_corpse.h \
hfs/hfs_format.h hfs/hfs_mount.h hfs/hfs_unistr.h \
os/activity.h os/availability.h os/base.h os/lock.h \
os/object.h os/overflow.h os/trace.h
os/object.h os/overflow.h os/trace.h \
sys/acl.h sys/kauth.h
headerFilter = **
compilerOpts = -D_XOPEN_SOURCE
linkerOpts = -ldl -lz
depends = posix
linkerOpts = -ldl
---
// menu.h is excluded so far due to interop issues.
// menu.h is excluded so far due to interop issues.
+2 -1
View File
@@ -1,6 +1,7 @@
depends =
package = platform.posix
headers = alloca.h ar.h assert.h complex.h dirent.h dlfcn.h err.h errno.h fcntl.h \
fenv.h fnmatch.h fts.h ftw.h getopt.h grp.h inttypes.h libgen.h limits.h \
fenv.h float.h fnmatch.h fts.h ftw.h getopt.h grp.h inttypes.h libgen.h limits.h \
locale.h math.h memory.h netdb.h paths.h poll.h \
pthread.h pwd.h regex.h resolv.h sched.h search.h semaphore.h setjmp.h sgtty.h signal.h \
stdatomic.h stdint.h stdio.h stdlib.h string.h strings.h syslog.h termios.h \
+1 -1
View File
@@ -1,4 +1,4 @@
depends = posix
package = platform.zlib
headers = zconf.h zlib.h
linkerOpts = -lz
depends = posix