diff --git a/klib/src/platform/osx/AppKit.def b/klib/src/platform/osx/AppKit.def new file mode 100644 index 00000000000..05a795a98f2 --- /dev/null +++ b/klib/src/platform/osx/AppKit.def @@ -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 diff --git a/klib/src/platform/osx/ApplicationServices.def b/klib/src/platform/osx/ApplicationServices.def new file mode 100644 index 00000000000..16fa9e6a265 --- /dev/null +++ b/klib/src/platform/osx/ApplicationServices.def @@ -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 diff --git a/klib/src/platform/osx/CFNetwork.def b/klib/src/platform/osx/CFNetwork.def new file mode 100644 index 00000000000..ff2c02aa185 --- /dev/null +++ b/klib/src/platform/osx/CFNetwork.def @@ -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 diff --git a/klib/src/platform/osx/CoreData.def b/klib/src/platform/osx/CoreData.def new file mode 100644 index 00000000000..ad76827d237 --- /dev/null +++ b/klib/src/platform/osx/CoreData.def @@ -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 diff --git a/klib/src/platform/osx/CoreFoundation.def b/klib/src/platform/osx/CoreFoundation.def new file mode 100644 index 00000000000..39b5964483e --- /dev/null +++ b/klib/src/platform/osx/CoreFoundation.def @@ -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 diff --git a/klib/src/platform/osx/CoreGraphics.def b/klib/src/platform/osx/CoreGraphics.def new file mode 100644 index 00000000000..365c9c86bd2 --- /dev/null +++ b/klib/src/platform/osx/CoreGraphics.def @@ -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 diff --git a/klib/src/platform/osx/CoreImage.def b/klib/src/platform/osx/CoreImage.def new file mode 100644 index 00000000000..927664e9fd5 --- /dev/null +++ b/klib/src/platform/osx/CoreImage.def @@ -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 diff --git a/klib/src/platform/osx/CoreServices.def b/klib/src/platform/osx/CoreServices.def new file mode 100644 index 00000000000..5f06b0ff5de --- /dev/null +++ b/klib/src/platform/osx/CoreServices.def @@ -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 diff --git a/klib/src/platform/osx/CoreText.def b/klib/src/platform/osx/CoreText.def new file mode 100644 index 00000000000..4f130371889 --- /dev/null +++ b/klib/src/platform/osx/CoreText.def @@ -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 diff --git a/klib/src/platform/osx/CoreVideo.def b/klib/src/platform/osx/CoreVideo.def new file mode 100644 index 00000000000..6881b033a3e --- /dev/null +++ b/klib/src/platform/osx/CoreVideo.def @@ -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 diff --git a/klib/src/platform/osx/DiskArbitration.def b/klib/src/platform/osx/DiskArbitration.def new file mode 100644 index 00000000000..79fd02e05e3 --- /dev/null +++ b/klib/src/platform/osx/DiskArbitration.def @@ -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 diff --git a/klib/src/platform/osx/Foundation.def b/klib/src/platform/osx/Foundation.def new file mode 100644 index 00000000000..fe37bd113ca --- /dev/null +++ b/klib/src/platform/osx/Foundation.def @@ -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 diff --git a/klib/src/platform/osx/IOKit.def b/klib/src/platform/osx/IOKit.def new file mode 100644 index 00000000000..3da1e12645a --- /dev/null +++ b/klib/src/platform/osx/IOKit.def @@ -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 diff --git a/klib/src/platform/osx/IOSurface.def b/klib/src/platform/osx/IOSurface.def new file mode 100644 index 00000000000..e60041fc12d --- /dev/null +++ b/klib/src/platform/osx/IOSurface.def @@ -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 diff --git a/klib/src/platform/osx/ImageIO.def b/klib/src/platform/osx/ImageIO.def new file mode 100644 index 00000000000..63fb67ac0c0 --- /dev/null +++ b/klib/src/platform/osx/ImageIO.def @@ -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 diff --git a/klib/src/platform/osx/Metal.def b/klib/src/platform/osx/Metal.def new file mode 100644 index 00000000000..ed101bacec3 --- /dev/null +++ b/klib/src/platform/osx/Metal.def @@ -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 diff --git a/klib/src/platform/osx/OpenGL.def b/klib/src/platform/osx/OpenGL.def new file mode 100644 index 00000000000..f80dd89f95e --- /dev/null +++ b/klib/src/platform/osx/OpenGL.def @@ -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 diff --git a/klib/src/platform/osx/QuartzCore.def b/klib/src/platform/osx/QuartzCore.def new file mode 100644 index 00000000000..cc89e1412d0 --- /dev/null +++ b/klib/src/platform/osx/QuartzCore.def @@ -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 diff --git a/klib/src/platform/osx/Security.def b/klib/src/platform/osx/Security.def new file mode 100644 index 00000000000..4686f5c30c5 --- /dev/null +++ b/klib/src/platform/osx/Security.def @@ -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 diff --git a/klib/src/platform/osx/libkern.def b/klib/src/platform/osx/libkern.def new file mode 100644 index 00000000000..427234e22f8 --- /dev/null +++ b/klib/src/platform/osx/libkern.def @@ -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 = diff --git a/klib/src/platform/osx/objc.def b/klib/src/platform/osx/objc.def index 5a58a199a51..64c288b9b8e 100644 --- a/klib/src/platform/osx/objc.def +++ b/klib/src/platform/osx/objc.def @@ -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. diff --git a/klib/src/platform/osx/osx.def b/klib/src/platform/osx/osx.def index 3734097073c..5e946739e8b 100644 --- a/klib/src/platform/osx/osx.def +++ b/klib/src/platform/osx/osx.def @@ -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. \ No newline at end of file +// menu.h is excluded so far due to interop issues. diff --git a/klib/src/platform/osx/posix.def b/klib/src/platform/osx/posix.def index 066551d5713..664faf78274 100644 --- a/klib/src/platform/osx/posix.def +++ b/klib/src/platform/osx/posix.def @@ -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 \ diff --git a/klib/src/platform/osx/zlib.def b/klib/src/platform/osx/zlib.def index f30d62ea21b..b4271618f34 100644 --- a/klib/src/platform/osx/zlib.def +++ b/klib/src/platform/osx/zlib.def @@ -1,4 +1,4 @@ +depends = posix package = platform.zlib headers = zconf.h zlib.h linkerOpts = -lz -depends = posix \ No newline at end of file