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