0N/A#
2362N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
2362N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
2362N/A#
2362N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
2362N/A# Use is subject to license terms.
0N/A#
0N/A#
0N/A#ident "%Z%%M% %I% %E% SMI"
0N/A# lib/libadt_jni/com/sun/audit/Makefile
0N/A
0N/Ainclude ../Makefile.com
0N/A
0N/AADT_PKG = com.sun.audit
0N/A
0N/ATOP = $(SRC)/lib/libadt_jni
0N/ACLASSPATH = $(TOP):com/sun/audit
0N/A
0N/AJAVAFLAGS += -source 1.4 -target 1.4
0N/A
0N/ASOURCE:sh = ls *.java
0N/A
0N/ACLASSES = $(SOURCE:java=class)
0N/A
0N/AJNIH = AuditSession.h
0N/A
0N/AJAR_FILE=Audit.jar
0N/A
0N/AINSTALL_JAR = $(ROOTAUDITHOME)/$(JAR_FILE)
0N/A
0N/ACLEAN_FILES = *.class $(JNIH) *.jar AuditEvent*.java
0N/A
0N/ADEFINES=
0N/A
0N/AINCLUDES= -I${JAVA_HOME}/include \
0N/A -I${JAVA_HOME}/include/solaris
0N/A
0N/A.KEEP_STATE:
0N/A
0N/Aall: $(JNIH) $(CLASSES)
0N/A
0N/Ainstall: $(CLASSES) $(ROOTAUDITHOME) \
0N/A $(JAR_FILE) $(INSTALL_JAR) \
0N/A $(JNIH)
0N/A
0N/A$(JNIH): $(CLASSES)
0N/A @for class_name in $(CLASSES) ; do \
0N/A k=`/bin/basename $$class_name .class`; \
0N/A class="$$class $(ADT_PKG).$$k"; \
0N/A done; \
0N/A JC="$(JAVAH) -classpath $(CLASSPATH) -jni -o $(JNIH) $$class"; \
0N/A echo $$JC; \
0N/A $$JC
0N/A
0N/Aclean clobber:
0N/A $(RM) $(CLEAN_FILES)
0N/A
0N/A$(ROOTAUDITHOME):
0N/A $(INS.dir)
0N/A
0N/A$(ROOTAUDITHOME)/%: %
0N/A $(INS.file)
0N/A
0N/A$(JAR_FILE): $(CLASSES)
0N/A cd $(TOP); \
0N/A pwd; \
0N/A $(JAR) -cvf $(TOP)/com/sun/audit/$(JAR_FILE) com/sun/audit/*.class
0N/A