File: Makefile.am

package info (click to toggle)
myodbc 3.51.11-6.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,056 kB
  • ctags: 1,933
  • sloc: ansic: 31,656; sh: 10,955; cpp: 2,439; makefile: 1,120
file content (111 lines) | stat: -rw-r--r-- 3,547 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
##########################################################################
# Copyright (C) 1995-2005 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 = util \
          driver \
          @myodbc_thread_dir@ \
          setup \
	  MYODBCConfig \
          myodbcinst \
          imyodbc \
          @myodbc_samples_dir@ \
          @myodbc_test_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 README ChangeLog $(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 = \
	ChangeLog \
	COPYING \
	EXCEPTIONS \
	README \
	README.win \
	README.unix \
	README.osx \
	acconfig.h \
	win32/dialogs.h \
	win32/Makefile \
	win32/Makefile_debug \
	win32/Makefile.ini \
	win32/my3dsn.hlp \
	win32/myodbc3.def \
	win32/myodbc3_d.rc \
	win32/myodbc3.dsp \
	win32/myodbc3.dsw \
	win32/myodbc3_portable_gui.def \
	win32/myodbc3_portable_gui.rc \
	win32/myodbc3.rc \
	win32/myodbc3.rsp \
	win32/mysql.bmp \
	win32/resource.h \
	dltest/dltest.c \
	dltest/Makefile.osx \
	dltest/Makefile.unix