Makefile revision 943
224N/A#
224N/A# Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
224N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
224N/A#
224N/A# This code is free software; you can redistribute it and/or modify it
224N/A# under the terms of the GNU General Public License version 2 only, as
224N/A# published by the Free Software Foundation. Sun designates this
224N/A# particular file as subject to the "Classpath" exception as provided
224N/A# by Sun in the LICENSE file that accompanied this code.
224N/A#
224N/A# This code is distributed in the hope that it will be useful, but WITHOUT
224N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
224N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
224N/A# version 2 for more details (a copy is included in the LICENSE file that
224N/A# accompanied this code).
224N/A#
224N/A# You should have received a copy of the GNU General Public License version
224N/A# 2 along with this work; if not, write to the Free Software Foundation,
224N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
224N/A#
844N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
224N/A# CA 95054 USA or visit www.sun.com if you need additional information or
224N/A# have any questions.
224N/A#
224N/A
1162N/ABUILDDIR = ../../..
1162N/APACKAGE = sun.security.smartcardio
224N/ALIBRARY = j2pcsc
224N/APRODUCT = sun
618N/Ainclude $(BUILDDIR)/common/Defs.gmk
224N/A
844N/A#
844N/A# C and Java Files
1162N/A#
224N/Ainclude FILES_c.gmk
224N/A
224N/AAUTO_FILES_JAVA_DIRS = sun/security/smartcardio
224N/A
224N/A#
224N/A# Java files that define native methods
224N/A#
224N/AFILES_export = \
224N/A sun/security/smartcardio/PCSC.java \
224N/A sun/security/smartcardio/PlatformPCSC.java
224N/A
224N/A#
224N/A# Find native code
224N/A#
224N/Avpath %.c \
224N/A $(SHARE_SRC)/native/sun/security/smartcardio \
224N/A $(PLATFORM_SRC)/native/sun/security/smartcardio
224N/A
224N/A#
224N/A# Find include files
224N/A#
224N/AOTHER_INCLUDES += \
224N/A -I$(SHARE_SRC)/native/sun/security/smartcardio \
224N/A -I$(PLATFORM_SRC)/native/sun/security/smartcardio \
224N/A -I$(PLATFORM_SRC)/native/sun/security/smartcardio/MUSCLE
224N/A
224N/A#
224N/A# Rules
224N/A#
224N/A#CLASSDESTDIR = $(TMPDIR)/classes
224N/A
224N/A#FILES_class = $(FILES_java:%.java=$(CLASSDESTDIR)/%.class)
224N/A
224N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
224N/A
224N/Ainclude $(BUILDDIR)/common/Library.gmk
224N/A
224N/A#
224N/A# Libraries to link
224N/A#
224N/Aifeq ($(PLATFORM), windows)
224N/A OTHER_LDLIBS = $(JVMLIB) winscard.lib
224N/Aelse
224N/A OTHER_LDLIBS = -ldl $(JVMLIB)
224N/A OTHER_CFLAGS = -D__sun_jdk
224N/Aendif
224N/A