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