10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*10188SJan.Friedel@Sun.COM# Common Development and Distribution License (the "License"). 6*10188SJan.Friedel@Sun.COM# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 210Sstevel@tonic-gate# 22*10188SJan.Friedel@Sun.COM# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 230Sstevel@tonic-gate# Use is subject to license terms. 240Sstevel@tonic-gate# 25*10188SJan.Friedel@Sun.COM# 260Sstevel@tonic-gate 270Sstevel@tonic-gateinclude ../../Makefile.master 280Sstevel@tonic-gateinclude ../Makefile.lib 290Sstevel@tonic-gate 300Sstevel@tonic-gateSUBDIRS = binfile \ 31*10188SJan.Friedel@Sun.COM remote \ 320Sstevel@tonic-gate syslog 330Sstevel@tonic-gate 340Sstevel@tonic-gateall := TARGET= all 350Sstevel@tonic-gateclean := TARGET= clean 360Sstevel@tonic-gateclobber := TARGET= clobber 370Sstevel@tonic-gatedelete := TARGET= delete 380Sstevel@tonic-gateinstall := TARGET= install 390Sstevel@tonic-gatelint := TARGET= lint 400Sstevel@tonic-gatepackage := TARGET= package 410Sstevel@tonic-gate_msg := TARGET= _msg 420Sstevel@tonic-gate 430Sstevel@tonic-gateall package clean clobber install: $(SUBDIRS) 440Sstevel@tonic-gate 450Sstevel@tonic-gateHDRS= auditd.h 460Sstevel@tonic-gateROOTDIRS= $(ROOT)/usr/include/security 470Sstevel@tonic-gate 480Sstevel@tonic-gateROOTHDRS= $(HDRS:%=$(ROOTDIRS)/%) 490Sstevel@tonic-gate$(ROOTHDRS) := FILEMODE = 644 500Sstevel@tonic-gate 510Sstevel@tonic-gateCHECKHDRS= $(HDRS:%.h=%.check) 520Sstevel@tonic-gate 530Sstevel@tonic-gate# install rule 540Sstevel@tonic-gate$(ROOTDIRS)/%: % 550Sstevel@tonic-gate $(INS.file) 560Sstevel@tonic-gate 570Sstevel@tonic-gate.KEEP_STATE: 580Sstevel@tonic-gate 590Sstevel@tonic-gate.PARALLEL: $(SUBDIRS) 600Sstevel@tonic-gate 610Sstevel@tonic-gateinstall: install_h $(SUBDIRS) 620Sstevel@tonic-gate 630Sstevel@tonic-gateinstall_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) 640Sstevel@tonic-gate 650Sstevel@tonic-gate_msg: $(SUBDIRS) 660Sstevel@tonic-gate 670Sstevel@tonic-gatecatalog: $(SUBDIRS) 680Sstevel@tonic-gate 690Sstevel@tonic-gatecheck: $(CHECKHDRS) 700Sstevel@tonic-gate 710Sstevel@tonic-gatelint: $(SUBDIRS) 720Sstevel@tonic-gate 730Sstevel@tonic-gate$(ROOTDIRS): 740Sstevel@tonic-gate $(INS.dir) 750Sstevel@tonic-gate 760Sstevel@tonic-gate$(SUBDIRS): FRC 770Sstevel@tonic-gate @cd $@; pwd; $(MAKE) $(TARGET) 780Sstevel@tonic-gate 790Sstevel@tonic-gateFRC: 80