Makefile revision 3470957343f37ed9baa957980891dbbe4c2d7092
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# CDDL HEADER START
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# The contents of this file are subject to the terms of the
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# Common Development and Distribution License (the "License").
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# You may not use this file except in compliance with the License.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# or http://www.opensolaris.org/os/licensing.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# See the License for the specific language governing permissions
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# and limitations under the License.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# When distributing Covered Code, include this CDDL HEADER in each
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# If applicable, add the following below this CDDL HEADER, with the
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# fields enclosed by brackets "[]" replaced with your own identifying
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# information: Portions Copyright [yyyy] [name of copyright owner]
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# CDDL HEADER END
b5efdb8af40ea759a1ea584c1bc44ecc81dd00ceLennart Poettering# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
96aad8d15a324d0e956a4e5653a11a67b209b41aLennart Poettering# Use is subject to license terms.
4ad7f2761da661853dcc29d542efb4727abb1101Nick Owens# ident "%Z%%M% %I% %E% SMI"
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering$(NATIVE_BUILD)PROG = $(MYPROG:%=%-native)
ec2c5e4398f9d65e5dfe61530f2556224733d1e6Lennart Poettering$(NATIVE_BUILD)OBJS = $(MYOBJS:%.o=%-native.o)
ad867662936a4c7ab2c7116d804c272338801231Lennart PoetteringMYCPPFLAGS = -I. -I../common -I../../../common/svc -D_REENTRANT
ec2c5e4398f9d65e5dfe61530f2556224733d1e6Lennart PoetteringLINTFLAGS += -errtags -erroff=E_BAD_FORMAT_ARG_TYPE2
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringROOTSCRIPTFILE = $(ROOTCMDDIR)/$(SCRIPTFILE)
ad867662936a4c7ab2c7116d804c272338801231Lennart Poettering$(NATIVE_BUILD)CPPFLAGS = $(MYCPPFLAGS) -I$(LIBUUTIL)/common -I$(LIBSCF)/inc
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering$(NATIVE_BUILD)LDLIBS = -L$(LIBUUTIL)/native -R $(LIBUUTIL)/native \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering$(NATIVE_BUILD)LIBSQLITE = $(SQLITEDIR)/libsqlite-native.o
8ba9fd9cee0eef572f7b3ed7a8c3ed31160e93d3Lennart Poettering.PARALLEL: $(MYOBJS) $(MYOBJS:%.o=%-native.o)
78c6a153c47f8d597c827bdcaf8c4e42ac87f738Lennart Poettering @cd $(LIBUUTIL)/native; pwd; $(MAKE) $(MFLAGS) install
8ba9fd9cee0eef572f7b3ed7a8c3ed31160e93d3Lennart Poettering @cd $(SQLITEDIR); pwd; $(MAKE) llib-lsqlite.ln
0dd25fb9f005d8ab7ac4bc10a609d00569f8c56aLennart Poettering $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(CTFMERGE_HOOK)