summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2003-10-29 10:30:54 +0000
committerHartmut Brandt <harti@FreeBSD.org>2003-10-29 10:30:54 +0000
commit4f35c8461f3301a1b3fb9d43097e6fabee395787 (patch)
tree7e378e8c90af1fbfa1087ec3cee8628584c6ee0b
parent62b6414d73cebc0c929a7a0469ffbe3c636b71ba (diff)
Notes
-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 da67aaa056c9..178ca5ae9fcc 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 000000000000..9ed46ef7a16d
--- /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 000000000000..265f86d1ed55
--- /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 000000000000..48138ece467d
--- /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>