Revision 7ffae98ba5bdc1b8fd3917d99280ae1eaf180f57 authored by Glen Barber on 06 July 2017, 04:03:21 UTC, committed by Glen Barber on 06 July 2017, 04:03:21 UTC
 MFC r320599:
 Fix Vagrant image upload after recent API changes.

 - Update ATLAS_UPLOAD_URL to avoid various regular expressions
   from failing to match due to redirections.
 - Use ATLAS_UPLOAD_URL throughout the script.
 - Adjust several regular expression patterns.

Approved by:	re (kib)
Sponsored by:	The FreeBSD Foundation
1 parent 5f2cafa
Raw File
Makefile
# Copyright (c) 2001-2003
#	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
#	All rights reserved.
# Author: Harti Brandt <brandt@fokus.gmd.de>
#
# $FreeBSD$

.include <src.opts.mk>

PACKAGE=atm
PROG=	atmconfig
SRCS=	main.c diag.c natm.c
MAN=	atmconfig.8
# CFLAGS+= -DPATH_HELP='".:${SHAREDIR}/doc/atm:/usr/local/share/doc/atm"'

CFLAGS+= -I${.OBJDIR}

.if !defined(RESCUE) && ${MK_BSNMP} != "no"
CFLAGS+=	-DWITH_BSNMP
SRCS+=	oid.h atmconfig_device.c
LIBADD+=	bsnmp
. if ${MK_DYNAMICROOT} == "no" && ${MK_OPENSSL} != "no"
LIBADD+=	crypto
. endif
.endif

CLEANFILES+= oid.h

# XXX - this is verboten
.if ${MACHINE_CPUARCH} == "arm"
WARNS?= 3
.endif

FILES=	atmconfig.help atmconfig_device.help
FILESDIR= ${SHAREDIR}/doc/atm

SNMP_ATM_DEF= ${SRCTOP}/contrib/ngatm/snmp_atm/atm_tree.def	\
	${SRCTOP}/usr.sbin/bsnmpd/modules/snmp_atm/atm_freebsd.def

oid.h: atm_oid.list ${SNMP_ATM_DEF}
	cat ${SNMP_ATM_DEF} | gensnmptree -e `tail -n +2 ${.CURDIR}/atm_oid.list` \
		> ${.TARGET}

.include <bsd.prog.mk>
back to top