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]
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
)
34 clobber:= TARGET
= clobber
35 install:= TARGET
= install
41 ROOTETCSECURITY
= $(ROOTETC
)/security
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
)
59 install_data: $(ETCSECURITYFILES
) $(ETCSECURITYDFILES
) $(ETCFILES
) \
63 ATTR_FILES
= auth_attr exec_attr prof_attr user_attr
64 ${ATTR_FILES}: $$@.txt
67 $(ETCSECURITYDFILES
) $(ETCDFILES
): $$(@D
)
69 $(ETCSECURITYFILES
) $(ETCFILES
): $(ETCSECURITY
) $(ROOTETCSECURITY
)
77 $(ROOTETCSECURITY
)/%: %
80 $(ROOTETCSECURITY
)/%.d
/core-os
: %
86 $(ROOTETC
)/%.d
/core-os
: %
96 @cd
$@
; pwd
; $(MAKE
) $(TARGET
)