1 # Copyright (c) 2001-2003
2 # Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4 # Author: Harti Brandt <brandt@fokus.gmd.de>
11 SRCS= main.c diag.c natm.c
13 # CFLAGS+= -DPATH_HELP='".:/usr/share/doc/atm:/usr/local/share/doc/atm"'
17 .if !defined(RESCUE) && ${MK_BSNMP} != "no"
19 SRCS+= oid.h atmconfig_device.c
22 . if ${MK_DYNAMICROOT} == "no" && ${MK_OPENSSL} != "no"
30 # XXX - this is verboten
31 .if ${MACHINE_CPUARCH} == "arm"
35 FILES= atmconfig.help atmconfig_device.help
36 FILESDIR= /usr/share/doc/atm
38 SNMP_ATM_DEF= ${.CURDIR}/../../../contrib/ngatm/snmp_atm/atm_tree.def \
39 ${.CURDIR}/../../../usr.sbin/bsnmpd/modules/snmp_atm/atm_freebsd.def
41 oid.h: atm_oid.list ${SNMP_ATM_DEF}
42 cat ${SNMP_ATM_DEF} | gensnmptree -e `tail -n +2 ${.CURDIR}/atm_oid.list` \
45 .include <bsd.prog.mk>