Makefile revision 313538
1# $FreeBSD: stable/11/lib/libngatm/Makefile 313538 2017-02-10 07:32:40Z ngie $
2#
3# Author: Harti Brandt <harti@freebsd.org>
4#
5PACKAGE=lib${LIB}
6LIB=	ngatm
7SHLIB_MAJOR= 4
8MAN=	libngatm.3 uniaddr.3 unifunc.3 unimsg.3 unisap.3 unistruct.3
9
10# source of the library lives in contrib
11SDIR=	${SRCTOP}/sys
12CTRB=	${SRCTOP}/contrib/ngatm
13LIBBASE= ${SDIR}/contrib/ngatm
14
15CFLAGS+= -I${LIBBASE} -I${.OBJDIR} -I${CTRB}/libngatm
16# CFLAGS+= -DSSCOP_DEBUG -DSSCFU_DEBUG -DUNI_DEBUG -DCCATM_DEBUG
17
18.PATH: ${LIBBASE}/netnatm ${LIBBASE}/netnatm/saal ${LIBBASE}/netnatm/misc \
19	${LIBBASE}/netnatm/msg ${LIBBASE}/netnatm/sig ${LIBBASE}/netnatm/api
20.PATH: ${CTRB}/libngatm ${CTRB}/man
21
22SRCS=	unimsg.c unimsg_common.c straddr.c				\
23	traffic.c uni_ie.c uni_msg.c					\
24	saal_sscop.c saal_sscfu.c					\
25	sig_call.c sig_coord.c sig_party.c sig_print.c sig_reset.c	\
26	sig_uni.c sig_unimsgcpy.c sig_verify.c				\
27	cc_conn.c cc_user.c cc_sig.c cc_data.c cc_port.c unisap.c	\
28	cc_dump.c
29
30# Includes
31INCSGROUPS= INCSATM INCSSAAL INCSMSG INCSSIG INCSAPI
32
33# common files
34INCSATMDIR= $(INCLUDEDIR)/netnatm
35INCSATM= unimsg.h addr.h
36
37# signaling AAL
38INCSSAALDIR= $(INCLUDEDIR)/netnatm/saal
39INCSSAAL= saal/sscfu.h saal/sscfudef.h saal/sscop.h saal/sscopdef.h
40
41# message parsing
42INCSMSGDIR= $(INCLUDEDIR)/netnatm/msg
43INCSMSG= msg/uni_config.h msg/uni_hdr.h msg/uni_ie.h msg/uni_msg.h	\
44	 msg/unimsglib.h msg/uniprint.h msg/unistruct.h
45
46# signaling layer
47INCSSIGDIR= $(INCLUDEDIR)/netnatm/sig
48INCSSIG= sig/uni.h sig/unidef.h sig/unisig.h
49
50# call control layer
51INCSAPIDIR= $(INCLUDEDIR)/netnatm/api
52INCSAPI= api/atmapi.h api/ccatm.h api/unisap.h
53
54.include <bsd.lib.mk>
55