xref: /illumos-gate/usr/src/lib/libsip/Makefile.com (revision bc1f688b4872ace323eaddbb1a6365d054e7bf56)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
22# Use is subject to license terms.
23#
24# Copyright (c) 2018, Joyent, Inc.
25
26LIBRARY = libsip.a
27VERS    = .1
28OBJECTS = sip_headers.o sip_msg.o sip_gids.o \
29	sip_timeout.o sip_xaction_state_mc.o sip_xaction.o \
30	sip_hash.o sip_itf.o sip_ui.o sip_reass.o sip_dialog.o \
31	sip_dialog_ui.o sip_xaction_ui.o sip_parse_generic.o \
32	sip_parse_uri.o sip_uri_ui.o sip_parse_hdrs.o \
33	sip_add_hdrs.o sip_hdrs_ui.o sip_logging.o
34
35include ../../Makefile.lib
36
37SRCDIR =	../common
38LIBS =		$(DYNLIB) $(LINTLIB)
39$(LINTLIB) :=	SRCS = $(SRCDIR)/$(LINTSRC)
40LDLIBS +=	-lmd5 -lc
41
42CFLAGS +=	$(CCVERBOSE)
43CPPFLAGS +=	-DOS='"solaris"' -D__OS_solaris -DNDEBUG
44
45# not linted
46SMATCH=off
47
48.KEEP_STATE:
49
50all:		$(LIBS)
51
52lint:		lintcheck
53
54include ../../Makefile.targ
55