xref: /titanic_44/usr/src/lib/libsip/Makefile.com (revision 45405cce0657d01714b3d014a0facf3bdce45736)
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# ident	"%Z%%M%	%I%	%E% SMI"
25#
26
27LIBRARY = libsip.a
28VERS    = .1
29OBJECTS = sip_headers.o sip_msg.o sip_gids.o \
30	sip_timeout.o sip_xaction_state_mc.o sip_xaction.o \
31	sip_hash.o sip_itf.o sip_ui.o sip_reass.o sip_dialog.o \
32	sip_dialog_ui.o sip_xaction_ui.o sip_parse_generic.o \
33	sip_parse_uri.o sip_uri_ui.o sip_parse_hdrs.o \
34	sip_add_hdrs.o sip_hdrs_ui.o sip_logging.o
35
36include ../../Makefile.lib
37
38SRCDIR =	../common
39LIBS =		$(DYNLIB) $(LINTLIB)
40$(LINTLIB) :=	SRCS = $(SRCDIR)/$(LINTSRC)
41LDLIBS +=	-lmd5 -lc
42
43CFLAGS +=	$(CCVERBOSE)
44CPPFLAGS +=	-DOS='"solaris"' -D__OS_solaris -DNDEBUG
45
46.KEEP_STATE:
47
48all:		$(LIBS)
49
50lint:		lintcheck
51
52include ../../Makefile.targ
53