]> git.saurik.com Git - apple/libc.git/blame - compat-43/Makefile.inc
Libc-498.1.5.tar.gz
[apple/libc.git] / compat-43 / Makefile.inc
CommitLineData
5b2abdfb
A
1# @(#)Makefile.inc 8.1 (Berkeley) 6/2/93
2# $FreeBSD: src/lib/libc/compat-43/Makefile.inc,v 1.11 2001/03/27 17:26:46 ru Exp $
3
4# compat-43 sources
5.PATH: ${.CURDIR}/${MACHINE_ARCH}/compat-43 ${.CURDIR}/compat-43
b5d655f7 6CWD := ${.CURDIR}/compat-43
5b2abdfb 7
224c7076 8MISRCS+= sigaltstk.c sigcompat.c
9385eb3d 9.include "Makefile.fbsd_begin"
59e0d9fe 10FBSDMISRCS= creat.c gethostid.c getwd.c killpg.c sethostid.c setpgrp.c \
9385eb3d
A
11 setrgid.c setruid.c
12.include "Makefile.fbsd_end"
5b2abdfb 13
224c7076
A
14LEGACYSRCS += creat.c setregid.c setreuid.c sigcompat.c killpg.c
15CANCELABLESRCS += creat.c sigcompat.c
16
17# set the LIBC_ALIAS_* macros so we can decorate the symbol independent
18# of other macro settings
19CFLAGS-creat-fbsd.c += -DLIBC_ALIAS_CREAT
20CFLAGS-setregid.c += -DLIBC_ALIAS_SETREGID
21CFLAGS-setreuid.c += -DLIBC_ALIAS_SETREUID
22CFLAGS-setpgrp-fbsd.c += -DLIBC_ALIAS_SETPGRP
23CFLAGS-sigcompat.c += -DLIBC_ALIAS_SIGPAUSE
24CFLAGS-killpg-fbsd.c += -DLIBC_ALIAS_KILLPG
25CFLAGS-sigaltstk.c += -DLIBC_ALIAS_SIGALTSTACK
3d9156a7 26
5b2abdfb 27.if ${LIB} == "c"
9385eb3d
A
28MAN2+= sigblock.2 sigpause.2 sigsetmask.2 sigvec.2
29
30.include "Makefile.fbsd_begin"
31FBSDMAN2= creat.2 killpg.2
32FBSDMAN3= gethostid.3 setruid.3
33.include "Makefile.fbsd_end"
5b2abdfb 34
224c7076
A
35MLINKS+= gethostid.3 sethostid.3
36
37MLINKS+= setruid.3 setrgid.3
38
39MLINKS+= sigsetmask.2 sigmask.2
5b2abdfb
A
40
41.endif