Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
c10fda07d68c04221c2d552dc71a2de1352074cbTinderbox User# CDDL HEADER START
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# The contents of this file are subject to the terms of the
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# Common Development and Distribution License (the "License").
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# You may not use this file except in compliance with the License.
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# CDDL HEADER END
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Use is subject to license terms.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCPPFLAGS += -D_FILE_OFFSET_BITS=64 -I $(SRC)/common/util
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntROOTPROG = $(PROG1:%=$(ROOTUSRSBIN)/%) $(PROG2:%=$(ROOTBIN)/%) \
8f7de3db7ec299ddeded142905f5eb1f22076353Evan Hunt# /usr/xpg*/bin/crontab isn't linked with values-xpg*.o since it isn't
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# required by any specific behavior differences; this makes these
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# setuid variants less likely to accidently trip over differences that
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# could unintentionally open up a security hole.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinXPG4ATOBJS= $(ATOBJS:%=objs.xpg4/%) $(XPG4OBJS:%=objs.xpg4/%)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinat.xpg4 := POBJS = $(XPG4ATOBJS) $(XPG4COMMONOBJS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeincrontab.xpg4 := POBJS = $(XPG4CTOBJS) $(XPG4COMMONOBJS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeincrontab.xpg6 := POBJS = $(XPG6CTOBJS) $(XPG6COMMONOBJS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinNOBJS= $(CRONOBJS) $(ATOBJS) $(ATRMOBJS1) $(ATQOBJS) $(CRONTABOBJS1) \
b98225ff8a5721a998ccb440df4d261488fef163Mark AndrewsOBJS = $(NOBJS) $(XPG4COMMONOBJS) $(XPG4ATOBJS) $(XPG4CTOBJS) \
8f7de3db7ec299ddeded142905f5eb1f22076353Evan Huntcron := LDLIBS += -lpam -lproject -lcontract -lzoneinfo
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinlint := LDLIBS += -lproject -lsecdb -lcontract -lpam
ca6e60cb704c4c8eea1385a9fbef3eaa476eca28Evan Huntall : $(PROG) $(XPG4) $(XPG6) $(SCRIPT) $(XPG4SCRIPT) $(FILES)
ca6e60cb704c4c8eea1385a9fbef3eaa476eca28Evan Huntinstall : all $(ROOTPROG) $(ROOTETCDEFAULTFILES) $(ROOTSYMLINK) \
ca6e60cb704c4c8eea1385a9fbef3eaa476eca28Evan Huntobjs.xpg4/values-xpg4.o: ../../lib/common/common/values-xpg4.c
ca6e60cb704c4c8eea1385a9fbef3eaa476eca28Evan Hunt $(COMPILE.c) -o $@ ../../lib/common/common/values-xpg4.c
ca6e60cb704c4c8eea1385a9fbef3eaa476eca28Evan Hunt# Don't re-install directories installed by Targetdirs
ca6e60cb704c4c8eea1385a9fbef3eaa476eca28Evan Hunt#$(ROOTDIRS):