Makefile revision 289364
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 275030 2014-11-25 11:23:12Z bapt $ 7 8.include <src.opts.mk> 9 10PROG= atmconfig 11SRCS= main.c diag.c natm.c 12MAN= atmconfig.8 13# CFLAGS+= -DPATH_HELP='".:/usr/share/doc/atm:/usr/local/share/doc/atm"' 14 15CFLAGS+= -I${.OBJDIR} 16 17.if !defined(RESCUE) && ${MK_BSNMP} != "no" 18CFLAGS+= -DWITH_BSNMP 19SRCS+= oid.h atmconfig_device.c 20LIBADD+= bsnmp 21. if ${MK_DYNAMICROOT} == "no" && ${MK_OPENSSL} != "no" 22LIBADD+= crypto 23. endif 24.endif 25 26CLEANFILES+= oid.h 27 28# XXX - this is verboten 29.if ${MACHINE_CPUARCH} == "arm" 30WARNS?= 3 31.endif 32 33FILES= atmconfig.help atmconfig_device.help 34FILESDIR= /usr/share/doc/atm 35 36SNMP_ATM_DEF= ${.CURDIR}/../../../contrib/ngatm/snmp_atm/atm_tree.def \ 37 ${.CURDIR}/../../../usr.sbin/bsnmpd/modules/snmp_atm/atm_freebsd.def 38 39oid.h: atm_oid.list ${SNMP_ATM_DEF} 40 cat ${SNMP_ATM_DEF} | gensnmptree -e `tail -n +2 ${.CURDIR}/atm_oid.list` \ 41 > ${.TARGET} 42 43.include <bsd.prog.mk> 44