dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / auditset / Makefile
blob86594c16e8e9d3b32e146666601c391934d35223
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
21 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24 # Makefile for auditset
26 PROG = svc-auditset
27 SVCMETHOD = $(PROG)
29 MANIFEST = auditset.xml
31 include $(SRC)/cmd/Makefile.cmd
33 ROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
35 LIBBSM = $(SRC)/lib/libbsm/common
37 LDLIBS += -lbsm
39 OBJS = svc-auditset.o
40 SRCS = $(OBJS:%.o=%.c)
42 POFILE = $(PROG).po
43 MSGFILES = $(SRCS)
45 CPPFLAGS += -I$(LIBBSM)
47 .KEEP_STATE:
49 all: $(PROG)
51 install: all $(ROOTMANIFEST) $(ROOTSVCMETHOD)
53 $(PROG): $(SRCS) $(OBJS)
54 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
55 $(POST_PROCESS)
57 $(POFILE): $(MSGFILES)
58 $(BUILDPO.msgfiles)
60 _msg: $(MSGDOMAINPOFILE)
62 clean:
63 $(RM) $(OBJS)
66 check: $(CHKMANIFEST)
68 include $(SRC)/cmd/Makefile.targ
69 include $(SRC)/Makefile.msg.targ