From f5759b00c40941c8a20fa62306629cc1df0eef5a Mon Sep 17 00:00:00 2001 From: harti Date: Wed, 29 Oct 2003 10:30:54 +0000 Subject: Build the NgATM user space SSCOP tool (unless NOATM is defined). --- usr.bin/Makefile | 5 +++++ usr.bin/atm/Makefile | 5 +++++ usr.bin/atm/Makefile.inc | 3 +++ usr.bin/atm/sscop/Makefile | 15 +++++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 usr.bin/atm/Makefile create mode 100644 usr.bin/atm/Makefile.inc create mode 100644 usr.bin/atm/sscop/Makefile (limited to 'usr.bin') diff --git a/usr.bin/Makefile b/usr.bin/Makefile index da67aaa..178ca5a 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -27,10 +27,15 @@ _lex= lex _yacc= yacc .endif +.if !defined(NOATM) +_atm= atm +.endif + SUBDIR= alias \ apply \ asa \ at \ + ${_atm} \ awk \ banner \ basename \ diff --git a/usr.bin/atm/Makefile b/usr.bin/atm/Makefile new file mode 100644 index 0000000..9ed46ef --- /dev/null +++ b/usr.bin/atm/Makefile @@ -0,0 +1,5 @@ +# $FreeBSD$ + +SUBDIR= sscop + +.include diff --git a/usr.bin/atm/Makefile.inc b/usr.bin/atm/Makefile.inc new file mode 100644 index 0000000..265f86d --- /dev/null +++ b/usr.bin/atm/Makefile.inc @@ -0,0 +1,3 @@ +# $FreeBSD$ + +.include "../Makefile.inc" diff --git a/usr.bin/atm/sscop/Makefile b/usr.bin/atm/sscop/Makefile new file mode 100644 index 0000000..48138ec --- /dev/null +++ b/usr.bin/atm/sscop/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +CONTRIB= ${.CURDIR}/../../../contrib/ngatm/sscop + +.PATH: ${CONTRIB} + +PROG= sscop +SRCS= common.c sscop_main.c +WARNS?= 6 +CFLAGS+= -I${CONTRIB} + +DPADD+= ${LIBISC} ${LIBNETGRAPH} ${LIBNGATM} +LDADD+= ${LIBISC} ${LIBNETGRAPH} ${LIBNGATM} + +.include -- cgit v1.1