2005-06-27 05:00:04 +04:00
|
|
|
# $NetBSD: Makefile,v 1.29 2005/06/27 01:00:05 christos Exp $
|
1995-03-18 17:54:19 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2005-03-20 17:24:13 +03:00
|
|
|
# when making a change to this file, please check if the change is
|
|
|
|
# also needed for src/distrib/utils/x_ifconfig/Makefile.
|
|
|
|
|
2005-01-10 05:58:58 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= ifconfig
|
1994-12-22 13:44:04 +03:00
|
|
|
MAN= ifconfig.8
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2005-03-18 14:11:50 +03:00
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys/
|
|
|
|
|
2005-01-10 05:58:58 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
1999-12-12 14:44:53 +03:00
|
|
|
CPPFLAGS+=-DINET6
|
2005-01-10 05:58:58 +03:00
|
|
|
.endif
|
1999-12-13 18:24:45 +03:00
|
|
|
|
|
|
|
# KAME scope id hack
|
|
|
|
CPPFLAGS+=-DKAME_SCOPEID
|
1999-07-01 17:19:20 +04:00
|
|
|
|
2002-09-21 01:21:53 +04:00
|
|
|
DPADD+=${LIBUTIL}
|
|
|
|
LDADD+=-lutil
|
|
|
|
|
2004-10-29 00:10:29 +04:00
|
|
|
SRCS= ifconfig.c
|
2005-03-20 02:32:55 +03:00
|
|
|
|
|
|
|
SRCS+= af_atalk.c
|
2005-03-20 05:43:50 +03:00
|
|
|
SRCS+= af_inet.c
|
2005-03-20 05:44:25 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
2005-03-20 04:09:16 +03:00
|
|
|
SRCS+= af_inet6.c
|
2005-03-20 05:44:25 +03:00
|
|
|
.endif
|
2005-03-20 03:02:58 +03:00
|
|
|
SRCS+= af_iso.c
|
2005-03-20 02:46:03 +03:00
|
|
|
SRCS+= af_ns.c
|
2005-03-20 02:32:55 +03:00
|
|
|
|
2005-03-18 14:11:50 +03:00
|
|
|
SRCS+= agr.c
|
2005-03-20 02:13:42 +03:00
|
|
|
SRCS+= ieee80211.c
|
2005-03-19 20:32:26 +03:00
|
|
|
SRCS+= tunnel.c
|
2005-03-19 06:53:55 +03:00
|
|
|
SRCS+= vlan.c
|
2004-10-29 00:10:29 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|