Merge commit '00f1a4f432b3d8aad1aa270e91c44c57f03ef407'
[unleashed.git] / usr / src / cmd / audit / Makefile
blob071fe1fd2dcd2090cd6fc3258e3b4d929cc9b939
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
25 PROG = audit
27 include $(SRC)/cmd/Makefile.cmd
29 TEXT_DOMAIN=SUNW_OST_OSCMD
30 POFILE=$(PROG).po
32 LDLIBS += -lbsm -lsecdb -lscf
34 LIBBSM = $(SRC)/lib/libbsm/common
36 OBJS = audit.o
37 SRCS = $(OBJS:.o=.c)
38 MSGFILES = $(SRCS)
40 CPPFLAGS += -I$(LIBBSM)
42 .KEEP_STATE:
44 all: $(PROG)
46 install: all $(ROOTUSRSBINPROG)
48 $(POFILE): $(MSGFILES)
49 $(BUILDPO.msgfiles)
51 _msg: $(MSGDOMAINPOFILE)
53 catalog: $(POFILE)
55 clean:
56 $(RM) $(OBJS)
59 include $(SRC)/cmd/Makefile.targ
60 include $(SRC)/Makefile.msg.targ