2000-12-17 19:21:12 +03:00
|
|
|
# $NetBSD: Makefile,v 1.2 2000/12/17 16:21:12 jdolecek Exp $
|
2000-12-09 02:05:33 +03:00
|
|
|
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
|
|
|
|
.PATH: $S/compat/freebsd
|
|
|
|
|
|
|
|
CPPFLAGS+= -nostdinc -I$S -D_KERNEL -DEXEC_ELF32
|
|
|
|
|
|
|
|
MKMAN= no
|
|
|
|
|
|
|
|
KMOD= exec_freebsd_elf
|
|
|
|
|
|
|
|
SRCS= lkminit_exec.c
|
|
|
|
SRCS+= freebsd_exec_elf32.c
|
|
|
|
|
2000-12-17 19:21:12 +03:00
|
|
|
# compat_util.c symbol redifinitions
|
|
|
|
CPPFLAGS+= -Demul_find=freebsd_emul_find \
|
|
|
|
-Dstackgap_init=freebsd_stackgap_init \
|
|
|
|
-Demul_flags_translate=freebsd_emul_flags_translate \
|
|
|
|
-Dstackgap_alloc=freebsd_stackgap_alloc \
|
|
|
|
-Dcompat_offseterr=freebsd_compat_offseterr
|
|
|
|
.PATH: $S/compat/common
|
|
|
|
SRCS+= compat_util.c
|
|
|
|
|
2000-12-09 02:05:33 +03:00
|
|
|
.include <bsd.kmod.mk>
|