Build the NgATM user space SSCOP tool (unless NOATM is defined).

This commit is contained in:
harti 2003-10-29 10:30:54 +00:00
parent dafee728ad
commit f5759b00c4
4 changed files with 28 additions and 0 deletions

View File

@ -27,10 +27,15 @@ _lex= lex
_yacc= yacc
.endif
.if !defined(NOATM)
_atm= atm
.endif
SUBDIR= alias \
apply \
asa \
at \
${_atm} \
awk \
banner \
basename \

5
usr.bin/atm/Makefile Normal file
View File

@ -0,0 +1,5 @@
# $FreeBSD$
SUBDIR= sscop
.include <bsd.subdir.mk>

3
usr.bin/atm/Makefile.inc Normal file
View File

@ -0,0 +1,3 @@
# $FreeBSD$
.include "../Makefile.inc"

View File

@ -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>