]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - lib/libngatm/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / lib / libngatm / Makefile
1 # $FreeBSD$
2 #
3 # Author: Harti Brandt <harti@freebsd.org>
4 #
5 LIB=    ngatm
6 SHLIB_MAJOR= 4
7 MAN=    libngatm.3 uniaddr.3 unifunc.3 unimsg.3 unisap.3 unistruct.3
8 WARNS?= 6
9
10 # source of the library lives in contrib
11 SDIR=   ${.CURDIR}/../../sys
12 CTRB=   ${.CURDIR}/../../contrib/ngatm
13 LIBBASE= ${SDIR}/contrib/ngatm
14
15 CFLAGS+= -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
22 SRCS=   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
31 INCSGROUPS= INCSATM INCSSAAL INCSMSG INCSSIG INCSAPI
32
33 # common files
34 INCSATMDIR= $(INCLUDEDIR)/netnatm
35 INCSATM= unimsg.h addr.h
36
37 # signaling AAL
38 INCSSAALDIR= $(INCLUDEDIR)/netnatm/saal
39 INCSSAAL= saal/sscfu.h saal/sscfudef.h saal/sscop.h saal/sscopdef.h
40
41 # message parsing
42 INCSMSGDIR= $(INCLUDEDIR)/netnatm/msg
43 INCSMSG= 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
47 INCSSIGDIR= $(INCLUDEDIR)/netnatm/sig
48 INCSSIG= sig/uni.h sig/unidef.h sig/unisig.h
49
50 # call control layer
51 INCSAPIDIR= $(INCLUDEDIR)/netnatm/api
52 INCSAPI= api/atmapi.h api/ccatm.h api/unisap.h
53
54 .include <bsd.lib.mk>