Makefile revision 133565
11573Srgrimes# Copyright (c) 2001-2003 21573Srgrimes# Fraunhofer Institute for Open Communication Systems (FhG Fokus). 31573Srgrimes# All rights reserved. 41573Srgrimes# Author: Harti Brandt <brandt@fokus.gmd.de> 51573Srgrimes# 61573Srgrimes# $FreeBSD: head/sbin/atm/atmconfig/Makefile 133565 2004-08-12 12:31:43Z harti $ 71573Srgrimes 81573SrgrimesPROG= atmconfig 91573Srgrimes.ifndef RESCUE 101573SrgrimesSRCS= ${.OBJDIR}/oid.h 111573Srgrimes.endif 121573SrgrimesSRCS+= main.c diag.c natm.c 131573Srgrimes.ifndef RESCUE 141573SrgrimesSRCS+= atmconfig_device.c 151573Srgrimes.endif 161573SrgrimesMAN= atmconfig.8 171573Srgrimes# CFLAGS+= -DPATH_HELP='".:/usr/share/doc/atm:/usr/local/share/doc/atm"' 181573Srgrimes 191573SrgrimesCFLAGS+= -I${.OBJDIR} 201573Srgrimes 211573Srgrimes.ifndef RESCUE 221573SrgrimesDPADD= ${LIBBSNMP} 231573SrgrimesLDADD= -lbsnmp 241573Srgrimes.endif 251573Srgrimes 261573Srgrimes.ifndef RESCUE 271573SrgrimesCLEANFILES+= oid.h 281573Srgrimes.endif 291573Srgrimes 301573Srgrimes.if ${MACHINE_ARCH} == "arm" 311573SrgrimesWARNS?= 3 321573Srgrimes.else 331573SrgrimesWARNS?= 9 341573Srgrimes.endif 351573Srgrimes 3692986SobrienFILES= atmconfig.help atmconfig_device.help 3792986SobrienFILESDIR= /usr/share/doc/atm 381573Srgrimes 3971579SdeischenSNMP_ATM_DEF= ${.CURDIR}/../../../contrib/ngatm/snmp_atm/atm_tree.def \ 40201999Scperciva ${.CURDIR}/../../../lib/libbsnmp/modules/snmp_atm/atm_freebsd.def 41201999Scperciva 421573Srgrimes${.OBJDIR}/oid.h: atm_oid.list ${SNMP_ATM_DEF} 4371579Sdeischen cat ${SNMP_ATM_DEF} | gensnmptree -e `tail -n +2 ${.CURDIR}/atm_oid.list` \ 441573Srgrimes > ${.OBJDIR}/oid.h 451573Srgrimes 4635129Sjb.include <bsd.prog.mk> 471573Srgrimes