mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-23 20:29:47 +00:00
Some OpenDirectory work
This commit is contained in:
parent
0a0ab22382
commit
ab1b98f5a5
1
platform-include/launch.h
Symbolic link
1
platform-include/launch.h
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../src/launchd/liblaunch/launch.h
|
1
platform-include/opendirectory
Symbolic link
1
platform-include/opendirectory
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../src/opendirectory/include/opendirectory/
|
1
platform-include/xpc/private.h
Symbolic link
1
platform-include/xpc/private.h
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../src/external/libxpc/xpc/private.h
|
2
src/external/libxpc
vendored
2
src/external/libxpc
vendored
@ -1 +1 @@
|
|||||||
Subproject commit f72de1d0e6f4a14b93972df871a8f7158d61517c
|
Subproject commit da28ea126aa2d9867932eaf3c488910aa9667708
|
@ -15,9 +15,13 @@ add_definitions(-DHAVE_STDINT_H=1)
|
|||||||
add_definitions(-D__APPLE__ -D__DYNAMIC__)
|
add_definitions(-D__APPLE__ -D__DYNAMIC__)
|
||||||
add_definitions(-D__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__=1080)
|
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")
|
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/libc/darwin)
|
||||||
include_directories(${CMAKE_SOURCE_DIR}/src/kernel/libsyscall/wrappers)
|
include_directories(${CMAKE_SOURCE_DIR}/src/kernel/libsyscall/wrappers)
|
||||||
include_directories(${CMAKE_SOURCE_DIR}/src/libmalloc/include)
|
include_directories(${CMAKE_SOURCE_DIR}/src/libmalloc/include)
|
||||||
@ -64,6 +68,8 @@ add_circular(system_info FAT
|
|||||||
libdispatch_shared
|
libdispatch_shared
|
||||||
system_notify
|
system_notify
|
||||||
platform
|
platform
|
||||||
|
xpc
|
||||||
|
compiler_rt
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
resolv-darwin
|
resolv-darwin
|
||||||
)
|
)
|
||||||
|
@ -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}/../lookup.subproj)
|
||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
|
||||||
|
add_definitions(
|
||||||
|
-DDS_AVAILABLE
|
||||||
|
)
|
||||||
|
|
||||||
set(info-membership_sources
|
set(info-membership_sources
|
||||||
membership.c
|
membership.c
|
||||||
)
|
)
|
||||||
|
7
src/opendirectory/include/opendirectory/odipc.h
Normal file
7
src/opendirectory/include/opendirectory/odipc.h
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#ifndef _OD_ODIPC_H_
|
||||||
|
#define _OD_ODIPC_H_
|
||||||
|
|
||||||
|
#define kODMachMembershipPortNameDebug 1
|
||||||
|
#define kODMachMembershipPortName 1
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user