summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-10-29 10:30:54 +0000
committerharti <harti@FreeBSD.org>2003-10-29 10:30:54 +0000
commitf5759b00c40941c8a20fa62306629cc1df0eef5a (patch)
tree7e378e8c90af1fbfa1087ec3cee8628584c6ee0b /usr.bin
parentdafee728ad58b22210c6b63efbff6d76b1999101 (diff)
downloadFreeBSD-src-f5759b00c40941c8a20fa62306629cc1df0eef5a.zip
FreeBSD-src-f5759b00c40941c8a20fa62306629cc1df0eef5a.tar.gz
Build the NgATM user space SSCOP tool (unless NOATM is defined).
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/Makefile5
-rw-r--r--usr.bin/atm/Makefile5
-rw-r--r--usr.bin/atm/Makefile.inc3
-rw-r--r--usr.bin/atm/sscop/Makefile15
4 files changed, 28 insertions, 0 deletions
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 <bsd.subdir.mk>
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 <bsd.prog.mk>
OpenPOWER on IntegriCloud