Makefile revision 3909
229N/A# Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved. 229N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 229N/A# This code is free software; you can redistribute it and/or modify it 229N/A# under the terms of the GNU General Public License version 2 only, as 229N/A# published by the Free Software Foundation. Oracle designates this 229N/A# particular file as subject to the "Classpath" exception as provided 229N/A# by Oracle in the LICENSE file that accompanied this code. 229N/A# This code is distributed in the hope that it will be useful, but WITHOUT 229N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 229N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 229N/A# version 2 for more details (a copy is included in the LICENSE file that 229N/A# accompanied this code). 229N/A# You should have received a copy of the GNU General Public License version 229N/A# 2 along with this work; if not, write to the Free Software Foundation, 229N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 229N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 229N/A# Makefile for JDBC-ODBC Bridge Driver 229N/A# Note - the native library for the bridge may be linked with the 229N/A# shared library for the ODBC driver manager. Or dummy libraries 229N/A# Use fake libraries on Solaris and Linux just so the library we create has 229N/A# a dependency on these two library names. (which are not part of the jdk) 229N/A # In jdk5 and jdk6, and on Solaris 32bit, we would have required that 229N/A # these two libraries exist at: $(ALT_ODBCDIR)/ISLIodbc/2.11/lib 229N/A # In jdk7, we just fake them out like we did on Linux in jdk5 and jdk6. # If you wanted to use the real odbc libraries, change the value of # ODBC_LIBRARY_LOCATION, and delete the variable assignments below. # Tell linker to ignore missing externals when building this shared library. # Define a place to create the fake libraries and their names. # Make sure they get created early. # The UNIX define specifies conditional compilation for UNIX # The native code for the bridge uses conditional compilation to # support Solaris, Win95 and Mac PPC. This is the path to the shared C files # (which unfortunately are in the same directory as shared Java files). # Rules to generate fake libraries $(ECHO) "void dummyOdbc(void){}" >> $@
# Files that need to be copied