17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 58523fda3SJan Friedel# Common Development and Distribution License (the "License"). 68523fda3SJan Friedel# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 21f8994074SJan Friedel# Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved. 227c478bd9Sstevel@tonic-gate# 237c478bd9Sstevel@tonic-gate# 247c478bd9Sstevel@tonic-gate# Makefile for auditconfig 257c478bd9Sstevel@tonic-gate 268523fda3SJan FriedelPROG = auditconfig 278523fda3SJan Friedel 288523fda3SJan Friedelinclude $(SRC)/cmd/Makefile.cmd 298523fda3SJan Friedel 308523fda3SJan FriedelLIBBSM = $(SRC)/lib/libbsm/common 317c478bd9Sstevel@tonic-gate 32f8994074SJan FriedelLDLIBS += -lnsl -lbsm -lsecdb 337c478bd9Sstevel@tonic-gate 34f8994074SJan FriedelOBJS = auditconfig.o 358523fda3SJan FriedelSRCS = $(OBJS:%.o=%.c) 367c478bd9Sstevel@tonic-gate 371eea4119SJan FriedelPOFILE = $(PROG).po 381eea4119SJan FriedelMSGFILES = $(SRCS) 391eea4119SJan Friedel 40f8994074SJan FriedelCPPFLAGS += -I$(LIBBSM) 41*d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 427014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses 437c478bd9Sstevel@tonic-gate 447c478bd9Sstevel@tonic-gate.KEEP_STATE: 457c478bd9Sstevel@tonic-gate 467c478bd9Sstevel@tonic-gateall: $(PROG) 477c478bd9Sstevel@tonic-gate 481eea4119SJan Friedelinstall: all $(ROOTUSRSBINPROG) 491eea4119SJan Friedel 508523fda3SJan Friedel$(PROG): $(SRCS) $(OBJS) 518523fda3SJan Friedel $(LINK.c) $(OBJS) -o $@ $(LDLIBS) 528523fda3SJan Friedel $(POST_PROCESS) 538523fda3SJan Friedel 548523fda3SJan Friedel$(POFILE): $(MSGFILES) 558523fda3SJan Friedel $(BUILDPO.msgfiles) 568523fda3SJan Friedel 571eea4119SJan Friedel_msg: $(MSGDOMAINPOFILE) 588523fda3SJan Friedel 597c478bd9Sstevel@tonic-gateclean: 608523fda3SJan Friedel $(RM) $(OBJS) 617c478bd9Sstevel@tonic-gate 628523fda3SJan Friedellint: lint_SRCS 637c478bd9Sstevel@tonic-gate 648523fda3SJan Friedelinclude $(SRC)/cmd/Makefile.targ 651eea4119SJan Friedelinclude $(SRC)/Makefile.msg.targ 66