1 # $FreeBSD: releng/5.0/sys/modules/oltr/Makefile 103436 2002-09-17 01:49:00Z peter $
2
3 .PATH: ${.CURDIR}/../../contrib/dev/oltr ${.CURDIR}/../../net
4 KMOD = if_oltr
5 SRCS = if_oltr.c trlldbm.c trlldhm.c trlldmac.c if_iso88025subr.c \
6 opt_inet.h opt_inet6.h opt_ipx.h device_if.h bus_if.h pci_if.h
7 OBJS+= trlld.o
8
9 TR_INET?= 1 # 0/1 requires INET to be configured in the kernel
10 TR_INET6?= 0 # 0/1 requires INET6 to be configured in the kernel
11 TR_IPX?= 0 # 0/1 requires IPX to be configured in the kernel
12
13 trlld.o:
14 uudecode < ${.CURDIR}/../../contrib/dev/oltr/i386-elf.trlld.o.uu
15
16 opt_inet.h:
17 touch opt_inet.h
18 .if ${TR_INET} > 0
19 echo "#define INET 1" > opt_inet.h
20 .endif
21
22 opt_inet6.h:
23 touch opt_inet6.h
24 .if ${TR_INET6} > 0
25 echo "#define INET6 1" > opt_inet6.h
26 .endif
27
28 opt_ipx.h:
29 touch opt_ipx.h
30 .if ${TR_IPX} > 0
31 echo "#define IPX 1" > opt_ipx.h
32 .endif
33
34 .include <bsd.kmod.mk>
Cache object: 0c08a5672e5b15560d7d7b96370accab
|