Makefile revision 195767
1# $FreeBSD: head/lib/libngatm/Makefile 195767 2009-07-19 17:25:24Z kensmith $
2#
3# Author: Harti Brandt <harti@freebsd.org>
4#
5LIB=	ngatm
6SHLIB_MAJOR= 4
7MAN=	libngatm.3 uniaddr.3 unifunc.3 unimsg.3 unisap.3 unistruct.3
8WARNS?=	6
9
10# source of the library lives in contrib
11SDIR=	${.CURDIR}/../../sys
12CTRB=	${.CURDIR}/../../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