1# Copyright (c) 2001-2003 2# Fraunhofer Institute for Open Communication Systems (FhG Fokus). 3# All rights reserved. 4# Author: Harti Brandt <brandt@fokus.gmd.de> 5#
| 1# Copyright (c) 2001-2003 2# Fraunhofer Institute for Open Communication Systems (FhG Fokus). 3# All rights reserved. 4# Author: Harti Brandt <brandt@fokus.gmd.de> 5#
|
6# $FreeBSD: head/sbin/atm/atmconfig/Makefile 132492 2004-07-21 09:39:53Z harti $
| 6# $FreeBSD: head/sbin/atm/atmconfig/Makefile 133565 2004-08-12 12:31:43Z harti $
|
7 8PROG= atmconfig
| 7 8PROG= atmconfig
|
9SRCS= main.c diag.c natm.c
| 9.ifndef RESCUE 10SRCS= ${.OBJDIR}/oid.h 11.endif 12SRCS+= main.c diag.c natm.c 13.ifndef RESCUE 14SRCS+= atmconfig_device.c 15.endif
|
10MAN= atmconfig.8 11# CFLAGS+= -DPATH_HELP='".:/usr/share/doc/atm:/usr/local/share/doc/atm"' 12
| 16MAN= atmconfig.8 17# CFLAGS+= -DPATH_HELP='".:/usr/share/doc/atm:/usr/local/share/doc/atm"' 18
|
| 19CFLAGS+= -I${.OBJDIR} 20 21.ifndef RESCUE 22DPADD= ${LIBBSNMP} 23LDADD= -lbsnmp 24.endif 25 26.ifndef RESCUE 27CLEANFILES+= oid.h 28.endif 29
|
13.if ${MACHINE_ARCH} == "arm" 14WARNS?= 3 15.else 16WARNS?= 9 17.endif 18
| 30.if ${MACHINE_ARCH} == "arm" 31WARNS?= 3 32.else 33WARNS?= 9 34.endif 35
|
19FILES= atmconfig.help
| 36FILES= atmconfig.help atmconfig_device.help
|
20FILESDIR= /usr/share/doc/atm 21
| 37FILESDIR= /usr/share/doc/atm 38
|
| 39SNMP_ATM_DEF= ${.CURDIR}/../../../contrib/ngatm/snmp_atm/atm_tree.def \ 40 ${.CURDIR}/../../../lib/libbsnmp/modules/snmp_atm/atm_freebsd.def 41 42${.OBJDIR}/oid.h: atm_oid.list ${SNMP_ATM_DEF} 43 cat ${SNMP_ATM_DEF} | gensnmptree -e `tail -n +2 ${.CURDIR}/atm_oid.list` \ 44 > ${.OBJDIR}/oid.h 45
|
22.include <bsd.prog.mk>
| 46.include <bsd.prog.mk>
|