Makefile revision 278
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsync# Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
346af0930020342df40a1ca8d13eb185ad48067evboxsync# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsync# This code is free software; you can redistribute it and/or modify it
346af0930020342df40a1ca8d13eb185ad48067evboxsync# under the terms of the GNU General Public License version 2 only, as
346af0930020342df40a1ca8d13eb185ad48067evboxsync# published by the Free Software Foundation. Sun designates this
4feb9880954f5fcb0c98feb110721798baccf992vboxsync# particular file as subject to the "Classpath" exception as provided
346af0930020342df40a1ca8d13eb185ad48067evboxsync# by Sun in the LICENSE file that accompanied this code.
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsync# This code is distributed in the hope that it will be useful, but WITHOUT
346af0930020342df40a1ca8d13eb185ad48067evboxsync# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
346af0930020342df40a1ca8d13eb185ad48067evboxsync# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
346af0930020342df40a1ca8d13eb185ad48067evboxsync# version 2 for more details (a copy is included in the LICENSE file that
346af0930020342df40a1ca8d13eb185ad48067evboxsync# accompanied this code).
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsync# You should have received a copy of the GNU General Public License version
346af0930020342df40a1ca8d13eb185ad48067evboxsync# 2 along with this work; if not, write to the Free Software Foundation,
346af0930020342df40a1ca8d13eb185ad48067evboxsync# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync# CA 95054 USA or visit www.sun.com if you need additional information or
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync# have any questions.
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync#
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncBUILDDIR = ../../..
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncPACKAGE = sun.security.smartcardio
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncLIBRARY = j2pcsc
346af0930020342df40a1ca8d13eb185ad48067evboxsyncPRODUCT = sun
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncinclude $(BUILDDIR)/common/Defs.gmk
346af0930020342df40a1ca8d13eb185ad48067evboxsync
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsync# C and Java Files
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsyncinclude FILES_c.gmk
346af0930020342df40a1ca8d13eb185ad48067evboxsync
346af0930020342df40a1ca8d13eb185ad48067evboxsyncAUTO_FILES_JAVA_DIRS = sun/security/smartcardio
346af0930020342df40a1ca8d13eb185ad48067evboxsync
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsync# Java files that define native methods
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsyncFILES_export = \
1e55c91541549682278f13c784f4ecc57bd9a2b3vboxsync sun/security/smartcardio/PCSC.java \
346af0930020342df40a1ca8d13eb185ad48067evboxsync sun/security/smartcardio/PlatformPCSC.java
346af0930020342df40a1ca8d13eb185ad48067evboxsync
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsync# Find native code
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
5d96aa0d3ade93ae2970f61342432246c9842466vboxsyncvpath %.c \
4feb9880954f5fcb0c98feb110721798baccf992vboxsync $(SHARE_SRC)/native/sun/security/smartcardio \
346af0930020342df40a1ca8d13eb185ad48067evboxsync $(PLATFORM_SRC)/native/sun/security/smartcardio
346af0930020342df40a1ca8d13eb185ad48067evboxsync
9a0c48116de3ffe1123a662b0c72fb1029a3b587vboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsync# Find include files
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsyncOTHER_INCLUDES += \
346af0930020342df40a1ca8d13eb185ad48067evboxsync -I$(SHARE_SRC)/native/sun/security/smartcardio \
103b0154d1ec1325cacf0cabaedab9581a317ce2vboxsync -I$(PLATFORM_SRC)/native/sun/security/smartcardio \
19a29c5b8ea65c618ae3825b6cf84bc3688a36b0vboxsync -I$(PLATFORM_SRC)/native/sun/security/smartcardio/MUSCLE
346af0930020342df40a1ca8d13eb185ad48067evboxsync
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsync# Rules
25a96221cadefde67ab6689c5f1c5a6799438ad6vboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsync#CLASSDESTDIR = $(TMPDIR)/classes
346af0930020342df40a1ca8d13eb185ad48067evboxsync
346af0930020342df40a1ca8d13eb185ad48067evboxsync#FILES_class = $(FILES_java:%.java=$(CLASSDESTDIR)/%.class)
346af0930020342df40a1ca8d13eb185ad48067evboxsync
346af0930020342df40a1ca8d13eb185ad48067evboxsyncinclude $(BUILDDIR)/common/Mapfile-vers.gmk
346af0930020342df40a1ca8d13eb185ad48067evboxsync
346af0930020342df40a1ca8d13eb185ad48067evboxsyncinclude $(BUILDDIR)/common/Library.gmk
346af0930020342df40a1ca8d13eb185ad48067evboxsync
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsync# Libraries to link
346af0930020342df40a1ca8d13eb185ad48067evboxsync#
346af0930020342df40a1ca8d13eb185ad48067evboxsyncifeq ($(PLATFORM), windows)
346af0930020342df40a1ca8d13eb185ad48067evboxsync OTHER_LDLIBS = $(JVMLIB) winscard.lib
346af0930020342df40a1ca8d13eb185ad48067evboxsyncelse
OTHER_LDLIBS = -ldl $(JVMLIB)
OTHER_CFLAGS = -D__sun_jdk
endif