X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/3d9156a7a519a5e3aa1b92e9d9d4b991f1aed7ff..34e8f8296870d0e8695f90e1a54240a589d41312:/darwin/Makefile.inc diff --git a/darwin/Makefile.inc b/darwin/Makefile.inc index a47cbda..a72b3be 100644 --- a/darwin/Makefile.inc +++ b/darwin/Makefile.inc @@ -1,5 +1,23 @@ .PATH: ${.CURDIR}/darwin -MISRCS += copyfile.c -LOCALHDRS += ${.CURDIR}/darwin/copyfile.h -CFLAGS-copyfile.c = -I${.CURDIR}/darwin +.sinclude "${.CURDIR}/${MACHINE_ARCH}/darwin/Makefile.inc" + +DARWINMIGDEFS += dirhelper.defs +DARWINMIGHDRS += ${DARWINMIGDEFS:.defs=.h} +DARWINMIGSRCS += ${DARWINMIGDEFS:.defs=User.c} + +INSTHDRS += ${.CURDIR}/darwin/libproc.h + +LOCALHDRS += ${.CURDIR}/darwin/dirhelper.defs \ + ${.CURDIR}/darwin/dirhelper_priv.h \ + ${.CURDIR}/darwin/libproc.h +MISRCS += ${DARWINMIGSRCS} _dirhelper.c libproc.c proc_listpidspath.c + +.ifndef LP64 +MISRCS += kvm.c MKGetTimeBaseInfo.c +.endif + +# force building of the mig stuff before _dirhelper.c +_dirhelper.${OBJSUFFIX}: dirhelperUser.c + +CFLAGS-proc_listpidspath.c += -I${.CURDIR}/darwin