Deleted Added
full compact
Makefile (90671) Makefile (105760)
1# From: @(#)Makefile 8.1 (Berkeley) 6/5/93
1# From: @(#)Makefile 8.1 (Berkeley) 6/5/93
2# $FreeBSD: head/sbin/ifconfig/Makefile 90671 2002-02-15 03:57:06Z luigi $
2# $FreeBSD: head/sbin/ifconfig/Makefile 105760 2002-10-23 03:40:47Z rwatson $
3
4PROG= ifconfig
5SRCS= ifconfig.c
6
7#comment out to exclude SIOC[GS]IFMEDIA support
8SRCS+= ifmedia.c
9CFLAGS+=-DUSE_IF_MEDIA
10CFLAGS+=-DINET6
11
12#comment out to exclude SIOC[GS]ETVLAN support
13SRCS+= ifvlan.c
14CFLAGS+=-DUSE_VLANS
15
16#comment out to exclude SIOC[GS]IEEE80211 support
17SRCS+= ifieee80211.c
18CFLAGS+=-DUSE_IEEE80211
19
3
4PROG= ifconfig
5SRCS= ifconfig.c
6
7#comment out to exclude SIOC[GS]IFMEDIA support
8SRCS+= ifmedia.c
9CFLAGS+=-DUSE_IF_MEDIA
10CFLAGS+=-DINET6
11
12#comment out to exclude SIOC[GS]ETVLAN support
13SRCS+= ifvlan.c
14CFLAGS+=-DUSE_VLANS
15
16#comment out to exclude SIOC[GS]IEEE80211 support
17SRCS+= ifieee80211.c
18CFLAGS+=-DUSE_IEEE80211
19
20#comment out to exclude MAC support
21SRCS+= ifmac.c
22CFLAGS+=-DUSE_MAC
23
20MAN= ifconfig.8
21
22.if defined(RELEASE_CRUNCH)
23CFLAGS+=-DNO_IPX
24.else
25DPADD= ${LIBIPX}
26LDADD= -lipx
27.endif
28
29CFLAGS+=-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
30 -Wnested-externs -I..
31WARNS= 0
32
33.include <bsd.prog.mk>
24MAN= ifconfig.8
25
26.if defined(RELEASE_CRUNCH)
27CFLAGS+=-DNO_IPX
28.else
29DPADD= ${LIBIPX}
30LDADD= -lipx
31.endif
32
33CFLAGS+=-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
34 -Wnested-externs -I..
35WARNS= 0
36
37.include <bsd.prog.mk>