Some OpenDirectory work

This commit is contained in:
Andrew Hyatt 2017-04-08 13:48:26 -07:00
parent 0a0ab22382
commit ab1b98f5a5
7 changed files with 22 additions and 2 deletions

1
platform-include/launch.h Symbolic link
View File

@ -0,0 +1 @@
../src/launchd/liblaunch/launch.h

View File

@ -0,0 +1 @@
../src/opendirectory/include/opendirectory/

View File

@ -0,0 +1 @@
../../src/external/libxpc/xpc/private.h

2
src/external/libxpc vendored

@ -1 +1 @@
Subproject commit f72de1d0e6f4a14b93972df871a8f7158d61517c
Subproject commit da28ea126aa2d9867932eaf3c488910aa9667708

View File

@ -15,9 +15,13 @@ add_definitions(-DHAVE_STDINT_H=1)
add_definitions(-D__APPLE__ -D__DYNAMIC__)
add_definitions(-D__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__=1080)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -nostdinc -D__DARWIN_UNIX03 -fPIC -w -ggdb")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -nostdinc -D__DARWIN_UNIX03 -fPIC -ggdb")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -nostdlib")
add_compile_options(
-Wno-macro-redefined
)
include_directories(${CMAKE_SOURCE_DIR}/src/libc/darwin)
include_directories(${CMAKE_SOURCE_DIR}/src/kernel/libsyscall/wrappers)
include_directories(${CMAKE_SOURCE_DIR}/src/libmalloc/include)
@ -64,6 +68,8 @@ add_circular(system_info FAT
libdispatch_shared
system_notify
platform
xpc
compiler_rt
DEPENDENCIES
resolv-darwin
)

View File

@ -10,6 +10,10 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../external/libdispatch/)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../lookup.subproj)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_definitions(
-DDS_AVAILABLE
)
set(info-membership_sources
membership.c
)

View File

@ -0,0 +1,7 @@
#ifndef _OD_ODIPC_H_
#define _OD_ODIPC_H_
#define kODMachMembershipPortNameDebug 1
#define kODMachMembershipPortName 1
#endif