Skip to content

Commit

Permalink
link KAME's libinet6
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmei committed Nov 25, 2001
1 parent 8e82fc2 commit fdd469d
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions freebsd4/sbin/ifconfig/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/5/93
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.14 1999/12/15 05:13:20 shin Exp $
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.14.2.5 2001/07/21 17:47:39 obrien Exp $

PROG= ifconfig
SRCS= ifconfig.c
Expand All @@ -8,15 +8,33 @@ SRCS= ifconfig.c
SRCS+= ifmedia.c
CFLAGS+=-DUSE_IF_MEDIA
CFLAGS+=-DINET6
.if !defined(RELEASE_CRUNCH)

#comment out to exclude SIOC[GS]ETVLAN support
SRCS+= ifvlan.c
CFLAGS+=-DUSE_VLANS
.endif

MAN8= ifconfig.8
#comment out to exclude SIOC[GS]IEEE80211 support
SRCS+= ifieee80211.c
CFLAGS+=-DUSE_IEEE80211

MAN= ifconfig.8

.if defined(RELEASE_CRUNCH)
CFLAGS+=-DNO_IPX
.else
DPADD= ${LIBIPX}
LDADD= -lipx
.endif

COPTS= -DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
-Wnested-externs -I..

#link KAME libinet6
LDADD+= -L${.OBJDIR}/../../lib/libinet6 \
-L/usr/local/v6/lib -linet6
DPADD+= ${.OBJDIR}/../../lib/libinet6/libinet6.a \
/usr/local/v6/lib/libinet6.a

.include <bsd.prog.mk>

0 comments on commit fdd469d

Please sign in to comment.