SubDir TOP haiku-on-genode system kinda-kernel ;


SetupHeadersHoG ;
UsePrivateSystemHeaders ;  # syscalls.h: _kern_shutdown()
SubDirHdrs $(TOP) hog-services broker ;  # find broker_session/RemoteBroker.h


SolibFromObjects haiku.lib.so :
	api-public_main.o
	api-public_sem-port-thread-etc.o
	kinda_serverside.o
	;
Library haiku.lib.a :
	api-public_main.cpp
	api-public_sem-port-thread-etc.cpp
	kinda_serverside.cpp
	;

# Since this is the "top level" of the HaikuKit build script,
# finalize the shared lib with this .a static lib:
LinkLibraries haiku.lib.so :
	hog_lib  # RingLog
	;
