xref: /illumos-gate/usr/src/lib/libsip/Makefile.com (revision d48be21240dfd051b689384ce2b23479d757f2d8)
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)
39LDLIBS +=	-lmd -lc
40
41CFLAGS +=	$(CCVERBOSE)
42CPPFLAGS +=	-DOS='"solaris"' -D__OS_solaris -DNDEBUG
43
44# not linted
45SMATCH=off
46
47.KEEP_STATE:
48
49all:		$(LIBS)
50
51
52include ../../Makefile.targ
53