Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu# CDDL HEADER START
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu# The contents of this file are subject to the terms of the
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu# Common Development and Distribution License, Version 1.0 only
98890889ffb2e8f6f722b00e265a211f13b5a861Corneliu-Claudiu Prodescu# (the "License"). You may not use this file except in compliance
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu# with the License.
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90d7cac36f60438bd35124e3389b5bce6d114b46Christian Maeder# See the License for the specific language governing permissions
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu# and limitations under the License.
59c282c33ad9febba6e5aeef26768dec8b9c9e4cChristian Maeder# When distributing Covered Code, include this CDDL HEADER in each
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu# If applicable, add the following below this CDDL HEADER, with the
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu# fields enclosed by brackets "[]" replaced with your own identifying
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroeder# information: Portions Copyright [yyyy] [name of copyright owner]
b8fd7d3741b38158b5d3a4e24d78b1cbac08433eChristian Maeder# CDDL HEADER END
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
8b66de47c89e252c907c8ed3a5ccd16dbccbfb3eChristian Maeder# Use is subject to license terms.
b8fd7d3741b38158b5d3a4e24d78b1cbac08433eChristian Maeder# ident "%Z%%M% %I% %E% SMI"
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von SchroederPOFILES= at.po crontab.po funcs.po batch.po
803425dfe6a5da41b9cea480788980fa104545adMihai CodescuROOTDIRS = $(ROOTSPCRON) $(ROOTCROND) $(ROOTDEFAULT) \
588aa1c4f05bd316cde3d7f93b24e3db3d1b6a0aMihai CodescuROOTPROG = $(PROG1:%=$(ROOTUSRSBIN)/%) $(PROG2:%=$(ROOTBIN)/%) \
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroeder $(SCRIPT:%=$(ROOTBIN)/%) $(FILES:%=$(ROOTDEFAULT)/%) \
588aa1c4f05bd316cde3d7f93b24e3db3d1b6a0aMihai CodescuXPG4ATOBJS= $(ATOBJS:%=atobjs.xpg4/%) $(COMMONOBJS:%=atobjs.xpg4/%) \
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroedercron := POBJS = $(CRONOBJS) $(COMMONOBJ2)
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroederatrm := POBJS = $(ATRMOBJS) $(COMMONOBJS)
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroederatq := POBJS = $(ATQOBJS) $(COMMONOBJS)
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroederat.o atobjs.xpg4/at.o funcs.o permit.o crontab.o elm.o := CFLAGS += $(CCVERBOSE)
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von SchroederXPG4POBJS = atobjs.xpg4/at.o atobjs.xpg4/att1.o \
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu atobjs.xpg4/permit.o atobjs.xpg4/values-xpg4.o
c7e03d0708369f944b6f235057b39142a21599f2Mihai CodescuNOBJS= $(CRONOBJS) $(ATOBJS) $(ATRMOBJS) $(ATQOBJS) $(CRONTABOBJS) \
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu$(ROOTLIBCRON) := SYMLNKDEST = ../../etc/cron.d
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu$(ROOTETC)/cron := SYMLNKDEST = ../usr/sbin/cron
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroederat.xpg4 := LDLIBS += -lproject -lsecdb
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroedercron := LDLIBS += -lcmd -lpam -lproject -lcontract
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroederlint := LDLIBS += -lproject -lsecdb -lcontract -lpam
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroeder$(ROOTSVCSYSTEM)/cron.xml := OWNER = root
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroeder$(ROOTSVCSYSTEM)/cron.xml := GROUP = sys
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroeder$(ROOTSVCSYSTEM)/cron.xml := FILEMODE = 0444
c7e03d0708369f944b6f235057b39142a21599f2Mihai Codescu$(ROOTLIBSVCMETHOD)/svc-cron := FILEMODE = 0555
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroederall : $(PROG) $(XPG4) $(SCRIPT) $(XPG4SCRIPT) $(FILES)
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroederinstall : all $(ROOTPROG) $(ROOTSETUP) $(ROOTSYMLINK) \
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroederatobjs.xpg4/values-xpg4.o: ../../lib/common/common/values-xpg4.c
7b5ba6a2f3990cf508f90e55e1d59068e6aaa6a3Mihai Codescu $(COMPILE.c) -o $@ ../../lib/common/common/values-xpg4.c
7b5ba6a2f3990cf508f90e55e1d59068e6aaa6a3Mihai Codescu# Don't re-install direcories installed by Targetdirs