freebsd-dev/lib/libngatm/Makefile
Emmanuel Vadot 4c1a82cea5 pkgbase: Create a FreeBSD-utilities package and make it the default one
The default package use to be FreeBSD-runtime but it should only contain
binaries and libs enough to boot to single user and repair the system, it
is also very handy to have a package that can be tranform to a small mfsroot.
So create a new package named FreeBSD-utilities and make it the default one.
Also move a few binaries and lib into this package when it make sense.
Reviewed by:	bapt, gjb
Differential Revision:	https://reviews.freebsd.org/D21506
2019-09-05 14:15:47 +00:00

54 lines
1.5 KiB
Makefile

# $FreeBSD$
#
# Author: Harti Brandt <harti@freebsd.org>
#
LIB= ngatm
SHLIB_MAJOR= 4
MAN= libngatm.3 uniaddr.3 unifunc.3 unimsg.3 unisap.3 unistruct.3
# source of the library lives in contrib
SDIR= ${SRCTOP}/sys
CTRB= ${SRCTOP}/contrib/ngatm
LIBBASE= ${SDIR}/contrib/ngatm
CFLAGS+= -I${LIBBASE} -I${.OBJDIR} -I${CTRB}/libngatm
# CFLAGS+= -DSSCOP_DEBUG -DSSCFU_DEBUG -DUNI_DEBUG -DCCATM_DEBUG
.PATH: ${LIBBASE}/netnatm ${LIBBASE}/netnatm/saal ${LIBBASE}/netnatm/misc \
${LIBBASE}/netnatm/msg ${LIBBASE}/netnatm/sig ${LIBBASE}/netnatm/api
.PATH: ${CTRB}/libngatm ${CTRB}/man
SRCS= unimsg.c unimsg_common.c straddr.c \
traffic.c uni_ie.c uni_msg.c \
saal_sscop.c saal_sscfu.c \
sig_call.c sig_coord.c sig_party.c sig_print.c sig_reset.c \
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
# Includes
INCSGROUPS= INCSATM INCSSAAL INCSMSG INCSSIG INCSAPI
# common files
INCSATMDIR= $(INCLUDEDIR)/netnatm
INCSATM= unimsg.h addr.h
# signaling AAL
INCSSAALDIR= $(INCLUDEDIR)/netnatm/saal
INCSSAAL= saal/sscfu.h saal/sscfudef.h saal/sscop.h saal/sscopdef.h
# 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
# signaling layer
INCSSIGDIR= $(INCLUDEDIR)/netnatm/sig
INCSSIG= sig/uni.h sig/unidef.h sig/unisig.h
# call control layer
INCSAPIDIR= $(INCLUDEDIR)/netnatm/api
INCSAPI= api/atmapi.h api/ccatm.h api/unisap.h
.include <bsd.lib.mk>