blob: 66ad315fa9215ad6b7a14ed88a04e6caac872083 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.66 2021/05/25 16:50:49 pgoyette Exp $
LIB= compat
NOPIC= # defined
LLIBS= # defined
CPPFLAGS= ${COMPATCPPFLAGS} ${SKIP_AUTODEP::=}
.PATH.c: ${COMPATDIR}
# Common compatibility code, used by all emulations
SRCS= compat_exec.c
# Include compatibility code common to libcompat and the compat module
.include "Makefile.sysio"
.include "Makefile.sysv"
# only needed during build
libinstall::
.include <bsd.own.mk>
.undef DESTDIR
.include <bsd.lib.mk>
lib${LIB}.o:: ${OBJS:O} __buildstdlib
lib${LIB}.po:: ${POBJS:O} __buildproflib
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
CPPFLAGS+= -DCPU_UCODE
.endif
showsources: ${SRCS}
@echo ${.ALLSRC}
|