libstand: Isolate gcc-specific flags, avoid native compilations
[dragonfly.git] / lib / libcompat / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/4/93
2 # $FreeBSD: src/lib/libcompat/Makefile,v 1.19.2.1 2001/04/25 10:04:23 ru Exp $
3
4 LIB=compat
5 CFLAGS+=-I${.CURDIR}/../libc/locale
6 CFLAGS+=-I${.CURDIR}/../libc/${MACHINE_ARCH}
7 NOPIC=
8 WARNS?= 0
9
10 .PATH:  ${.CURDIR}/4.1 ${.CURDIR}/4.3 ${.CURDIR}/4.4
11
12 # compat 4.1 sources
13 SRCS+=  ascftime.c cftime.c ftime.c getpw.c gtty.c stty.c
14
15 MAN+=   4.1/ftime.3 4.1/getpw.3 4.1/stty.3
16 MAN+=   4.1/cftime.3
17
18 MLINKS+=stty.3 gtty.3
19 MLINKS+=cftime.3 ascftime.3
20
21 # compat 4.3 sources
22 SRCS+=  cfree.c re_comp.c rexec.c
23 SRCS+=  insque.c remque.c
24
25 MAN+=   4.3/cfree.3 4.3/insque.3 4.3/re_comp.3 4.3/rexec.3
26
27 MLINKS+=insque.3 remque.3
28 MLINKS+=re_comp.3 re_exec.3
29
30 # compat 4.4 sources
31 SRCS+=  cuserid.c
32 MAN+=   4.4/cuserid.3
33
34 .include <bsd.lib.mk>