Makefile revision 0
225N/A#
225N/A# Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
225N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
225N/A#
225N/A# This code is free software; you can redistribute it and/or modify it
225N/A# under the terms of the GNU General Public License version 2 only, as
225N/A# published by the Free Software Foundation. Sun designates this
225N/A# particular file as subject to the "Classpath" exception as provided
225N/A# by Sun in the LICENSE file that accompanied this code.
225N/A#
225N/A# This code is distributed in the hope that it will be useful, but WITHOUT
225N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
225N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
225N/A# version 2 for more details (a copy is included in the LICENSE file that
225N/A# accompanied this code).
225N/A#
225N/A# You should have received a copy of the GNU General Public License version
225N/A# 2 along with this work; if not, write to the Free Software Foundation,
225N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
225N/A#
225N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
225N/A# CA 95054 USA or visit www.sun.com if you need additional information or
1392N/A# have any questions.
225N/A#
225N/A
225N/ABUILDDIR = ../../..
225N/APACKAGE = sun.security.krb5
225N/APRODUCT = sun
225N/Ainclude $(BUILDDIR)/common/Defs.gmk
618N/A
225N/A#
225N/A# Java Files
844N/A#
844N/AAUTO_FILES_JAVA_DIRS = sun/security/krb5
225N/A
1258N/Aifeq ($(PLATFORM), windows)
225N/A#
225N/A# Java files that define native methods
225N/A#
225N/AFILES_export = \
225N/A sun/security/krb5/Credentials.java \
225N/A sun/security/krb5/Config.java
225N/Ainclude FILES_c_windows.gmk
225N/A# We need some extra libs for win32
225N/ALIBRARY = w2k_lsa_auth
225N/AEXTRA_LIBS += Secur32.lib netapi32.lib\
225N/A kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
225N/A advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
1392N/A odbccp32.lib wsock32.lib
225N/Aendif # PLATFORM
225N/A
225N/A#
892N/A# Find native code
892N/A#
892N/Avpath %.c \
892N/A $(PLATFORM_SRC)/native/sun/security/krb5
225N/A
225N/AJGSS_NATIVE_SRC=$(PLATFORM_SRC)/native/sun/security/krb5
225N/AJGSS_NATIVE_DIR_EXISTS := $(shell if [ -d $(JGSS_NATIVE_SRC) ] ; then echo true; else echo false; fi)
1989N/A
1989N/A#
225N/A# Rules
892N/A#
225N/Aifeq ($(PLATFORM), windows)
892N/A ifeq ($(JGSS_NATIVE_DIR_EXISTS), true)
225N/A include $(BUILDDIR)/common/Library.gmk
892N/A endif
225N/Aelse
225N/Ainclude $(BUILDDIR)/common/Classes.gmk
225N/Aendif # PLATFORM
225N/A
225N/A#
897N/A# Libraries to link
225N/A#
897N/Aifeq ($(PLATFORM), windows)
892N/A OTHER_LDLIBS = $(JVMLIB)
225N/Aelse
225N/A OTHER_LDLIBS = -ldl $(JVMLIB)
225N/Aendif