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 52522Sraf# Common Development and Distribution License (the "License"). 62522Sraf# 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*4176Stz204579# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 232522Sraf# Use is subject to license terms. 240Sstevel@tonic-gate# 250Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 260Sstevel@tonic-gate# 270Sstevel@tonic-gate 280Sstevel@tonic-gateinclude ../Makefile.lib 290Sstevel@tonic-gate 300Sstevel@tonic-gatePOFILE = libadt_jni.po 310Sstevel@tonic-gateMSGFILES= `$(GREP) -l gettext */*.[ch]` 32*4176Stz204579GENSRCS = common/adt_jni_event.c common/mapfile-vers com/sun/audit/AuditEvent.java 33*4176Stz204579LIBBSMDIR = ../libbsm 34*4176Stz204579ADTXMLFILE = $(LIBBSMDIR)/common/adt.xml 35*4176Stz204579AUDITXML = ./auditxml_jni 360Sstevel@tonic-gate 372522SrafSUBDIRS = $(MACH) 382522Sraf$(BUILD64)SUBDIRS += $(MACH64) 390Sstevel@tonic-gate 400Sstevel@tonic-gateall := TARGET= all 410Sstevel@tonic-gateclean := TARGET= clean 420Sstevel@tonic-gateclobber := TARGET= clobber 430Sstevel@tonic-gateinstall := TARGET= install 440Sstevel@tonic-gatelint := TARGET= lint 450Sstevel@tonic-gate 460Sstevel@tonic-gate.KEEP_STATE: 470Sstevel@tonic-gate 48*4176Stz204579CLEANFILES += $(GENSRCS) 49*4176Stz204579 50*4176Stz204579all install lint: $(GENSRCS) com/sun .WAIT $(SUBDIRS) 510Sstevel@tonic-gate 522522Srafcom/sun $(SUBDIRS): FRC 530Sstevel@tonic-gate @cd $@; pwd; $(MAKE) $(TARGET) 540Sstevel@tonic-gate 55*4176Stz204579$(GENSRCS): $(AUDITXML) $(ADTXMLFILE) 56*4176Stz204579 $(PERL) -I $(LIBBSMDIR) $(AUDITXML) $(ADTXMLFILE) 57*4176Stz204579 58*4176Stz204579clean clobber: com/sun $(SUBDIRS) 59*4176Stz204579 -$(RM) $(CLEANFILES) 60*4176Stz204579 610Sstevel@tonic-gate$(POFILE): pofile_MSGFILES 620Sstevel@tonic-gate 630Sstevel@tonic-gate_msg: $(MSGDOMAINPOFILE) 640Sstevel@tonic-gate 650Sstevel@tonic-gateinclude $(SRC)/Makefile.msg.targ 660Sstevel@tonic-gate 670Sstevel@tonic-gateFRC: 680Sstevel@tonic-gate 69