blob: abb849512223b7b585df2c15ae6b765da8b5e781 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
#set -x
db_dist="../db/dist"
rm -f config.cache
CFALGS="-O2" $db_dist/configure \
$(echo $* | sed -e "s% --cache-file=.*$% --enable-shared --enable-static --enable-debug --enable-rpc --srcdir=$db_dist%")
mv Makefile Makefile.orig
cat Makefile.orig | sed -e 's/ -g$/ -g -O2/' -e '/^install:/c\
.PHONY: listobjs\
listobjs:\
@echo $(OBJS)\
\
distdir install:\
\
db3_install: all install_setip \\' > Makefile
# Generate manifest for rpmdb.
make -s listobjs > db3lobjs
|