Makefile revision 06e1a7147edd272b7296f208141627a5b1191731
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley# CDDL HEADER START
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# The contents of this file are subject to the terms of the
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# Common Development and Distribution License (the "License").
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# You may not use this file except in compliance with the License.
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley# 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
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# CDDL HEADER END
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence# Use is subject to license terms.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# ident "%Z%%M% %I% %E% SMI"
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David LawrenceROOTPROG = $(PROG1:%=$(ROOTUSRSBIN)/%) $(PROG2:%=$(ROOTBIN)/%) \
b719aabd6be52278f2cc426581179f3f3af36e20Mark Andrews# /usr/xpg*/bin/crontab isn't linked with values-xpg*.o since it isn't
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# required by any specific behavior differences; this makes these
2320f230995995595438a9d9301d84931fd266ceMark Andrews# setuid variants less likely to accidently trip over differences that
c427260a8678f2e99a2337fb95ec98d9c9ee8c05Mark Andrews# could unintentionally open up a security hole.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyXPG4ATOBJS= $(ATOBJS:%=objs.xpg4/%) $(XPG4OBJS:%=objs.xpg4/%)
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halleyat.xpg4 := POBJS = $(XPG4ATOBJS) $(XPG4COMMONOBJS)
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halleycrontab.xpg4 := POBJS = $(XPG4CTOBJS) $(XPG4COMMONOBJS)
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halleycrontab.xpg6 := POBJS = $(XPG6CTOBJS) $(XPG6COMMONOBJS)
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halleyat.o objs.xpg4/at.o funcs.o objs.xpg4/funcs.o objs.xpg6/funcs.o permit.o \
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halleyobjs.xpg4/permit.o objs.xpg6/permit.o crontab.o objs.xpg4/crontab.o \
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halleyobjs.xpg6/crontab.o elm.o := CFLAGS += $(CCVERBOSE)
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyNOBJS= $(CRONOBJS) $(ATOBJS) $(ATRMOBJS) $(ATQOBJS) $(CRONTABOBJS) \
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyOBJS = $(NOBJS) $(XPG4COMMONOBJS) $(XPG4ATOBJS) $(XPG4CTOBJS) \
a9558a6c63d9c6dbb2f3800b39ccb008652fcde3Mark Andrews$(ROOTETC)/cron := SYMLNKDEST = ../usr/sbin/cron
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halleylint := LDLIBS += -lproject -lsecdb -lcontract -lpam
$(POST_PROCESS)
$(POST_PROCESS)
$(POST_PROCESS)
$(COMPILE.c) -o $@ $<
-@mkdir -p $@
$(COMPILE.c) -o $@ $<
-@mkdir -p $@
# $(INS.dir)
$(ROOTSYMLINK) :
clean :
strip :