suppose i want to write a new system call for minix:

i define a new syscall number and a handler to handle it, so far so

but how do i get the wrapper done; i figured i'd have to place a c-file
in /usr/src/lib/syscall and write my wrapper function in there..and
then? how do i get it be compiled with all the other system call
wrapper functions contained in the system call library? i guess i need
to modify the makefile but i've no clue how i have to go about here

thanx for you help,