summaryrefslogtreecommitdiffstats
path: root/sys/modules/ibcs2/Makefile
blob: 4e5f45b0c12e52e7478969044866a99b15ef40a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $FreeBSD$

.PATH:	${.CURDIR}/../../i386/ibcs2
KMOD=	ibcs2
SRCS=	ibcs2_errno.c ibcs2_ipc.c ibcs2_stat.c ibcs2_misc.c \
	ibcs2_fcntl.c ibcs2_signal.c ibcs2_sysent.c ibcs2_ioctl.c \
	ibcs2_socksys.c ibcs2_util.c ibcs2_xenix.c ibcs2_xenix_sysent.c \
	ibcs2_isc.c ibcs2_isc_sysent.c \
	ibcs2_msg.c ibcs2_other.c ibcs2_sysi86.c ibcs2_sysvec.c \
	vnode_if.h opt_spx_hack.h

CFLAGS+= -DCOMPAT_IBCS2
EXPORT_SYMS= _ibcs2_mod _ibcs2_emul_path _ibcs2_svr3_sysvec

.if exists(${DESTDIR}/usr/bin)
afterinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${.CURDIR}/ibcs2.sh ${DESTDIR}/usr/sbin/ibcs2
.endif

.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud