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