freebsd-dev/sys/modules/oltr/Makefile
Peter Wemm 66422f5b7a Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00

35 lines
808 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../contrib/dev/oltr ${.CURDIR}/../../net
KMOD = if_oltr
SRCS = if_oltr.c trlldbm.c trlldhm.c trlldmac.c if_iso88025subr.c \
opt_inet.h opt_inet6.h opt_ipx.h device_if.h bus_if.h pci_if.h
OBJS+= trlld.o
TR_INET?= 1 # 0/1 requires INET to be configured in the kernel
TR_INET6?= 0 # 0/1 requires INET6 to be configured in the kernel
TR_IPX?= 0 # 0/1 requires IPX to be configured in the kernel
trlld.o:
uudecode < ${.CURDIR}/../../contrib/dev/oltr/i386-elf.trlld.o.uu
opt_inet.h:
touch opt_inet.h
.if ${TR_INET} > 0
echo "#define INET 1" > opt_inet.h
.endif
opt_inet6.h:
touch opt_inet6.h
.if ${TR_INET6} > 0
echo "#define INET6 1" > opt_inet6.h
.endif
opt_ipx.h:
touch opt_ipx.h
.if ${TR_IPX} > 0
echo "#define IPX 1" > opt_ipx.h
.endif
.include <bsd.kmod.mk>