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 143617 2005-03-15 07:38:15Z harti $
7
8PROG= atmconfig
9.ifndef RESCUE
10SRCS= ${.OBJDIR}/oid.h
11.endif
12SRCS+= main.c diag.c natm.c
13.ifndef RESCUE
14SRCS+= atmconfig_device.c
--- 17 unchanged lines hidden (view full) ---
32.else
33WARNS?= 6
34.endif
35
36FILES= atmconfig.help atmconfig_device.help
37FILESDIR= /usr/share/doc/atm
38
39SNMP_ATM_DEF= ${.CURDIR}/../../../contrib/ngatm/snmp_atm/atm_tree.def \
40 ${.CURDIR}/../../../usr.sbin/bsnmpd/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
46.include <bsd.prog.mk>
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 143617 2005-03-15 07:38:15Z harti $
7
8PROG= atmconfig
9.ifndef RESCUE
10SRCS= ${.OBJDIR}/oid.h
11.endif
12SRCS+= main.c diag.c natm.c
13.ifndef RESCUE
14SRCS+= atmconfig_device.c
--- 17 unchanged lines hidden (view full) ---
32.else
33WARNS?= 6
34.endif
35
36FILES= atmconfig.help atmconfig_device.help
37FILESDIR= /usr/share/doc/atm
38
39SNMP_ATM_DEF= ${.CURDIR}/../../../contrib/ngatm/snmp_atm/atm_tree.def \
40 ${.CURDIR}/../../../usr.sbin/bsnmpd/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
46.include <bsd.prog.mk>