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