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