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