]> git.saurik.com Git - apple/libc.git/blob - compat-43/Makefile.inc
Libc-498.tar.gz
[apple/libc.git] / compat-43 / Makefile.inc
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
6
7 MISRCS+= sigaltstk.c sigcompat.c
8 .include "Makefile.fbsd_begin"
9 FBSDMISRCS= creat.c gethostid.c getwd.c killpg.c sethostid.c setpgrp.c \
10 setrgid.c setruid.c
11 .include "Makefile.fbsd_end"
12
13 LEGACYSRCS += creat.c setregid.c setreuid.c sigcompat.c killpg.c
14 CANCELABLESRCS += creat.c sigcompat.c
15
16 # set the LIBC_ALIAS_* macros so we can decorate the symbol independent
17 # of other macro settings
18 CFLAGS-creat-fbsd.c += -DLIBC_ALIAS_CREAT
19 CFLAGS-setregid.c += -DLIBC_ALIAS_SETREGID
20 CFLAGS-setreuid.c += -DLIBC_ALIAS_SETREUID
21 CFLAGS-setpgrp-fbsd.c += -DLIBC_ALIAS_SETPGRP
22 CFLAGS-sigcompat.c += -DLIBC_ALIAS_SIGPAUSE
23 CFLAGS-killpg-fbsd.c += -DLIBC_ALIAS_KILLPG
24 CFLAGS-sigaltstk.c += -DLIBC_ALIAS_SIGALTSTACK
25
26 .if ${LIB} == "c"
27 MAN2+= sigblock.2 sigpause.2 sigsetmask.2 sigvec.2
28
29 .include "Makefile.fbsd_begin"
30 FBSDMAN2= creat.2 killpg.2
31 FBSDMAN3= gethostid.3 setruid.3
32 .include "Makefile.fbsd_end"
33
34 MLINKS+= gethostid.3 sethostid.3
35
36 MLINKS+= setruid.3 setrgid.3
37
38 MLINKS+= sigsetmask.2 sigmask.2
39
40 .endif