-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.am
121 lines (105 loc) · 3.21 KB
/
Makefile.am
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
#
# Makefile.am
#
# odbc-bench - a TPC-A and TPC-C like benchmark program for databases
# Copyright (C) 2000-2020 OpenLink Software <[email protected]>
#
# 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
#
AUTOMAKE_OPTIONS = gnu 1.6
SUBDIRS = lib src scripts contrib docs
EXTRA_DIST = \
README.CVS LICENSE \
bootstrap.sh \
odbcbenchrc \
admin/gtk.m4 \
mac/Makefile \
mac/Images/VSplitterDisabled.png \
mac/Images/VSplitter.png \
mac/Images/HRidges.png \
mac/Images/HRidgesDisabled.png \
mac/Images/VRidges.png \
mac/Images/HSplitter.png \
mac/Images/VRidgesDisabled.png \
mac/Images/HSplitterDisabled.png \
mac/Resources/ReadMe-10.3.rtf \
mac/Resources/ReadMe-10.4.rtf \
mac/Resources/ReadMe-10.5.rtf \
mac/Resources/Welcome.rtf \
mac/Resources/License.rtf \
mac/Resources/odbc-bench.info \
mac/gen-installer.sh \
mac/Installer/Description.plist \
mac/Installer/Info.plist \
mac/odbc-bench.xcode/project.pbxproj \
mac/English.lproj/main.xib \
mac/English.lproj/InfoPlist.strings \
mac/Info.plist
# ----------------------------------------------------------------------
#
# Maintainers only
#
# ----------------------------------------------------------------------
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure
if MAINTAINER_MODE
#
# Create Linux RPM's
#
RPMFLAGS=--define="_topdir `pwd`/distrib"
linux-rpm:
$(mkinstalldirs) distrib/SOURCES distrib/SRPMS distrib/SPECS
$(mkinstalldirs) distrib/BUILD distrib/RPMS/i386
$(MAKE) dist-gzip
cp $(PACKAGE)-$(VERSION).tar.gz distrib/SOURCES
rpmbuild $(RPMFLAGS) -ba contrib/RedHat/odbc-bench.spec
rpmbuild $(RPMFLAGS) --clean --rmsource contrib/RedHat/odbc-bench.spec
#
# Create a tar file containing the binaries and support files
#
binary-tar:
$(mkinstalldirs) distrib @build@
$(MAKE) install-strip prefix=`pwd`/@build@
tar cvf distrib/@[email protected] @build@
gzip -9vf distrib/@[email protected]
rm -rf @build@
#
# Create a OpenLink taz file containing the binaries and support files
#
openlink-taz:
$(mkinstalldirs) distrib @build@
$(MAKE) install-strip prefix=`pwd`/@build@
(cd @build@; tar cvf ../distrib/@[email protected] .)
compress -f distrib/@[email protected]
mv distrib/@[email protected] distrib/@[email protected]
rm -rf @build@
#
# Create a source snapshot package
#
snapshot:
$(mkinstalldirs) distrib
$(MAKE) dist-gzip distdir=distrib/$(PACKAGE)-`date +"%Y%m%d"`
#
# Create an official release package
#
release:
$(mkinstalldirs) distrib
$(MAKE) distcheck
mv $(PACKAGE)-$(VERSION).tar.gz distrib
#
# Generate ChangeLog
#
changelog:
cvs2cl --branches --no-wrap --utc --hide-filenames --prune
endif