kill /usr/sadm
[unleashed.git] / usr / src / lib / libsecdb / Makefile
blob79bdac743dcb98ea4f6e5cf6162ed509c48715db
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) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
25 include ../Makefile.lib
27 SUBDIRS = help $(MACH)
28 $(BUILD64)SUBDIRS += $(MACH64)
30 MSGSUBDIRS= help
32 all:= TARGET= all
33 clean:= TARGET= clean
34 clobber:= TARGET= clobber
35 install:= TARGET= install
36 _msg:= TARGET= _msg
38 .KEEP_STATE:
40 ROOTETC = $(ROOT)/etc
41 ROOTETCSECURITY = $(ROOTETC)/security
43 EFILES = user_attr
44 EFILESRC = $(EFILES:%=%)
45 ETCFILES = $(EFILES:%=$(ROOTETC)/%)
46 ETCDFILES = $(EFILES:%=$(ROOTETC)/%.d/core-os)
48 ESDFILES = auth_attr exec_attr prof_attr
49 ESFILES = $(ESDFILES) policy.conf
50 ESSRC = $(ESFILES:%=%)
51 ETCSECURITYFILES = $(ESFILES:%=$(ROOTETCSECURITY)/%)
52 ETCSECURITYDFILES = $(ESDFILES:%=$(ROOTETCSECURITY)/%.d/core-os)
54 all clean clobber delete install package: $(SUBDIRS)
55 _msg: $(MSGSUBDIRS)
57 install: install_data
59 install_data: $(ETCSECURITYFILES) $(ETCSECURITYDFILES) $(ETCFILES) \
60 $(ETCDFILES)
63 ATTR_FILES = auth_attr exec_attr prof_attr user_attr
64 ${ATTR_FILES}: $$@.txt
65 cp $@.txt $@
67 $(ETCSECURITYDFILES) $(ETCDFILES): $$(@D)
69 $(ETCSECURITYFILES) $(ETCFILES): $(ETCSECURITY) $(ROOTETCSECURITY)
71 $(ETCSECURITY)/%: %
72 $(INS.file)
74 $(ROOTETCSECURITY):
75 $(INS.dir)
77 $(ROOTETCSECURITY)/%: %
78 $(INS.file)
80 $(ROOTETCSECURITY)/%.d/core-os: %
81 $(INS.rename)
83 $(ROOTETC)/% : %
84 $(INS.file)
86 $(ROOTETC)/%.d/core-os: %
87 $(INS.rename)
89 $(INSTALL_DIR):
90 $(INS.dir)
92 clobber clean:
93 $(RM) $(ATTR_FILES)
95 $(SUBDIRS): FRC
96 @cd $@; pwd; $(MAKE) $(TARGET)
98 FRC: