1# 2# Makefile.am 3# 4# The iODBC driver manager. 5# 6# Copyright (C) 1995 by Ke Jin <kejin@empress.com> 7# Copyright (C) 1996-2006 by OpenLink Software <iodbc@openlinksw.com> 8# All Rights Reserved. 9# 10# This software is released under the terms of either of the following 11# licenses: 12# 13# - GNU Library General Public License (see LICENSE.LGPL) 14# - The BSD License (see LICENSE.BSD). 15# 16# Note that the only valid version of the LGPL license as far as this 17# project is concerned is the original GNU Library General Public License 18# Version 2, dated June 1991. 19# 20# While not mandated by the BSD license, any patches you make to the 21# iODBC source code may be contributed back into the iODBC project 22# at your discretion. Contributions will benefit the Open Source and 23# Data Access community as a whole. Submissions may be made at: 24# 25# http://www.iodbc.org 26# 27# 28# GNU Library Generic Public License Version 2 29# ============================================ 30# This library is free software; you can redistribute it and/or 31# modify it under the terms of the GNU Library General Public 32# License as published by the Free Software Foundation; only 33# Version 2 of the License dated June 1991. 34# 35# This library is distributed in the hope that it will be useful, 36# but WITHOUT ANY WARRANTY; without even the implied warranty of 37# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 38# Library General Public License for more details. 39# 40# You should have received a copy of the GNU Library General Public 41# License along with this library; if not, write to the Free 42# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 43# 44# 45# The BSD License 46# =============== 47# Redistribution and use in source and binary forms, with or without 48# modification, are permitted provided that the following conditions 49# are met: 50# 51# 1. Redistributions of source code must retain the above copyright 52# notice, this list of conditions and the following disclaimer. 53# 2. Redistributions in binary form must reproduce the above copyright 54# notice, this list of conditions and the following disclaimer in 55# the documentation and/or other materials provided with the 56# distribution. 57# 3. Neither the name of OpenLink Software Inc. nor the names of its 58# contributors may be used to endorse or promote products derived 59# from this software without specific prior written permission. 60# 61# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 62# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 63# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 64# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL OPENLINK OR 65# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 66# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 67# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 68# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 69# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 70# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 71# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 72# 73 74AUTOMAKE_OPTIONS = gnu dist-zip 1.4-p5 75 76SUBDIRS = admin bin etc man include iodbcinst iodbc iodbcadm drvproxy samples 77 78EXTRA_DIST = \ 79 IAFA-PACKAGE \ 80 LICENSE LICENSE.LGPL LICENSE.BSD \ 81 README.CVS \ 82 README.MACOSX \ 83 bootstrap.sh \ 84 PORT.OpenLink \ 85 acinclude.m4 \ 86 mac/Makefile \ 87 mac/link-inclibs.sh \ 88 mac/iodbc-config.macosx \ 89 mac/README.MYODBC \ 90 mac/myodbc.configure.diff \ 91 mac/framework-include.sh \ 92 mac/iodbc.exp \ 93 mac/iodbcinst.exp \ 94 mac/iODBC/English.lproj/InfoPlist.strings \ 95 mac/iODBC/Info-iODBC.plist \ 96 mac/iODBC/iODBC.pbproj/project.pbxproj \ 97 mac/iODBC/iODBC.xcodeproj/project.pbxproj \ 98 mac/iODBCinst/English.lproj/InfoPlist.strings \ 99 mac/iODBCinst/Info-iODBCinst.plist \ 100 mac/iODBCinst/iODBCinst.pbproj/project.pbxproj \ 101 mac/iODBCinst/iODBCinst.xcodeproj/project.pbxproj \ 102 mac/iODBCtest/iODBCtest.pbproj/project.pbxproj \ 103 mac/iODBCtest/iODBCtest.xcodeproj/project.pbxproj \ 104 mac/iODBCtestw/iODBCtestw.pbproj/project.pbxproj \ 105 mac/iODBCtestw/iODBCtestw.xcodeproj/project.pbxproj \ 106 debian/changelog \ 107 debian/compat \ 108 debian/control \ 109 debian/copyright \ 110 debian/iodbc.files \ 111 debian/iodbc.install \ 112 debian/iodbc.lintian-overrides \ 113 debian/iodbc.undocumented \ 114 debian/libiodbc2-dev.examples \ 115 debian/libiodbc2-dev.files \ 116 debian/libiodbc2-dev.install \ 117 debian/libiodbc2.docs \ 118 debian/libiodbc2.examples \ 119 debian/libiodbc2.files \ 120 debian/libiodbc2.install \ 121 debian/libiodbc2.lintian-overrides \ 122 debian/libiodbc2.undocumented \ 123 debian/README.Debian \ 124 debian/rules \ 125 debian/watch 126 127# ---------------------------------------------------------------------- 128# 129# Maintainers only 130# 131# ---------------------------------------------------------------------- 132 133MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure 134DISTCLEANFILES = config.nice 135 136 137if MAINTAINER_MODE 138 139# 140# Create Linux RPM's 141# 142RPMFLAGS=--define="_topdir `pwd`/distrib" 143 144linux-rpm: 145 $(mkinstalldirs) distrib/SOURCES distrib/SRPMS distrib/SPECS 146 $(mkinstalldirs) distrib/BUILD distrib/RPMS/i386 147 $(MAKE) dist 148 cp $(PACKAGE)-$(VERSION).tar.gz distrib/SOURCES 149 rpmbuild $(RPMFLAGS) -ba admin/libiodbc.spec 150 rpmbuild $(RPMFLAGS) --clean --rmsource admin/libiodbc.spec 151 152# 153# Create a tar file containing the library and include files 154# 155binary-tar: 156 -mkdir @build@ 157 $(MAKE) install prefix=`pwd`/@build@ 158 tar cvf @build@.tar @build@ 159 gzip -9vf @build@.tar 160 rm -rf @build@ 161 162# 163# Create a source snapshot package 164# 165snapshot: 166 $(MAKE) dist distdir=$(PACKAGE)-`date +"%Y%m%d"` 167 168 169# 170# Create an official release package 171# 172release: 173 $(MAKE) distcheck 174 175# 176# Generate ChangeLog 177# 178changelog: 179 cvs2cl --no-wrap --utc --hide-filenames --prune --window 3600 180 181endif 182