Makefile revision 3afe87ebb25691cb6d158edaa34a6fb9b703a691
98N/A#
98N/A# CDDL HEADER START
911N/A#
851N/A# The contents of this file are subject to the terms of the
98N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
98N/A#
98N/A
98N/APROG = acctadm
98N/AMANIFEST = extended-accounting.xml
493N/A
98N/AOBJS = main.o aconf.o res.o utils.o
98N/ASRCS = $(OBJS:.o=.c)
851N/APOFILES = $(OBJS:.o=.po)
98N/A
911N/Ainclude ../Makefile.cmd
911N/A
911N/AROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
911N/A
98N/ACFLAGS += $(CCVERBOSE)
98N/ALDLIBS += -lexacct -lscf -lsecdb -ldladm
98N/APOFILE = acctadm.po
98N/AXGETFLAGS = -a -x acctadm.xcl
98N/AFILEMODE = 0555
OWNER = root
GROUP = bin
.KEEP_STATE:
all: $(PROG)
$(PROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
install: all $(ROOTUSRSBINPROG) $(ROOTMANIFEST)
check: $(CHKMANIFEST)
$(POFILE): $(POFILES)
$(RM) $@
$(CAT) $(POFILES) > $@
clean:
$(RM) $(OBJS)
lint: lint_SRCS
include ../Makefile.targ