2003-10-22 11:52:35 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# Author: Harti Brandt <harti@freebsd.org>
|
|
|
|
#
|
2016-02-04 21:16:35 +00:00
|
|
|
PACKAGE=lib${LIB}
|
2003-10-22 11:52:35 +00:00
|
|
|
LIB= ngatm
|
2009-07-19 17:25:24 +00:00
|
|
|
SHLIB_MAJOR= 4
|
2004-07-08 17:09:55 +00:00
|
|
|
MAN= libngatm.3 uniaddr.3 unifunc.3 unimsg.3 unisap.3 unistruct.3
|
2003-10-22 11:52:35 +00:00
|
|
|
|
|
|
|
# source of the library lives in contrib
|
2017-01-20 04:41:53 +00:00
|
|
|
SDIR= ${SRCTOP}/sys
|
|
|
|
CTRB= ${SRCTOP}/contrib/ngatm
|
2003-10-22 11:52:35 +00:00
|
|
|
LIBBASE= ${SDIR}/contrib/ngatm
|
|
|
|
|
|
|
|
CFLAGS+= -I${LIBBASE} -I${.OBJDIR} -I${CTRB}/libngatm
|
2004-07-08 17:09:55 +00:00
|
|
|
# CFLAGS+= -DSSCOP_DEBUG -DSSCFU_DEBUG -DUNI_DEBUG -DCCATM_DEBUG
|
2003-10-22 11:52:35 +00:00
|
|
|
|
2003-11-03 12:27:22 +00:00
|
|
|
.PATH: ${LIBBASE}/netnatm ${LIBBASE}/netnatm/saal ${LIBBASE}/netnatm/misc \
|
2004-07-08 17:09:55 +00:00
|
|
|
${LIBBASE}/netnatm/msg ${LIBBASE}/netnatm/sig ${LIBBASE}/netnatm/api
|
2003-10-22 11:52:35 +00:00
|
|
|
.PATH: ${CTRB}/libngatm ${CTRB}/man
|
|
|
|
|
2003-11-03 12:27:22 +00:00
|
|
|
SRCS= unimsg.c unimsg_common.c straddr.c \
|
|
|
|
traffic.c uni_ie.c uni_msg.c \
|
2003-11-07 09:10:25 +00:00
|
|
|
saal_sscop.c saal_sscfu.c \
|
|
|
|
sig_call.c sig_coord.c sig_party.c sig_print.c sig_reset.c \
|
2004-07-08 17:09:55 +00:00
|
|
|
sig_uni.c sig_unimsgcpy.c sig_verify.c \
|
|
|
|
cc_conn.c cc_user.c cc_sig.c cc_data.c cc_port.c unisap.c \
|
|
|
|
cc_dump.c
|
2003-10-22 11:52:35 +00:00
|
|
|
|
|
|
|
# Includes
|
2004-07-08 17:09:55 +00:00
|
|
|
INCSGROUPS= INCSATM INCSSAAL INCSMSG INCSSIG INCSAPI
|
2003-10-22 11:52:35 +00:00
|
|
|
|
|
|
|
# common files
|
|
|
|
INCSATMDIR= $(INCLUDEDIR)/netnatm
|
2003-11-03 12:27:22 +00:00
|
|
|
INCSATM= unimsg.h addr.h
|
2003-10-22 11:52:35 +00:00
|
|
|
|
|
|
|
# signaling AAL
|
|
|
|
INCSSAALDIR= $(INCLUDEDIR)/netnatm/saal
|
|
|
|
INCSSAAL= saal/sscfu.h saal/sscfudef.h saal/sscop.h saal/sscopdef.h
|
|
|
|
|
2003-11-03 12:27:22 +00:00
|
|
|
# message parsing
|
|
|
|
INCSMSGDIR= $(INCLUDEDIR)/netnatm/msg
|
|
|
|
INCSMSG= msg/uni_config.h msg/uni_hdr.h msg/uni_ie.h msg/uni_msg.h \
|
|
|
|
msg/unimsglib.h msg/uniprint.h msg/unistruct.h
|
|
|
|
|
2003-11-07 09:10:25 +00:00
|
|
|
# signaling layer
|
|
|
|
INCSSIGDIR= $(INCLUDEDIR)/netnatm/sig
|
|
|
|
INCSSIG= sig/uni.h sig/unidef.h sig/unisig.h
|
|
|
|
|
2004-07-08 17:09:55 +00:00
|
|
|
# call control layer
|
|
|
|
INCSAPIDIR= $(INCLUDEDIR)/netnatm/api
|
|
|
|
INCSAPI= api/atmapi.h api/ccatm.h api/unisap.h
|
|
|
|
|
2003-10-22 11:52:35 +00:00
|
|
|
.include <bsd.lib.mk>
|