File: Makefile.am

package info (click to toggle)
myodbc 3.51.09-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,400 kB
  • ctags: 1,596
  • sloc: ansic: 29,806; sh: 10,765; cpp: 627; makefile: 610
file content (148 lines) | stat: -rw-r--r-- 5,631 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
##########################################################################
# Copyright (C) 1995-2004 MySQL AB, www.mysql.com                        #
#                                                                        #
# This program is free software; you can redistribute it and/or modify   #
# it under the terms of the GNU General Public License as published by   #
# the Free Software Foundation; either version 2 of the License, or      #
# (at your option) any later version.                                    #
#                                                                        #
# This program is distributed in the hope that it will be useful,        #
# but WITHOUT ANY WARRANTY; without even the implied warranty of         #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          #
# GNU General Public License for more details.                           #
#                                                                        #
# You should have received a copy of the GNU General Public License      #
# along with this program; if not, write to the Free Software Foundation #
# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA          #
##########################################################################

##########################################################################
#                                                                        #
# Makefile.am                                                            #
#                                                                        #
# @description: This is the MyODBC 3.51 driver Makefile.am               #
#                                                                        #
# @author     : MySQL AB (monty@mysql.com, venu@mysql.com)               #
# @date       : 2001-Aug-15                                              #
# @product    : myodbc3                                                  #
#                                                                        #
##########################################################################

AUTOMAKE_OPTIONS=foreign
INCLUDES = @MYSQL_INCLUDES@
LDFLAGS=@EXTRA_LDFLAGS@
build="MyODBC-@VERSION@-@SYSTEM_TYPE@-@MACHINE_TYPE@"

SUBDIRS = driver \
          @myodbc_thread_dir@ \
          @myodbc_samples_dir@ \
          @myodbc_test_dir@ \
          @myodbc_docs_dir@ \
          scripts

#
# Create the binary distribution
#
bin-dist:all
	$(top_builddir)/scripts/make_binary_distribution

bin-tar:all
	mkdir $(build) 
	$(MAKE) install prefix=`pwd`/$(build) 
	cp  EXCEPTIONS COPYING INSTALL README ChangeLog INSTALL-BINARY RELEASE-NOTES odbc.ini $(build)/
	tar cvf $(build).tar $(build) 
	gzip -9vf $(build).tar 
	rm -rf $(build)

#
# Run the samples
#
test:all
	cd samples; \
	$(MAKE); \
	./run-samples
  
#
# Run the test library
#
testlib:all
	cd test; \
	$(MAKE); \
	$(MAKE) testall
  
  
#
# Create a source snapshot
#
snapshot:
	$(MAKE) dist distdir=MyODBC-@myodbc_version@-`date +"%Y%m%d"`

EXTRA_DIST = INSTALL-BINARY ChangeLog COPYING RELEASE-NOTES odbc.ini \
             acconfig.h INSTALL-WIN-SOURCE \
             win32/myodbc3.dsp win32/myodbc3.dsw \
             win32/myodbc3.rsp \
             driver_r/Makefile.am driver_r/Makefile.in \
             samples/Makefile.am samples/Makefile.in \
             test/Makefile.am test/Makefile.in \
             win32/myodbc3.def win32/myodbc3.rc \
             win32/myodbc3_d.rc win32/dialogs.h \
             win32/resource.h win32/mysql.bmp \
             win32/my3dsn.hlp win32/Makefile.ini \
             win32/Makefile_debug win32/Makefile \
             setup/ConfigDriver.c \
             setup/ConfigDSN.c \
             setup/ConfigTranslator.c \
             setup/myodbc3S.def \
             setup/MYODBCSetupConfigDSNAdd.c \
             setup/MYODBCSetupConfigDSNEdit.c \
             setup/MYODBCSetupConfigDSNRemove.c \
             setup/MYODBCSetupDataSourceConfig.cpp \
             setup/MYODBCSetupDataSourceDialog.cpp \
             setup/MYODBCSetupDataSourceDialog.h \
             setup/MYODBCSetupDSNExists.c \
             setup/MYODBCSetupFreeAttributesParsed.c \
             setup/MYODBCSetupGetAttributeIndex.c \
             setup/MYODBCSetupGetAttributesParsed.c \
             setup/MYODBCSetup.h \
             setup/MYODBCSetupHandleInstallerError.c \
             setup/MYODBCSetupWriteAttributes.c \
             setup/MySQLSide.xpm \
             setup/setup.pro \
             dltest/dltest.c \
             dltest/Makefile.osx \
             dltest/Makefile.unix \
             myodbcinst/Makefile.osx \
             myodbcinst/Makefile.unix \
             myodbcinst/Makefile.win \
             myodbcinst/myodbcinst.c \
             imyodbc/imyodbc.c \
             imyodbc/imyodbc.h \
             imyodbc/Makefile.osx \
             imyodbc/Makefile.unix \
             MYODBCConfig/main.cpp \
             MYODBCConfig/MYODBCConfig.icns \
             MYODBCConfig/MYODBCConfig.pro \
             README.OSX \
             EXCEPTIONS \
             osx/MyODBC/mac-install.pmsp \
             osx/MyODBC/resources/License.html \
             osx/MyODBC/resources/odbc.ini \
             osx/MyODBC/resources/odbcinst.ini \
             osx/MyODBC/resources/postinstall \
             osx/MyODBC/resources/ReadMe.html \
             osx/MyODBC/resources/Welcome.html \
             osx/MyODBC/resources/MyODBC.png \
             osx/MyODBC/root/usr/bin/BillOfMaterials.txt \
             osx/MyODBC/root/usr/lib/BillOfMaterials.txt \
             osx/MyODBC/root/Applications/Utilities/BillOfMaterials.txt