Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# CDDL HEADER START
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# The contents of this file are subject to the terms of the
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# Common Development and Distribution License, Version 1.0 only
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# (the "License"). You may not use this file except in compliance
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# with the License.
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# See the License for the specific language governing permissions
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# and limitations under the License.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# CDDL HEADER END
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# Use is subject to license terms.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# ident "%Z%%M% %I% %E% SMI"
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User$(NATIVE_BUILD)OBJS = $(MYOBJS:%.o=%-native.o)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserMYCPPFLAGS = -I. -I../common -I../../../common/svc -D_REENTRANT
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserLINTFLAGS += -errtags -erroff=E_BAD_FORMAT_ARG_TYPE2
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User$(NATIVE_BUILD)CPPFLAGS = $(MYCPPFLAGS) -I$(LIBUUTIL)/common -I$(LIBSCF)/inc
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User$(NATIVE_BUILD)LDLIBS = -L$(LIBUUTIL)/native -R $(LIBUUTIL)/native \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User$(NATIVE_BUILD)LIBSQLITE = $(SQLITEDIR)/libsqlite-native.o
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User @cd $(LIBUUTIL)/native; pwd; $(MAKE) $(MFLAGS) install
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User @cd $(SQLITEDIR); pwd; $(MAKE) llib-lsqlite.ln
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(CTFMERGE_HOOK)